starknet_getTransactionByBlockIdAndIndex
Starknet node API
starknet_getTransactionByBlockIdAndIndex | Starknet
Starknet API method that returns a transaction by its block ID and index within the block. Available on Starknet via Chainstack JSON-RPC nodes.
POST
starknet_getTransactionByBlockIdAndIndex
Documentation Index
Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
Use this file to discover all available pages before exploring further.
Starknet OpenRPC specFor the latest version of the publicly maintained OpenRPC spec, see the Starknet specs GitHub repo.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
block_id— the string of the block ID in which the transaction is included.index— the integer of the index of the transaction within the block.
Response
transaction— the details of the transaction, including its sender, receiver, amount, and status.
Use case
A practical use case forstarknet_getTransactionByBlockIdAndIndex is to retrieve the details of a specific transaction. For example, a wallet may use this method to display the details of a user’s past transactions, or a client may use it to verify the status of a transaction.
Deprecated feeder gateway method
The feeder gateway was deprecated on December 11, 2023. Example of the call you had to make to the feeder gateway before the deprecation:Shell
Last modified on May 18, 2026