encoding parameter to specify the format for the returned transaction. Can be either hex or json. Defaults to hex.
This method will use 20 Compute Units.
Reference: Here
Parameters
encoding- string - Optional encoding parameter to specify the format for the returned transaction. Can be either “hex” or “json”. Defaults to “hex”.txID- string - The transaction id.
Returns
txID- string - The id of the subnet.encoding- string - Specifies the encoding format used in the request.