The options of .instantiate() and .instantiate2() call. All properties are optional.

interface InstantiateOptions {
    admin?: string;
    funds?: readonly Coin[];
    memo?: string;
}

Properties

Properties

admin?: string

A bech32 encoded address of an admin account. Caution: an admin has the privilege to upgrade a contract. If this is not desired, do not set this value.

funds?: readonly Coin[]

The funds that are transferred from the sender to the newly created contract. The funds are transferred as part of the message execution after the contract address is created and before the instantiation message is executed by the contract.

Only native tokens are supported.

memo?: string

Generated using TypeDoc