get https://api.amberdata.com/blockchains/blocks//functions
Retrieves all the functions which were called at the specified block number or hash.
Blockchains Supported
This endpoint supports Ethereum.
Response Data
Field | Type | Description |
---|---|---|
blockNumber | string | The block number of the block containing this functions. |
code | ||
contractCodeAddress | string | The address of the contract. |
depth | number | The call stack depth of the function call. |
error | string | The error message if applicable—empty if there is no error. |
from | string | Address from which the function originated. |
initialGas | string | The gas amount before executing the function code. |
input | string | The input data to the function. |
leftOverGas | string | The gas amount remaining after executing the function code. |
messageIndex | number | Internal identification for the function calls of a transaction. |
opcode | string | The name of opcode. |
returnValue | string | The return value of the function. |
timestamp | number | Time when the function call was executed. |
to | string | The address of the contract executing the code. |
transactionHash | string | The hash of the transaction that contains this function. |
transactionTypeId | number | The type of transaction. See (transaction-types) |
value | string | The value of the transaction in the smallest unit of the blockchain. For instance, wei with Ethereum. See full value conversion reference here. |