Returns raw transaction representation for given transaction id.
        decrypt can be set to 0(false) or 1(true).

def getrawtransaction(self, txid: str, decrypt: int=0) -> dict:
        '''Returns raw transaction representation for given transaction id.
        decrypt can be set to 0(false) or 1(true).'''

        q = 'getrawtransaction?txid={txid}&decrypt={decrypt}'.format(txid=txid, decrypt=decrypt)

        return cast(dict, self.api_fetch(q))