Blockdaemon Documentation
GET NFT Event by ID
GET NFT Event (V1)
Path Parameters
Example Queries
Example Response
GET NFT Event by ID (V1)
https://ubiquity.api.blockdaemon.com/v1/nft/{protocol}/{network}/asset/{id}
Returns detailed information about an NFT event by a given event ID.
For transfer
events information on payments is returned. See the event_type
and payments
fields of the response.
Developer documentation: GET NFT Event by ID (V1)
Learn how to authorize your request: Authentication Guide
Path Parameters
You should specify a protocol and a network as path parameters, e.g.:
ethereum/mainnet
It is also required to specify an event ID as the last path parameter, e.g.:
35485a1c-2617-56e4-b20a-3e6132cbd123
Note: Event IDs are returned by GET NFT Events (V1) in the id
field.
Example Queries
The query in this section provides a useful example for GET NFT Event by ID (V1).
To get an asset in the Ethereum Mainnet network, use the following query:
https://ubiquity.api.blockdaemon.com/v1/nft/ethereum/mainnet/event/35485a1c-2617-56e4-b20a-3e6132cbd123
For more details, visit: How to Get the Details of an NFT Transaction
Example Response
The following is a typical response from GET NFT Event by ID (V1):
{
"data": {
"id": "35485a1c-2617-56e4-b20a-3e6132cbd123",
"contract_address": "0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D",
"token_id": "88",
"event_type": "transfer",
"timestamp": "1619933216",
"from": "0x1212503603AaA0fC26a90f77515d2a51C998866c",
"to": "0x1f08CbFCa1f63a23bB6255a76e1DDeEb8D24d0Fa",
"quantity": "1",
"transaction": {
"block_hash": "0x83e37063e4493bc5cb16f7fb1db3d2436f76615d3ae65c37d7cce08eb2eb3e2e",
"block_number": 12352896,
"transaction_hash": "0xca962bf6e71c2e15f2e2d55ae4b8f7481bf54f0f7c75b6e2dd79b3203e2eda9f"
},
"payments": [
{
"from": "0x1f08cbfca1f63a23bb6255a76e1ddeeb8d24d0fa",
"to": "0x7be8076f4ea4a4ad08075c2508e481d6c946d12b",
"price": 0.5,
"currency": "ETH"
},
{
"from": "0x7be8076f4ea4a4ad08075c2508e481d6c946d12b",
"to": "0x5b3256965e7c3cf26e11fcaf296dfc8807c01073",
"price": 0.025,
"currency": "ETH"
},
{
"from": "0x7be8076f4ea4a4ad08075c2508e481d6c946d12b",
"to": "0x1212503603aaa0fc26a90f77515d2a51c998866c",
"price": 0.475,
"currency": "ETH"
}
]
}
}
Note: The payments
field currently returns an empty array for some events. Payments data is being indexed in the background and will eventually return data if event_type
is transfer
.