mallow docs

Offer account

GET
/v2/accounts/market/offer/{address}

Fetches the raw on-chain account from the RPC (at confirmed commitment) and returns the same parsed shape streamed by GET /v2/ws/accounts, wrapped in a { viewSlot, account } envelope. An absent account is a 200 with a null account — viewSlot lets clients order the absence against stream write slots.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Path Parameters

address*string

Offer account address (base58). A PDA of the MallowMarket program, derived from seeds ["offer", buyer, asset].

Length1 <= length

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v2/accounts/market/offer/string"
{  "result": {    "viewSlot": 0,    "account": {      "accountType": "offer",      "bump": 0,      "version": 0,      "marketplaceAuthority": "string",      "offerType": 0,      "buyer": "string",      "asset": "string",      "currencyMint": "string",      "price": "string",      "endTime": 0,      "offeredAt": 0,      "oneOfOneOnly": true,      "tokenStandard": 0,      "pubkey": "string",      "program": "mallow-market"    }  }}