get https://api.amberdata.com/blockchains/addresses//functions
Retrieves internal messages where this address is either the originator or a recipient.
If you intend to traverse all the internal-messages, it is recommended to specify the flag direction=ascending
, which will guarantee that the pagination is stable and will not change with the arrival of new internal messages.
Please note that the returned payload can sometimes contain less records than the requested size - this is due to duplicates that can occur when the from and the to of a transaction are identical.
In order to terminate the pagination effectively, please paginate until the returned payload is empty, do no rely on the size of the payload itself.
Blockchains Supported
This endpoint supports Ethereum.
Response Data
Field | Type | Description |
---|---|---|
records | array | Array of transaction objects. |
totalRecords | number | Total number of transactions returned in the response. |
blockNumber | string | The block number of the block containing this internal message. |
blockchainId | string | The id of the blockchain on which this internal message resides. |
contractCodeAddress | string | |
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 internal message originated. |
initialGas | string | The gas amount before executing the function code. |
input | string | The input data to the function. |
messageIndex | number | Internal identification for the function calls of a transaction. |
opcode | string | The name of opcode. |
optionalProperties | string | Additional properties specified during ingestion. |
returnValue | string | The return value of the function. |
timestamp | number | Time when the function call was executed. |
timestampNanoseconds | number | The nano second part of the timestamp, where applicable. |
to | string | The address of the contract executing the code. |
transactionHash | string | The hash of the transaction that contains this internal message. |
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. |