Get Pending Token Airdrops
Returns pending token airdrops that have been received by an account.
This method will use 20
Compute Units.
Returns pending token airdrops that have been received by an account.
Path parameters
idOrAliasOrEvmAddressstringRequiredExample:
Account alias or account id or evm address
{"value":"HIQQEXWKW53RKN4W6XXC4Q232SYNZ3SZANVZZSUME5B5PRGXL663UAQA"}
Pattern: ^(\d{1,10}\.){0,2}(\d{1,10}|(0x)?[A-Fa-f0-9]{40}|(?:[A-Z2-7]{8})*(?:[A-Z2-7]{2}|[A-Z2-7]{4,5}|[A-Z2-7]{7,8}))$
Query parameters
limitinteger · int32 · min: 1 · max: 100OptionalDefault:
The maximum number of items to return
25
Example: 2
orderundefined · enumOptionalDefault:
The order in which items are listed
asc
Example: desc
Possible values: sender.idstringOptionalExample:
The ID of the sender to return information for
{"summary":"--","value":""}
Pattern: ^((gte?|lte?|eq|ne)\:)?(\d{1,10}\.\d{1,10}\.)?\d{1,10}$
serialnumberstringOptionalExample:
The nft serial number (64 bit type). Requires a tokenId value also be populated.
{"summary":"--","value":""}
Pattern: ^((eq|gt|gte|lt|lte):)?\d{1,19}?$
token.idstringOptionalExample:
The ID of the token to return information for
{"summary":"--","value":""}
Pattern: ^((gte?|lte?|eq|ne)\:)?(\d{1,10}\.\d{1,10}\.)?\d{1,10}$
Responses
200
OK
application/json
400
Invalid parameter
application/json
404
Not Found
application/json
get
GET /v1/<YOUR_API_KEY>/api/v1/accounts/{idOrAliasOrEvmAddress}/airdrops/pending HTTP/1.1
Host: mainnet.hedera.validationcloud.io
Accept: */*
{
"airdrops": [
{
"amount": 10,
"receiver_id": "0.0.15",
"sender_id": "0.0.10",
"serial_number": null,
"timestamp": {
"from": "1651560386.060890949",
"to": "1651560386.661997287"
},
"token_id": "0.0.99"
}
],
"links": {
"next": null
}
}
Last updated
Was this helpful?