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;

feeCredit​

feeCredit: bigint;

salt​

salt: Uint8Array | bigint;

seqno?​

optional seqno: number;

shardId​

shardId: number;

value?​

optional value: bigint;

Defined​

@nilfoundation/niljs/src/contracts/WalletV1/types/index.ts:117