On this page

latest contributor to this doc

Last Edit:

@smk762

Komodo DeFi Framework Method: task::account_balance::init

API-v2task::account_balance::init

Use the task::account_balance::init method to initialise an account balance request.

ParameterTypeRequiredDefaultDescription
account_indexinteger-For GUIs, this will be zero. In CLI you can use other values if you know what you are doing
coinstring-Ticker of activated coin you want to see addresses and balance for

ParameterTypeDescription
task_idintegerAn identifying number which is used to query task status.

Account Balance Init

POST
task::account_balance::init
{
  "userpass": "RPC_UserP@SSW0RD",
  "mmrpc": "2.0",
  "method": "task::account_balance::init",
  "params": {
    "coin": "COIN_NAME",
    "account_index": 0
  }
}