1
Get a Settle PnL nonce
Get a nonce from Get Settle PnL Nonce.
2
Obtain signature from EIP-712
Sign an EIP-712 message in the following format:where:
3
Request PnL settlement
Submit the request through Request PnL Settlement API.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Learn how to settle realized and unrealized PnL into USDC balances via the Orderly API.
Get a Settle PnL nonce
Obtain signature from EIP-712
{
"brokerId": "woofi_dex",
"chainId": 80001,
"settleNonce": 1,
"timestamp": 1685973017064
}
| Name | Type | Required | Description |
|---|---|---|---|
| brokerId | string | Y | The unique identifier of the Builder (also known as Broker ID). |
| chainId | int | Y | Chain ID of the connected chain where the message was signed |
| settleNonce | int | Y | Valid settlement nonce from Get Settle PnL Nonce |
| timestamp | timestamp | Y | Current timestamp in UNIX milliseconds |
Request PnL settlement