Skip to main content

UnsafePublishParams

@iota/iota-sdk


@iota/iota-sdk / client / UnsafePublishParams

Interface: UnsafePublishParams

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

Create an unsigned transaction to publish a Move package.

Properties

compiledModules

compiledModules: string[]

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

the compiled bytes of a Move package


dependencies

dependencies: string[]

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

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:647

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:649

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:638

the transaction signer's IOTA address


signal?

optional signal?: AbortSignal

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