Raw Data
Get Raw Block Transactions
Introduction
Octopus - Market API
[BETA] Wallet Explorer API
Metacore
Raw Data
Get Raw Block Transactions
GET
/
2
/
blocks
/
transactions
curl --request GET \
--url https://api.mobula.io/api/2/blocks/transactions
{
"raw": [
{
"chain_id": "<string>",
"hash": "<string>",
"block_number": "<string>",
"transaction_index": "<string>",
"blob_gas_price": "<string>",
"blob_gas_used": "<string>",
"block_hash": "<string>",
"contract_address": "<string>",
"cumulative_gas_used": "<string>",
"effective_gas_price": "<string>",
"fee": "<string>",
"from": "<string>",
"gas": "<string>",
"gas_price": "<string>",
"gas_used": "<string>",
"l1_fee": 0,
"max_fee_per_blob_gas": "<string>",
"max_fee_per_gas": "<string>",
"max_priority_fee_per_gas": "<string>",
"nonce": "<string>",
"status": "<string>",
"timestamp": "<string>",
"to": "<string>",
"type": "<string>",
"value": "<string>"
}
],
"unified": [
{
"chain_id": "<string>",
"hash": "<string>",
"method": "<string>",
"from": "<string>",
"to": "<string>",
"amount": "<string>",
"token": "<string>",
"symbol": "<string>",
"tokenId": 123,
"timestamp": "<string>",
"block_number": 123,
"txn_fees": "<string>",
"status": "<string>"
}
],
"pagination": {
"page": 123,
"totalPages": 123,
"pageItems": 123,
"totalItems": 123,
"limit": 123
}
}
Retrieves transaction data for a specific block on a given blockchain. The block can be identified using either a block number or a block hash. This endpoint supports paginated responses and formatted transaction data.
Query Parameters
Available options:
ASC
, DESC
Response
200 - application/json
Raw Events response
curl --request GET \
--url https://api.mobula.io/api/2/blocks/transactions
{
"raw": [
{
"chain_id": "<string>",
"hash": "<string>",
"block_number": "<string>",
"transaction_index": "<string>",
"blob_gas_price": "<string>",
"blob_gas_used": "<string>",
"block_hash": "<string>",
"contract_address": "<string>",
"cumulative_gas_used": "<string>",
"effective_gas_price": "<string>",
"fee": "<string>",
"from": "<string>",
"gas": "<string>",
"gas_price": "<string>",
"gas_used": "<string>",
"l1_fee": 0,
"max_fee_per_blob_gas": "<string>",
"max_fee_per_gas": "<string>",
"max_priority_fee_per_gas": "<string>",
"nonce": "<string>",
"status": "<string>",
"timestamp": "<string>",
"to": "<string>",
"type": "<string>",
"value": "<string>"
}
],
"unified": [
{
"chain_id": "<string>",
"hash": "<string>",
"method": "<string>",
"from": "<string>",
"to": "<string>",
"amount": "<string>",
"token": "<string>",
"symbol": "<string>",
"tokenId": 123,
"timestamp": "<string>",
"block_number": 123,
"txn_fees": "<string>",
"status": "<string>"
}
],
"pagination": {
"page": 123,
"totalPages": 123,
"pageItems": 123,
"totalItems": 123,
"limit": 123
}
}