code: def get_transaction_data(
              abi: Dict,
              function_name: str,
              args: Any = None,
              kwargs: Any = None,
      ):
          
          args = args or list()
          fn_abi = find_matching_fn_abi(
              abi,
              function_name,
              args=args,
              kwargs=kwargs,
          )
          return encode_transaction_data(
              None,
              function_name,
              contract_abi=abi,
              fn_abi=fn_abi,
              args=args,
              kwargs=kwargs,
          )
docs: Get encoded transaction data