Search token balances
POST/ronin/tokens/balances/search
Search token balances.
Request
- application/json
Body
required
Request body
contractAddresses string[]required
Possible values: <= 20
Optional
includes string[]
Optional, the only accepted value is RON
. Otherwise, treat like an empty array.
ownerAddress string
Optional
paging
object
Only offset
or cursor
need to be present.
cursor string
limit integer
Possible values: <= 200
offset integer
Possible values: <= 10000
pagingStyle string
Possible values: [cursor
, offset
]
If pagingStyle
is not cursor
, then it's offset
.
tokenIds string[]
Possible values: <= 10
Optional
tokenStandards string[]required
Possible values: [ERC20
, ERC721
, ERC1155
], <= 3
Optional
Responses
- 200
- 400
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
items
object[]
balance string
contractAddress string
decimals integer
ownerAddress string
tokenId string
tokenName string
tokenStandard string
tokenSymbol string
paging
object
nextCursor string
total integer
{
"items": [
{
"balance": "string",
"contractAddress": "string",
"decimals": 0,
"ownerAddress": "string",
"tokenId": "string",
"tokenName": "string",
"tokenStandard": "string",
"tokenSymbol": "string"
}
],
"paging": {
"nextCursor": "string",
"total": 0
}
}
Invalid parameter
- application/json
- Schema
- Example (from schema)
Schema
errorCode integer
message string
{
"errorCode": 0,
"message": "string"
}
Internal server error
- application/json
- Schema
- Example (from schema)
Schema
errorCode integer
message string
{
"errorCode": 0,
"message": "string"
}
Loading...
Was this helpful?
Happy React is loading...