def METHOD_NAME(self, contract, name, args, contract_addr):
    func = getattr(contract.functions, name)
    attrs = {}
    gas_price = 1
    gas = CONTRACT_DEFAULT_GAS
    attrs["gas"] = int_to_hex(gas)
    attrs["gasPrice"] = int_to_hex(gas_price)
    attrs["chainId"] = 0
    attrs["to"] = Web3.toChecksumAddress(contract_addr)
    tx = func(*args).buildTransaction(attrs)
    return RpcClient(self.nodes[0]).call(contract_addr, tx["data"])