post https://ckb-mirana.unifra.io/v1/
Returns a Merkle proof that transactions are included in a block.
Parameters
- tx_hashes - Transaction hashes, all transactions must be in the same block.
- lock_hash - An optional parameter, if specified, looks for transactions in the block with this hash.
Returns
The proof of transaction.
Example
Request
curl --location --request POST 'https://ckb-mirana.unifra.io/v1/4fb36720a57340d39aee4cf68511064a' \
--data-raw '{
"id": 42,
"jsonrpc": "2.0",
"method": "get_transaction_proof",
"params": [
[ "0x037dafd7f9c6f742e8c9f225191b441b0b5c4e8b3c1e87c29a2f2ec2fbbf6934" ]
]
}'
Result
{
"jsonrpc": "2.0",
"result": {
"block_hash": "0xb3c5b9789dff3821e298a62e6cc4060accb19ed2558f988a8826573252b9ae20",
"proof": {
"indices": [
"0x6"
],
"lemmas": [
"0xdeffa7c8e12d1bb51a1132c90e413c28210f55b8dcdadb8f47dd4621a6a08355",
"0x6d6bf0ffd88205f62e41eefc78a95abf8353843ff7b41a85dd2ce0750fa61a51"
]
},
"witnesses_root": "0xdcfb809616396e599c598b156769b2076be639232f29dedff51c5bd81eb03626"
},
"id": 42
}
The below parameter inputs do not work, please reference the section above instead.