TxId to TxHash
The TX ID to TX Hash endpoint allows you to retrieve the transaction hash associated with a specific relay transaction ID. This endpoint helps you convert a relay transaction ID to its corresponding transaction hash.
Request
- txId:
string
Invocation
const txHash = await client.transaction.txIdToTxHash(txId);
query TxIdToTxHash($for: TxId!) {
result: txIdToTxHash(for: $for)
}
Response
- txHash:
string
Updated about 1 month ago