Skip to main content

MsgExecuteContract

The execute contract message class representation.


class MsgExecuteContract extends TransactionMsg<MsgExecuteContractValue> {
static TYPE = "/cosmwasm.wasm.v1.MsgExecuteContract";
constructor({ sender, contract, msg, funds }: MsgExecuteContractValue);
}


MsgExecuteContractValue‚Äč

Defines the execute contract message value.


type MsgExecuteContractValue = {
sender: string;
contract: string;
msg: any;
funds?: { amount: string; denom: string }[];
};