get-block-txid-by-index
Retrieve the transaction ID (txid) from a specific block by providing the block hash and the transaction index within the block. Ideal for accessing precise Bitcoin blockchain data.
Instructions
Returns txid for a block at a specific index
Input Schema
Name | Required | Description | Default |
---|---|---|---|
hash | Yes | The block hash to get txid for | |
index | Yes | The index of the txid in the block |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"hash": {
"description": "The block hash to get txid for",
"maxLength": 64,
"minLength": 64,
"type": "string"
},
"index": {
"description": "The index of the txid in the block",
"type": "integer"
}
},
"required": [
"hash",
"index"
],
"type": "object"
}