← Starknet overview

Starknet · starknet

starknet_getBlockWithTxHashes

Starknet JSON-RPC: starknet_getBlockWithTxHashes

Starknet node JSON-RPC. Reference: docs.starknet.io API

cURL

Endpoint: https://starknet-mainnet.eu1.azxa.io/<api-key> — replace <api-key> with your API key from the Azxa app .

Terminal
curl -X POST https://starknet-mainnet.eu1.azxa.io/<api-key> \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"starknet_getBlockWithTxHashes","params":[]}'

Example request

JSON-RPC
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "starknet_getBlockWithTxHashes",
  "params": []
}

Result

See node response

Example response
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": null
}
Schema
{
  "type": "unknown"
}