starknet_getTransactionByBlockIdAndIndex - ...
Get the details of a transaction by a given block id and index
Get the details of a transaction by a given block id and index
Get the details of the transaction given by the identified block and index in that block. If no transaction is found, null is returned.
Request Parameters
Block reference ("latest", "l1_accepted", block hash, or block number)
Transaction index in the block
Response Body
Transaction details at the specified index
Errors
| Code | Message |
|---|---|
| 24 | Block not found |
| 27 | Invalid transaction index in a block |
Examples
curl -X POST https://api-starknet-mainnet.n.dwellir.com/YOUR_API_KEY \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "starknet_getTransactionByBlockIdAndIndex",
"params": [
{
"block_hash": "0x15d2401c3a65e0a2b74b20402b01bbea28b118291b07cdca4a94fe4e964270a"
},
0
],
"id": 1
}'starknet_getStorageProof - Get merkle paths...
Get merkle paths in one of the state tries: global state, classes, individual contract. A single request can query for any mix of the three types of storage proofs (classes, contracts, and storage).
starknet_getTransactionByHash - Get the det...
Get the details and status of a submitted transaction