Skip to main content

Class: BundleSubmission

Gala Launchpad SDK 9.0.0-rc.5


Gala Launchpad SDK 9.0.0-rc.5 / index / BundleSubmission

Class: BundleSubmission

Defined in: packages/launchpad-sdk/dist/launchpad/bundle-submission.d.ts:32

A submitted launchpad bundle that can be confirmed through socket or REST.

Constructors​

Constructor​

new BundleSubmission(options): BundleSubmission

Defined in: packages/launchpad-sdk/dist/launchpad/bundle-submission.d.ts:41

Construct a submission; transports normally create this for callers.

Parameters​

options​
bundleId​

string

method​

string

uniqueKey​

string

wait​

(options?) => Promise<BundleResult>

Returns​

BundleSubmission

Properties​

bundleId​

readonly bundleId: string

Defined in: packages/launchpad-sdk/dist/launchpad/bundle-submission.d.ts:34

Bundler-assigned identifier used as the socket event name.


method​

readonly method: string

Defined in: packages/launchpad-sdk/dist/launchpad/bundle-submission.d.ts:38

Chaincode method relayed by the bundler.


uniqueKey​

readonly uniqueKey: string

Defined in: packages/launchpad-sdk/dist/launchpad/bundle-submission.d.ts:36

Client-generated idempotency key included in the signed DTO.

Methods​

wait()​

wait(options?): Promise<BundleResult>

Defined in: packages/launchpad-sdk/dist/launchpad/bundle-submission.d.ts:55

Wait for PROCESSED or FAILED confirmation.

Parameters​

options?​

BundleWaitOptions

Returns​

Promise<BundleResult>

Example​

const result = await submission.wait({ timeoutMs: 30_000 });
console.log(result.status);