Search
Preparing search index...
The search index is not available
@zero_one/client
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@zero_one/client
ZoOpenOrders
Class ZoOpenOrders
Hierarchy
ZoOpenOrders
Index
Constructors
constructor
Properties
_program
Id
address
base
Token
Free
base
Token
Total
client
Ids
coin
On
Asks
coin
On
Bids
funding
Index
market
orders
owner
quote
Token
Free
quote
Token
Total
realized
Pnl
referrer
Rebates
Accrued
Accessors
public
Key
Methods
find
For
Market
And
Owner
find
For
Owner
from
Account
Info
get
Layout
load
Constructors
constructor
new
Zo
Open
Orders
(
address
:
PublicKey
, decoded
:
any
, programId
:
PublicKey
)
:
ZoOpenOrders
Parameters
address:
PublicKey
decoded:
any
programId:
PublicKey
Returns
ZoOpenOrders
Properties
Private
_program
Id
_program
Id
:
PublicKey
address
address
:
PublicKey
base
Token
Free
base
Token
Free
:
BN
base
Token
Total
base
Token
Total
:
BN
client
Ids
client
Ids
:
BN
[]
coin
On
Asks
coin
On
Asks
:
BN
coin
On
Bids
coin
On
Bids
:
BN
funding
Index
funding
Index
:
BN
market
market
:
PublicKey
orders
orders
:
BN
[]
owner
owner
:
PublicKey
quote
Token
Free
quote
Token
Free
:
BN
quote
Token
Total
quote
Token
Total
:
BN
realized
Pnl
realized
Pnl
:
BN
referrer
Rebates
Accrued
referrer
Rebates
Accrued
:
BN
Accessors
public
Key
get
publicKey
(
)
:
PublicKey
Returns
PublicKey
Methods
Static
find
For
Market
And
Owner
find
For
Market
And
Owner
(
connection
:
Connection
, marketAddress
:
PublicKey
, ownerAddress
:
PublicKey
, programId
:
PublicKey
)
:
Promise
<
ZoOpenOrders
[]
>
Parameters
connection:
Connection
marketAddress:
PublicKey
ownerAddress:
PublicKey
programId:
PublicKey
Returns
Promise
<
ZoOpenOrders
[]
>
Static
find
For
Owner
find
For
Owner
(
connection
:
Connection
, ownerAddress
:
PublicKey
, programId
:
PublicKey
)
:
Promise
<
ZoOpenOrders
[]
>
Parameters
connection:
Connection
ownerAddress:
PublicKey
programId:
PublicKey
Returns
Promise
<
ZoOpenOrders
[]
>
Static
from
Account
Info
from
Account
Info
(
address
:
PublicKey
, accountInfo
:
AccountInfo
<
Buffer
>
, programId
:
PublicKey
)
:
ZoOpenOrders
Parameters
address:
PublicKey
accountInfo:
AccountInfo
<
Buffer
>
programId:
PublicKey
Returns
ZoOpenOrders
Static
get
Layout
get
Layout
(
_programId
:
PublicKey
)
:
any
Parameters
_programId:
PublicKey
Returns
any
Static
load
load
(
connection
:
Connection
, address
:
PublicKey
, programId
:
PublicKey
)
:
Promise
<
ZoOpenOrders
>
Parameters
connection:
Connection
address:
PublicKey
programId:
PublicKey
Returns
Promise
<
ZoOpenOrders
>
Exports
Zo
Open
Orders
constructor
_program
Id
address
base
Token
Free
base
Token
Total
client
Ids
coin
On
Asks
coin
On
Bids
funding
Index
market
orders
owner
quote
Token
Free
quote
Token
Total
realized
Pnl
referrer
Rebates
Accrued
public
Key
find
For
Market
And
Owner
find
For
Owner
from
Account
Info
get
Layout
load
Generated using
TypeDoc