iridium_walletd getBalance method

The getBalance method returns the balance for a specified address.

back to methods summary

note : If address is not specified, returns a cumulative balance of all RPC Wallet's addresses.

Input:

ArgumentMandatoryDescriptionFormatExample
address No Valid and existing address in this particular walletstring ir2qzAzr1KfCk2sTsLdEq8BRSRyHnahcKJrPRZg8rHtkRCNBHJiiyNz8vWjwoM6F4PSbPQuNusEgGXc2A4NoDrQr2dH4rbmGs

Output:

ArgumentDescriptionFormatExample
availableBalanceAvailable balance of the specified addressuint64123123
lockedAmountLocked amount of the specified addressuint64123123

Input example:

{  
  'params':{  
     'address':'ir2qzAzr1KfCk2sTsLdEq8BRSRyHnahcKJrPRZg8rHtkRCNBHJiiyNz8vWjwoM6F4PSbPQuNusEgGXc2A4NoDrQr2dH4rbmGs'
  },
  'jsonrpc':'2.0',
  'id':'test',
  'method':'getBalance'
}

OUtput example:

{  
  'jsonrpc':'2.0',
  'id':'test',
  'result':{  
     'lockedAmount':200030004,
     'availableBalance':1000200030004
  }
}

back to methods summary