gettransactionheight

Returns the transaction height with the specified transaction hash.

Parameters

Object NameRequiredTypeDetail
TXIDStringThe transaction ID.
"params":[
    "0x2e21b4a800646e48b03789dcdc9fa943aea7feaa4f06c0d4578f01826b7fbe73"
]

Result

The transaction height with the specified transaction hash.

Example

Request

curl <your-endpoint>\
   -X POST \
   -H "Content-Type: application/json" \
   -d '{"jsonrpc": "2.0", "method": "gettransactionheight", "params":["0x2e21b4a800646e48b03789dcdc9fa943aea7feaa4f06c0d4578f01826b7fbe73"],"id": 1}'

Return

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": 1315140
}
Language
Click Try It! to start a request and see the response here!