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

limit
string
blockchain
string
order
enum<string>
default:DESC
Available options:
ASC,
DESC
page
string
pagination
string
blockId
string

Response

200 - application/json
Raw Events response
raw
object[]
required
unified
object[]
required
pagination
object | null
required