Parameters
Returns
- orderobject
The order object containing details of the open order with the following properties:
- makerstring
Public key of the order maker
- inputMintstring
The mint address of the input token
- outputMintstring
The mint address of the output token
- makingAmountstring
The amount of tokens being offered
- takingAmountstring
The amount of tokens being requested
- expiredAtnull
Timestamp when the order expires, null if no expiration
- borrowMakingAmountstring
Amount of tokens borrowed for making the order
- createdAtstring
Unix timestamp when the account was created
- updatedAtstring
Unix timestamp when the account was last updated
- feeAccountstring
Public key of the account where fees are collected
- inputTokenProgramstring
Program ID of the input token program
- inputMintReservestring
Reserve account address for the input mint
- outputTokenProgramstring
Program ID of the output token program
- feeBpsinteger
Fee in basis points (1 bps = 0.01%)
- bumpinteger
PDA bump seed for the account
- uniqueIdstring
Unique identifier of the order
- oriMakingAmountstring
Original amount of tokens being offered when order was created
- oriTakingAmountstring
Original amount of tokens being requested when order was created