parameters: (self, txHash, verbose=0, endianness=BIGENDIAN)
return_statement: return result
docstring: DESCRIPTION:
        Get the raw transaction string for a given transaction hash.
        PARAMETERS:
        txHash - A string representing the hex value of a transaction ID.
        verbose - (Default=0) Integer indicating whether or not the result should
                  be more verbose.
        endianness - (Default=BIGENDIAN) Indicates the endianness of the ID.
        RETURN:
        A dictionary with the decoded raw transaction and relevant information.
docstring_summary: DESCRIPTION:
        Get the raw transaction string for a given transaction hash.
        PARAMETERS:
        txHash - A string representing the hex value of a transaction ID.
        verbose - (Default=0) Integer indicating whether or not the result should
                  be more verbose.
        endianness - (Default=BIGENDIAN) Indicates the endianness of the ID.
        RETURN:
        A dictionary with the decoded raw transaction and relevant information.
docstring_tokens: DESCRIPTION : Get the raw transaction string for a given transaction hash . PARAMETERS : txHash - A string representing the hex value of a transaction ID . verbose - ( Default = 0 ) Integer indicating whether or not the result should be more verbose . endianness - ( Default = BIGENDIAN ) Indicates the endianness of the ID . RETURN : A dictionary with the decoded raw transaction and relevant information .
function: def jsonrpc_getrawtransaction(self, txHash, verbose=0, endianness=BIGENDIAN):
        """
        DESCRIPTION:
        Get the raw transaction string for a given transaction hash.
        PARAMETERS:
        txHash - A string representing the hex value of a transaction ID.
        verbose - (Default=0) Integer indicating whether or not the result should
                  be more verbose.
        endianness - (Default=BIGENDIAN) Indicates the endianness of the ID.
        RETURN:
        A dictionary with the decoded raw transaction and relevant information.
        """
  
        rawTx = None
        cppTx = TheBDM.bdv().getTxByHash(hex_to_binary(txHash, endianness))
        if cppTx.isInitialized():
           txBinary = cppTx.serialize()
           pyTx = PyTx().unserialize(txBinary)
           rawTx = binary_to_hex(pyTx.serialize())
           if verbose:
              result = self.jsonrpc_decoderawtransaction(rawTx)
              result['hex'] = rawTx
           else:
              result = rawTx
        else:
           LOGERROR('Tx hash not recognized by TheBDM: %s' % txHash)
           result = None
  
        return result
function_tokens: def jsonrpc_getrawtransaction ( self , txHash , verbose = 0 , endianness = BIGENDIAN ) : rawTx = None cppTx = TheBDM . bdv ( ) . getTxByHash ( hex_to_binary ( txHash , endianness ) ) if cppTx . isInitialized ( ) : txBinary = cppTx . serialize ( ) pyTx = PyTx ( ) . unserialize ( txBinary ) rawTx = binary_to_hex ( pyTx . serialize ( ) ) if verbose : result = self . jsonrpc_decoderawtransaction ( rawTx ) result [ 'hex' ] = rawTx else : result = rawTx else : LOGERROR ( 'Tx hash not recognized by TheBDM: %s' % txHash ) result = None return result