Create Settle Transaction
Settled tokens in the user's open order account.
This endpoint does not submit the transaction to the network.
The endpoint allows you to specify priority fees and tips to later control the transaction inclusion and propagation. Refer to the Transaction Submission & Front-Running Protection & Transaction Bundle page for additional information about these parameters.
Request
Method:
POST ./api/v2/openbook/settle
Parameters:
Parameter | Type | Description |
---|---|---|
| string | User's account address to settle |
| string | Smart contract address/symbol of the market. |
| string | OPTIONAL. User's wallet address for the market's base token. Specify for a faster response. |
| string | OPTIONAL. User's wallet address for the market's quote token. Specify for a faster response. |
| string | OPTIONAL. Specify for a faster response. |
| number | OPTIONAL. Specifies total compute limit to be allocated for all instructions within the created tx |
| number | OPTIONAL. Specifies compute price in Lamport (0.000001 SOL = 1,000 Lamport) to be included as a part of instruction, known as priority fee. |
| uint64 |
Request example:
Response:
Fields:
Field | Description |
---|---|
| Raw bytes of unsigned transaction |
| The open order address to place the order |
Example:
Last updated