gettransactionheight method
Returns the transaction height with the specified transaction hash.
note
You must install the plugin RpcServer before you can invoke the method.
Parameter Description#
txid: Transaction id.
Exception#
- -103, Unknown transaction.
Example#
Request body:
{  "jsonrpc": "2.0",  "method": "gettransactionheight",  "params": ["0x57280b29c2f9051af6e28a8662b160c216d57c498ee529e0cf271833f90e1a53"],  "id": 1}Response body:
{    "jsonrpc": "2.0",    "id": 1,    "result": 14}