HUME

The native token on Agence is HUME(HME). Accounts can request HME on the Testnet Faucet.

Account Balance

To check the HME balance of specific agence account, you can execute following command in acmd:

(await api.query.system.account(${ADDRESS})).toHuman()

It will return following results that contains your account details:

{
  nonce: '3',
  consumers: '2',
  providers: '1',
  sufficients: '0',
  data: {
    free: '789,961,019,998,007,013,458',
    reserved: '0',
    miscFrozen: '500,000,000,000,000,000,000',
    feeFrozen: '500,000,000,000,000,000,000'
  }
}

Transfer HME

If you want to transfer your HME to another account, try the command below:

await api.tx.balances.transfer(${DESTINATION_ADDRESS}, ${AMOUNT}).signAndSend((keypair, result) => {console.log(JSON.stringify(result))})