For the complete documentation index, see llms.txt. This page is also available as Markdown.

POST Settlement status

Checks the status of the time delay and get the signature calldata if the time delay has been passed.

post
Header parameters
apiKeystringRequired

The API key that was assigned to you by Native

Body
chainstring · enumRequired

Native blockchain name, eg: ethereum, bsc, etc

Example: ethereumPossible values:
recipientstringRequired

The address of the market maker or the settler

Pattern: ^0x[a-fA-F0-9]{40}$
traderstringRequired

The address of the trader

Pattern: ^0x[a-fA-F0-9]{40}$
Responses
201

Success

application/json
statusstringRead-onlyRequired
readyAtstring · date-timeRead-onlyRequired
expiresAtstring · date-timeRead-onlyRequired
dataobjectRead-onlyRequired
post/v1/lend/settlement-status
POST /lend/v1/lend/settlement-status HTTP/1.1
Host: newapi.native.org
apiKey: text
Content-Type: application/json
Accept: */*
Content-Length: 115

{
  "chain": "ethereum",
  "recipient": "text",
  "positionUpdates": [
    {
      "tokenAddress": "text",
      "amount": "text"
    }
  ],
  "trader": "text"
}
{
  "status": "text",
  "readyAt": "2026-01-01T00:00:00.000Z",
  "expiresAt": "2026-01-01T00:00:00.000Z",
  "data": {}
}

During time delay

{
    "status": "pending",
    "readyAt": "2024-01-31T07:12:26.976Z",
    "expiresAt": "2024-01-31T07:13:26.976Z"
}

Ready

Expired

Error

Last updated