account

Get an Account's Balance

Method: POST

https://ada-index.nownodes.io/account/balance

Body (raw)

{
  "network_identifier": {
    "blockchain": "cardano",
    "network": "mainnet",
    "sub_network_identifier": {
      "network": "1"
    }
  },
  "account_identifier": {
    "address": "stake1u833p40y8cm07ra9wgrqgp70z6khc5pttrena97c6en6p8c7pzxda",
    "sub_account": {
      "address": "stake1u9zpztda4c732kx00nvhupp2l2ev484mgrg9hmxcjcets0sjq3tyc"
    }
  },
  "block_identifier": {
    "index": "10012481",
    "hash": "9c56b42ae4c929a3b058dfb0f6c17aec0eac8d715f29f0152262c69016c692c3"
  },
  "currencies": [
    {
      "symbol": "1",
      "decimals": "0"
    }
  ]
}

Response: 200

{
    "block_identifier": {
        "index": 10012481,
        "hash": "9c56b42ae4c929a3b058dfb0f6c17aec0eac8d715f29f0152262c69016c692c3"
    },
    "balances": [
        {
            "value": "0",
            "currency": {
                "symbol": "ADA",
                "decimals": 6
            }
        }
    ]
}

Last updated