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.
platform.getTx:params.txID: The ID of the transaction to retrieve.params.encoding: The encoding format for the returned transaction. Defaults to hex.