Skip to main content

UnsafePublishParams

@iota/iota-sdk


@iota/iota-sdk / client / UnsafePublishParams

Interface: UnsafePublishParams

Defined in: sdk/typescript/src/client/types/params.ts:635

Create an unsigned transaction to publish a Move package.

Properties​

compiledModules​

compiledModules: string[]

Defined in: sdk/typescript/src/client/types/params.ts:639

the compiled bytes of a Move package


dependencies​

dependencies: string[]

Defined in: sdk/typescript/src/client/types/params.ts:641

a list of transitive dependency addresses that this set of modules depends on.


gas?​

optional gas?: string | null

Defined in: sdk/typescript/src/client/types/params.ts:646

gas object to be used in this transaction, node will pick one from the signer's possession if not provided


gasBudget​

gasBudget: string

Defined in: sdk/typescript/src/client/types/params.ts:648

the gas budget, the transaction will fail if the gas cost exceed the budget


sender​

sender: string

Defined in: sdk/typescript/src/client/types/params.ts:637

the transaction signer's IOTA address


signal?​

optional signal?: AbortSignal

Defined in: sdk/typescript/src/client/types/params.ts:649