Export

CreateContractInvocationRequest

interface CreateContractInvocationRequest {
    abi?: string;
    amount?: string;
    args: string;
    contract_address: string;
    method: string;
}

Properties

abi?: string

The JSON-encoded ABI of the contract.

Memberof

CreateContractInvocationRequest

amount?: string

The amount in atomic units of the native asset to send to the contract for a payable method

Memberof

CreateContractInvocationRequest

args: string

The JSON-encoded arguments to pass to the contract method. The keys should be the argument names and the values should be the argument values.

Memberof

CreateContractInvocationRequest

contract_address: string

The address of the contract to invoke.

Memberof

CreateContractInvocationRequest

method: string

The method to invoke on the contract.

Memberof

CreateContractInvocationRequest