cURL
curl --request GET \ --url https://data-api.cloud.ormi.dev/somnia/v1/block/{blockNumber}/transactions
{ "cursor": "<string>", "transactions": [ { "block_hash": "<string>", "block_number": 123, "block_timestamp": "2023-11-07T05:31:56Z", "contract_address": "<string>", "cumulative_gas_used": "<string>", "effective_gas_price": "<string>", "from_address": "<string>", "gas": "<string>", "gas_price": "<string>", "gas_used": "<string>", "input": "<string>", "l1_fee": "<string>", "l1_fee_scalar": "<string>", "l1_gas_price": "<string>", "l1_gas_used": "<string>", "max_fee_per_gas": "<string>", "max_priority_fee_per_gas": "<string>", "nonce": "<string>", "status": 123, "to_address": "<string>", "transaction_hash": "<string>", "transaction_index": 123, "transaction_type": 123, "value": "<string>" } ] }
Get transactions that occurred in a given block.
Block number.
The cursor returned in previous response (for getting the next page).
Number of records to fetch
1 <= x <= 100
OK
The response is of type object.
object