Parameters
string
default:"43113"
required
Unique identifier for a blockchain network.
number
default:1
required
Request identifier used to match responses.
string
default:"2.0"
required
JSON-RPC version.
string
default:"platform.getTx"
required
JSON-RPC method name.
object
required
Parameters for
platform.getTx:params.txID: The ID of the transaction to retrieve.params.encoding: The encoding format for the returned transaction. Defaults to hex.
Returns
object
The JSON-RPC result.