Skip to main content
POST
Approve a request

Authorizations

Api-Access-Key
string
header
required

An API key associated with a security role

Headers

Api-Signature
string
required

A hex-encoded Ed25519 signature of timestamp_epoch_seconds + uppercase(http_method) + request_path + request_body.

Pattern: ^[0-9A-Fa-f]{128,160}$
Api-Timestamp
integer<int64>
required

Current timestamp, represented as unix epoch seconds

Path Parameters

requestId
string
required

ID of the request to approve

Minimum string length: 1

Body

application/json

The terms you are approving the request on. Every field in approval must match the request; if one does not, nothing is recorded and the call fails with 409.

approval
Create OES Agreement Approval · object
required

The terms specific to the request's type. Must be the schema matching type.

type
enum<string>
required

The kind of change a request represents. More types will be added; ignore requests of a type you do not recognize.

  • createOESAgreement - The creation of a new Off-Exchange Settlement control agreement between the pledgor (the trader) and the secured party (the exchange).
  • increaseDelegation - A pledge: more collateral placed under the agreement's delegation.
  • decreaseDelegation - An unpledge: collateral released from the agreement's delegation.

Either party may propose a pledge or unpledge, and the proposer's quorum endorses it first. When the pledgor proposes it, the secured party then approves it. When the secured party proposes it, the pledgor then chooses the wallets it applies to and approves it; until then its items carry no walletId.

Available options:
createOESAgreement,
increaseDelegation,
decreaseDelegation

Response

The request. Your approval is being recorded.

request
object
required

A request is one proposed change to a control agreement, together with its current approval status.