Skip To Content

Blockdaemon Documentation

GET NFT Event by ID

GET NFT Event
Ubiquity NFT URL
Path Parameters
Example Queries
Example Response


GET NFT Event by ID

https://{ubiquity_nft_url}/{protocol}/{network}/event/{id}

Returns detailed information about an NFT event by a given event ID.

For sale events information on payments is returned. See the event_type and payments fields of the response.

Developer documentation: GET NFT Event by ID
Learn how to authorize your request: Authentication Guide


Ubiquity URL

To run a query, add your Ubiquity NFT URL. For most users this will be:

  • svc.blockdaemon.com/nft/v1

An example of this is shown below:

https://svc.blockdaemon.com/nft/v1/{protocol}/{network}/event/{id}

Note: If you created your Ubiquity API Key before September 2022, add the legacy Ubiquity NFT URL:

  • ubiquity.api.blockdaemon.com/nft/v1

An example of this is shown below:

https://ubiquity.api.blockdaemon.com/nft/v1/{protocol}/{network}/event/{id}

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 in the id field.


Example Queries

The query in this section provides a useful example for GET NFT Event by ID.

To get an event in the Ethereum Mainnet network, use the following query:

https://svc.blockdaemon.com/nft/v1/ethereum/mainnet/event/35485a1c-2617-56e4-b20a-3e6132cbd123

For more details, visit: How to Get Transaction Details and Payments


Example Response

The following is a typical response from GET NFT Event by ID:

{
    "data": {
        "id": "35485a1c-2617-56e4-b20a-3e6132cbd123",
        "contract_address": "0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D",
        "token_id": "88",
        "event_type": "sale",
        "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"
            }
        ]
    }
}

We don't support Internet Explorer

Please use Chrome, Safari, Firefox, or Edge to view this site.