Orchestrator
Orchestrator SDK
postSignedOrderBundle

postSignedOrderBundle

Send off a signed order bundle to the orchestrator to execute.

Usage

const bundleId = await orchestrator.postSignedOrderBundle(
  signedOrderBundle,
  'd6f64241-a62c-4542-bb23-e78d7e1e0cd6',
)

Parameters

signedOrderBundle

  • Type: SignedOrderBundle

The signed order bundle to post to the orchestrator.

userId

  • Type: string

The ID of the user account to post the signed order bundle for.

Returns

bundleId

  • Type: Promise<string>

The id of the bundle, used to check its' status.