get https://api.amberdata.com/blockchains/blocks//transactions
Retrieves all the transactions included in a specified block id.
Blockchains Supported
This endpoint supports Bitcoin, Bitcoin Cash, Ethereum, Litecoin and Polygon.
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. |
decodedTransactionInput | string | The 'input' field of transactions decoded, using the ABI of the involved contract . |
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. |
size | number | (ONLY FOR UTXO CHAINS) Size of the transaction. |
virtualSize | number | (ONLY FOR UTXO CHAINS) Virtual size of the transaction. |
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 | Fees which go to the miner, also known as tips or inclusion fees. |
nonce | string | The value equal to the number of transactions sent by the address. |
publicKey | string | The public key hash. |
r | string | ECDSA digital signature r (32 bytes) generated by private key and used to validate the sender of the transaction. |
raw | string | The signed transaction in Recursive Length Prefix (RLP) encoded form. |
root | string | The transaction root hash. |
s | string | ECDSA digital signature s (32 bytes) generated by private key and used to validate 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 | Used by ECDSA to recover correct public key when validating signature of transactions. Combination of recovery id and chain id. | |
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' - 'successful' |