Events are created when contract-based transactions create logs. Contains enriched data from table “Contract” and “Token”using contract ABI to e.g. decode name of the contract method.
Primary Key
Description | ID |
---|---|
Datatype | text (composite) |
Example | 0x00000000cc7c3b7faeca2e5059320a584cedbafe55c82ced3e57948ae21e3609 |
Possible values: Transfer | Sync | Swapped | Burned | Birth | Approval | Cancel | Deposited | OnTokenPurchase | Swap | Mint | Deposit | OracleRequest | DividendPayed | buyLevelEvent …
Description | The event name |
---|---|
Datatype | text |
Example | Transfer |
Description | Integer of the event index position in the block |
---|---|
Datatype | numeric |
Example | 82 |
Description | Integer of the transactions index position event was created from |
---|---|
Datatype | numeric |
Example | 33 |
Description | Hash of the transactions this event was created from |
---|---|
Datatype | text |
Example | 0xeaf089acba8a7ca74feee1b35ca0ab62aa42c5ba3c746a4aed94a308d6a674fb |
Description | Hash of the block where this event was in |
---|---|
Datatype | text |
Example | 0x7eaea3baacd3b5ffb9833abf9c77a851db0feb874a93d97cfca89c9e891adaa2 |
Description | Timestamp |
---|---|
Datatype | timestamp with time zone |
Example | 2020-02-21 23:34:19+00 |
Currently, these are set to 1 for all data that we can retrieve from the blockchain or verify via Etherscan. In case we’re able to find a matching contract in our database by comparing the byte code of a contract or find a similar contract on a different blockchain, this is reflected in the probability. The probabilities are then copied into the Event and Call tables to give an indication of how sure we are this is the right translation.
Description | Anyblock custom field |
---|---|
Datatype | numeric |
Example | 0.9 |
Description | Address from which this event originated (which is the contract) |
---|---|
Datatype | text |
Example | 0x4D58b1E8007078eCc6eaf6DF7527b64E46831D23 |
Description | Block number where this event is lokated |
---|---|
Datatype | numeric |
Example | 9529604 |
Description | Array of argument objects coming from that event. Needed for executing method in contract (method parameters) |
---|---|
Datatype | jsonb |
Example | [ {""hex"": ""0x6cdFB19632E4D0805064B741d39c6Ff0A9141952"", ""pos"": 0, ""name"": ""from"", ""type"": ""address""}, {""hex"": ""0x35CdCbDB6a5Aef115B9306Ce9C79a69321300203"", ""pos"": 1, ""name"": ""to"", ""type"": ""address""}, {""hex"": ""0x11b"", ""num"": 283, ""pos"": 2, ""name"": ""value"", ""type"": ""uint256"", ""scaled"": 2.83} ] |