Event Model

The core data model in the BlockVision API is the event, which represents a unique digital item whose ownership is managed by the blockchain.

Here is an overview of the fields contained in an Event with Activity.

Field NameObjectDescriptionExample
txhashstringString - Hash of the transaction0xe93e858f9330afa4581e26019819562
eventTypestringString - The NFT event type of the transactionmint, transfer sale, burn, listing, listingCancel, offer,collectionOffer, offerCancel
fromstringString - The sending address of the transaction0xaba7161a7fb69c88e16ed9f455ce62b791ee4d03
tostringString - The receiving address of the transaction0x46efbaedc92067e6d60e84ed6395099723252496
blockNumberstringString - The block number which contains the transaction12344148
blockHashstringString - Hash of the block0xe93e858f9330afa1581e26
eventTimeintegerInteger - The number of seconds since the Unix epoch that represents the specific moment in time. This value is typically represented as a string.1619133220
contractAddressstringString - The contract address of the transaction0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d
tokenIdstringString - The token ID of the NFT21
ercTypestringString - The ERC type of the NFT, supports ERC-721 and ERC-1155erc721
amountintegerInteger - The amount of NFT traded in the transaction1
imageUrlstringString - The image URI to displayQmPbxeGcXhYQQNgsC6a36dDyYUcH
marketplacestringString - The marketplace where the transaction was madeOpensea, LooksRare, X2y2
currentPricestringString - The price(Wei) while the transaction was made700000000
currencyContractstringString - The contract of the transaction 0x00000000000000