diff --git a/src/market.ts b/src/market.ts index e54d79c..63065f7 100644 --- a/src/market.ts +++ b/src/market.ts @@ -144,6 +144,14 @@ export class Market { return this._decoded.quoteMint; } + get bidsAddress(): PublicKey { + return this._decoded.bids; + } + + get asksAddress(): PublicKey { + return this._decoded.asks; + } + async loadBids(connection: Connection): Promise { const { data } = throwIfNull( await connection.getAccountInfo(this._decoded.bids),