Skip to main content

Wallet

Wallet balance queries

Get AMA balance

Retrieve AMA token balance for an account

{"openapi":"3.0.3","info":{"title":"Amadeus Blockchain API","version":"1.5.0"},"tags":[{"name":"Wallet","description":"Wallet balance queries"}],"servers":[{"url":"https://nodes.amadeus.bot","description":"Mainnet"},{"url":"https://testnet-rpc.ama.one","description":"Testnet"}],"paths":{"/api/wallet/balance/{pk}":{"get":{"tags":["Wallet"],"summary":"Get AMA balance","description":"Retrieve AMA token balance for an account","parameters":[{"name":"pk","in":"path","required":true,"description":"Public key (Base58 encoded)","schema":{"type":"string"}}],"responses":{"200":{"description":"Balance","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"balance":{"type":"string"}}}}}}}}}}}

Get token balance

Retrieve token balance for a specific asset

{"openapi":"3.0.3","info":{"title":"Amadeus Blockchain API","version":"1.5.0"},"tags":[{"name":"Wallet","description":"Wallet balance queries"}],"servers":[{"url":"https://nodes.amadeus.bot","description":"Mainnet"},{"url":"https://testnet-rpc.ama.one","description":"Testnet"}],"paths":{"/api/wallet/balance/{pk}/{symbol}":{"get":{"tags":["Wallet"],"summary":"Get token balance","description":"Retrieve token balance for a specific asset","parameters":[{"name":"pk","in":"path","required":true,"description":"Public key (Base58 encoded)","schema":{"type":"string"}},{"name":"symbol","in":"path","required":true,"description":"Token symbol (e.g., AMA)","schema":{"type":"string"}}],"responses":{"200":{"description":"Balance","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"balance":{"type":"string"}}}}}}}}}}}

Get all balances

Retrieve all token balances for an account

{"openapi":"3.0.3","info":{"title":"Amadeus Blockchain API","version":"1.5.0"},"tags":[{"name":"Wallet","description":"Wallet balance queries"}],"servers":[{"url":"https://nodes.amadeus.bot","description":"Mainnet"},{"url":"https://testnet-rpc.ama.one","description":"Testnet"}],"paths":{"/api/wallet/balance_all/{pk}":{"get":{"tags":["Wallet"],"summary":"Get all balances","description":"Retrieve all token balances for an account","parameters":[{"name":"pk","in":"path","required":true,"description":"Public key (Base58 encoded)","schema":{"type":"string"}}],"responses":{"200":{"description":"All balances","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"balances":{"type":"object","additionalProperties":{"type":"string"}}}}}}}}}}}}