Skip to main content

Type Alias: DeployParams

type DeployParams: object;

Represents the params for deploying a smart contract.

Type declaration​

abi?​

optional abi: Abi;

args?​

optional args: unknown[];

bytecode​

bytecode: Uint8Array | Hex;

chainId?​

optional chainId: number;

gas​

gas: bigint;

salt​

salt: Uint8Array | bigint;

seqno?​

optional seqno: number;

shardId​

shardId: number;

value?​

optional value: bigint;

Defined in​

nil/nil.js/src/contracts/WalletV1/types/index.ts:90