code: def txinfo(self, txid: str) -> dict:
          '''Returns information about given transaction.'''
  
          return cast(dict, self.ext_fetch('txinfo/' + txid)f txinfo(self, txid: str) -> dict:
          '''Returns information about given transaction.'''
  
          return cast(dict, self.ext_fetch('txinfo/' + txid))
docs: Returns information about given transaction.