v1

latestOpenAPI 3.0.3Apache-2.02026-07-1348142206.6 KB
airdrops

Get pending token airdrops received by an account

Returns pending token airdrops that have been received by an account.

get/api/v1/accounts/{idOrAliasOrEvmAddress}/airdrops/pending

Path parameters

idOrAliasOrEvmAddressstring required

Account alias or account id or evm address

Query parameters

limitinteger

The maximum number of items to return

order'asc' | 'desc'

The order in which items are listed

sender.idstring

The ID of the sender to return information for

serialnumberstring

The nft serial number (64 bit type). Requires a tokenId value also be populated.

token.idstring

The ID of the token to return information for

Response

OK

Example response

{
  "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"
    }
  ]
}