get https://api.amberdata.com/blockchains/transactions/
Retrieves the mempool for a specific blockchain matching the specified filters. Default results are for Ethereum, however, please make sure your "x-amberdata-blockchain-id" header matches the blockchain you want to retrieve data for.
*Note: Mempool data is available for Ethereum, Bitcoin or Litecoin.
Blockchains Supported
This endpoint supports Bitcoin, Ethereum and Litecoin
Response Data
Field | Type | Description |
---|---|---|
blockNumber | string | The blocknumber of the block in which the specified transaction is contained. |
confirmations | string | The total number of confirmations. |
contractAddress | string | The address of the contract if this transaction created a contract and null otherwise. |
cumulativeGasUsed | string | The total gas used up to and including the transaction. |
fee | string | The transaction fee. |
from | object | Contains data about the transaction sender. |
from.address | string | The address hash of the sender. |
to | array | Contains object s that hold data about the recipient address(es). |
icon | string | The image icon of the asset (where applicable). |
address | string | The address hash of the recipient. |
gasLimit | string | The value equal to the maximum amount of gas that should be used in executing this transaction. |
gasPrice | string | The value equal to the number of computation units (in Ethereum Wei) to be paid per unit of gas for all computation costs incurred as a result of the execution of this transaction. |
gasUsed | string | The value equal to the total amount of gas used by the transaction. |
index | string | The index of the transaction in the order that it appears within the block. |
hash | string | The transaction hash. |
input | string | The input data to the function. |
logsBloom | The Bloom filter composed from indexable information (logger address and log topics) contained in each log entry from the receipt of each transaction in the transactions list. | |
maxFeePerGas | number | Maximum amount that can be paid to validate and include this transaction in the blockchain. |
maxPriorityFeePerGas | number | The value equal to the number of transactions sent by the address. |
nonce | string | The value equal to the number of transactions sent by the address. |
publicKey | string | |
r | string | Value corresponding to the signature of the transaction and used to determine the sender of the transaction. |
raw | string | |
root | string | The transaction root hash. |
s | string | Value corresponding to the signature of the transaction and used to determine the sender of the transaction. |
status | string | The status of the transaction:null - pending0x1 - success0x0 - failed |
type | number | The transaction type:0 - legacy2 - EIP 1559 |
v | Value corresponding to the signature of the transaction and used to determine the sender of the transaction. | |
value | string | The scalar value equal to the number of units (in Ethereum Wei) to be transferred to the message call’s recipient or, in the case of contract creation, as an endowment to the newly created contract. See full value conversion reference here. |
timestamp | number | The value equal to the reasonable output of Unix’s time() at this transactions confirmation. |
statusResult | object | Contains details about the transaction status. |
code | string | The status of the transaction:null - pending0x1 - success0x0 - failed |
confirmed | bool | true if the transactions has been confirmed false otherwise. |
success | bool | Indicates the success or failure of a transaction:null - pendingtrue - successfalse - failed |
name | string | The string representation of the transaction status: - 'pending' - 'failed' - 'success' |