Eth Schemas
Block
Name | Type | Description |
---|---|---|
hash | string | The hash of the block header of the current block. |
parentHash | string | The hash of the block from which the block was generated, also known as its parent block. |
number | number | The number of the block in which the transaction was recorded. |
timestamp | number | The timestamp at which a block is validated. |
nonce | string | Block nonce is a value used during mining to demonstrate proof of work for a block. |
difficulty | number | The amount of effort required to mine a new block. The difficulty algorithm may adjust according to time. |
gasLimit | string | Maximum amount of gas provided for the transaction. The value is 21,000. For contract this value is higher and bound by block gas limit. |
getUsed | string | The total gas used in the block and its percentage of gas filled in the block. |
miner | string | The address of the miner who obtained the accounting right of the block. |
extraData | string | Any data that can be included by the miner in the block. |
transactionCount | number | The transaction count in the block. |
Transaction
Name | Type | Description |
---|---|---|
blockNumber | number | The block number in which the transaction was recorded. |
blockHash | string | The block header hash of the current transaction. |
transactionIndex | number | The transaction's index. |
hash | string | The transaction hash generated after the transaction is initiated. |
from | string | The sending party of the transaction (must be from an EoA address). |
to | string | The receiving address (if an externally-owned account, the transaction will transfer value. If a contract account, the transaction will execute the contract code). |
value | string | The amount of ETH to transfer from sender to recipient (in WEI, a denomination of ETH). |
data | string | The function and arguments passed to the field 'to'. |
status | number | The status of the transaction (1 means the transaction is successful). |
signature | string | The function signature in the field 'to'. |
sighash | string | The signature hash. |
args | Array<string | string[]> | The decoded arguments passed to the function. |
logs | Array | The decoded logs emitted by this transaction. |
Log
Name | Type | Description |
---|---|---|
timestamp | number | The timestamp at which the event is emitted. |
blockNumber | number | The block number in which the transaction was recorded. |
transactionHash | string | The hash of the transaction which generates the current log. |
logIndex | number | The log index in the transaction. |
from | string | The sending party of the transaction (must be from an EoA address). |
to | string | The contract address which emits the current log. |
name | string | The event name. |
signature | string | The event signature. |
topic | string | Indexable arguments passed to the event. |
args | Array<string | string[]> | Additional arguments passed to the event. |
Contract
Name | Type | Description |
---|---|---|
address | string | The contract address. |
name | string | The contract name. |
blockNumber | number | The block number which the contract is deployed at. |
transactionHash | string | The hash of transaction by the contract is deployed at. |
owner | string | The contract deployer. |
log | string | The logo url of contract which can be only modified by 'owner'. |
ERC20
Name | Type | Description |
---|---|---|
address | string | The ERC20 address. |
name | string | The token's name. |
symbol | string | The token's symbol. |
logo | string | The token's logo. |
decimals | number | The token's decimals. |
totalSupply | string | The token's totalSupply at the deployment. |
ERC721
Name | Type | Description |
---|---|---|
address | string | The ERC721 address. |
name | string | The token's name. |
symbol | string | The token's symbol. |
Last updated