Get balances of an address by multiple contracts
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
POST/accounts/:address/contracts
Get balances of an address by multiple contracts
Request
Path Parameters
address stringrequired
Account address. Example: 0xf6fd5fca4bd769ba495b29b98dba5f2ecf4ceed3
- application/json
Body
required
Request body
contractAddresses string[]
Responses
- 200
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
result
object
items
object[]
contractAddress string
name string
symbol string
standard string
balance string
decimals integer
tokenCount integer
metadata object
{
"result": {
"items": [
{
"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...