Platform
platform.getTx
Gets a transaction by its ID. Optional encoding parameter to specify the format for the returned transaction. Can be either hex or json. Defaults to hex.
POST
Parameters
string
default:"43114"
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.