Returns the corresponding transaction information based on the specified hash value.
You must install the plugin RpcServer before you can invoke the method.
Parameter Description
txid: Transaction ID
verbose: Optional. The default value is false.
When verbose is false, serialized information of the block is returned in a Base64-encoded string. If you need the detailed information, use the SDK for deserialization.
When verbose is true or 1, detailed information of the block is returned in Json format string.
Example
Request body:
Response body:
Request body:
When verbose = true, the result in Json format is returned: