Skip to main content
POST
Protect a position with a lower and upper trigger. d: true describes a long collar; false describes a short collar. When one leg triggers, the sibling is cancelled with siblingCancelled. Use the current SDK to sign the complete transaction with a fresh nonce. See Transaction Signing and the shared submission guide. The request example contains placeholder credentials and an illustrative nonce. The optional i flag defaults to false and participates in signing. See isolated routing and builder-code rules. Market-executing legs support slSlippage / tpSlippage in basis points. Use the current conditional signing encoder, including when an override is omitted. Inspect every response status, including errors returned with HTTP 200. Later order and fill changes arrive on the account stream.

Headers

x-bulk-sig-mode
enum<string>

Signature-mode hint. Raw tries only raw; omission tries raw then base58. Offchain and base58 hints try that mode first, then the other supported modes. Omit to use the default raw canonical-binary verification path. Set to offchain when the transaction was signed using the v0 Solana offchain envelope.

Available options:
raw,
offchain,
base58

Body

application/json
actions
Range / OCO (rng) · object[]
required

This focused view shows range / oco actions. Use the batch reference for mixed trading actions.

nonce
required

Fresh Unix nanosecond nonce; use a decimal string to preserve 64-bit precision

Pattern: ^[0-9]+$
account
string
required

Account public key (base58) whose account is being acted on. Must be a master pubkey or a sub-account pubkey. Per-instrument isolated accounts are managed implicitly via the i flag on order actions and are never set as account.

Example:

"FuueqefENiGEW6uMqZQgmwjzgpnb85EgUcZa5Em4PQh7"

signer
string
required

Signer public key (base58); who is signing. One of:

  • the account itself;
  • when account is a sub-account: the parent master, or an agent wallet registered on the parent master (automatically authorized for its sub-accounts);
  • an agent wallet registered directly on account.
Example:

"FuueqefENiGEW6uMqZQgmwjzgpnb85EgUcZa5Em4PQh7"

signature
string
required

Base58 Ed25519 signature over canonical version-selected action bytes, nonce, account, and network domain. See Transaction Signing for raw, base58, and offchain modes.

Example:

"5j7sVt3k2YxPqH4w..."

Response

Execution results. HTTP 200 alone is not success; inspect status and each statuses entry.

Signed transaction result. Status rows describe execution events, not action-array positions.

status
enum<string>
required

Top-level status (ok when request was accepted; check each item in statuses for per-action result)

Available options:
ok,
error
response
object
required