<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_transaction_data( abi: Dict, function_name: str, args: Any = None, kwargs: Any = None, ):
 """Get encoded transaction data"""

        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,
        )