Get balance of an address and contract
API Deprecation Notice
This API endpoint will be deprecated by the end of Q1 2025 as part of Skynet sunsetting. Please migrate to the Moralis alternative: Get NFT collections by Wallet
GET/accounts/:address/contracts/:contractAddress
Get balance of an address and contract
Request
Path Parameters
address stringrequired
Account address. Example: 0xf6fd5fca4bd769ba495b29b98dba5f2ecf4ceed3
contractAddress stringrequired
ContractAddress address. Example: 0x32950db2a7164ae833121501c797d79e7b79d74c
Responses
- 200
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
result
object
contractAddress string
name string
symbol string
standard string
balance string
decimals integer
tokenCount integer
metadata object
{
"result": {
"contractAddress": "string",
"name": "string",
"symbol": "string",
"standard": "string",
"balance": "string",
"decimals": 0,
"tokenCount": 0,
"metadata": {}
}
}
internal error
- application/json
- Schema
- Example (from schema)
Schema
errorCode integer
message string
{
"errorCode": 0,
"message": "string"
}
Loading...