Skip to main content

Parameters

chainId
string
default:"starknet-sepolia"
required
Unique identifier for a blockchain network.
id
number
default:1
required
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"starknet_getBlockWithReceipts"
required
JSON-RPC method name.
params
object
Parameters for starknet_getBlockWithReceipts: [block_id]Positional parameters for starknet_getBlockWithReceipts:
  • params[0]: Block identifier, block hash or block number of block tag.

Returns

result
object
Detailed block information with full transactions and receipts
curl --request POST \
  --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=starknet-sepolia \
  --header 'content-type: application/json' \
  --data '{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "starknet_getBlockWithReceipts",
    "params": [
      ""
    ]
  }'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {}
}