mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-11 09:18:08 +00:00
commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
- [Idex Fetch Balance](./examples/js/)
|
||||
|
||||
|
||||
```javascript
|
||||
import ccxt from '../../js/ccxt.js';
|
||||
|
||||
const idex = ccxt.idex ({
|
||||
'apiKey': 'YOUR_IDEX_API_KEY',
|
||||
'secret': 'YOUR_IDEX_SECRET',
|
||||
'walletAddress': '0xYOUR_ETHEREUM_WALLET_ADDRESS',
|
||||
'privateKey': '0xYOUR_ETHEREUM_PRIVATE_KEY',
|
||||
'verbose': 0,
|
||||
})
|
||||
|
||||
;(async () => {
|
||||
console.log (await idex.fetchBalance ())
|
||||
}) ()
|
||||
|
||||
```
|
||||
Reference in New Issue
Block a user