Returns the specified transaction. The encoding parameter sets the format of the returned transaction. Can be either "hex" or "json". Defaults to "hex".
This method will use 10 .
Reference:
Parameters
txID - string - A specific transaction ID.
encoding - string - The encoding parameter sets the format of the returned transaction. Can be, "cb58", "hex" or "json". Defaults to "cb58".
Returns
tx - object - The transaction object of the requested txID.