Search
Preparing search index...
The search index is not available
@spinfi/core
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@spinfi/core
perp
Namespace perp
Index
References
Balance
Storage
Deposit
Storage
Request
Deposit
Storage
Response
Get
Balance
Ft
Request
Get
Balance
Ft
Response
Get
Balance
Near
Response
Get
Balance
Request
Get
Balance
Response
Get
Balance
Storage
Bounds
Request
Get
Balance
Storage
Bounds
Response
Get
Balance
Storage
Request
Get
Balance
Storage
Response
Get
Transaction
Status
Request
Get
Transaction
Status
Response
Transfer
Ft
Config
Transfer
Ft
Request
Transfer
Ft
Response
Interfaces Other
Book
L1
Notify
Get
Balance
Near
Request
Get
Market
Request
Listen
Book
L1
Request
Market
Market
Availability
Market
Fees
Market
Limits
Perp
Bundler
Interfaces cancelOrder
Cancel
Order
Config
Cancel
Order
Request
Interfaces cancelOrders
Cancel
Orders
Config
Cancel
Orders
Request
Interfaces deposit
Deposit
Config
Deposit
Request
Interfaces depositStorage
Deposit
Storage
Config
Interfaces getBalance
Get
Balances
Request
Interfaces getBaseCurrency
Get
Base
Currency
Response
Interfaces getFundingInfo
Funding
Info
Price
Funding
Info
Rate
Get
Funding
Info
Request
Get
Funding
Info
Response
Interfaces getMarketPrices
Market
Prices
Interfaces getOrder
Get
Order
Request
Order
Interfaces getOrderbook
Get
Orderbook
Request
Get
Orderbook
Response
Orderbook
Order
Interfaces getOrders
Get
Orders
Request
Interfaces getOrdersHistory
Get
Orders
History
Request
Interfaces getPositions
Get
Positions
Request
Get
Positions
Response
Position
Interfaces getTrades
Get
Trades
Request
Trade
With
Id
Interfaces getUserTrades
Get
User
Trades
Request
Interfaces listenAccountOrders
Listen
Account
Orders
Request
Order
Info
Interfaces listenAccountTrades
Listen
Account
Trades
Request
Interfaces listenBookL2
Book
L2
Notify
Listen
Book
L2
Request
Interfaces listenBookL3
Book
L3
Notify
Book
L3
State
Book
Node
Change
Listen
Book
L3
Request
Interfaces listenTrades
Listen
Trades
Request
Trade
Interfaces placeAsk
Place
Ask
Config
Place
Ask
Request
Interfaces placeBid
Place
Bid
Config
Interfaces spin
Perp
Spin
Interfaces withdraw
Withdraw
Config
Withdraw
Request
Type Aliases Other
Book
Node
Get
Market
Response
Perp
Bundler
Unit
Type Aliases cancelOrder
Cancel
Order
Response
Type Aliases cancelOrders
Cancel
Orders
Response
Type Aliases deposit
Deposit
Response
Type Aliases getBalance
Get
Balances
Response
Type Aliases getMarketPrices
Get
Market
Prices
Response
Type Aliases getMarkets
Get
Markets
Response
Type Aliases getOrder
Get
Order
Response
Type Aliases getOrders
Get
Orders
Response
Type Aliases getOrdersHistory
Get
Orders
History
Response
Type Aliases getTrades
Get
Trades
Response
Type Aliases getUserTrades
Get
User
Trades
Response
Type Aliases listenAccountOrders
Account
Orders
Notify
Account
Orders
State
Type Aliases listenAccountTrades
Account
Trades
Notify
Type Aliases listenTrades
Trades
Notify
Type Aliases placeAsk
Place
Ask
Response
Type Aliases placeBid
Place
Bid
Request
Place
Bid
Response
Type Aliases withdraw
Withdraw
Response
Functions
create
Perp
Spin
References
Balance
Storage
Re-exports
BalanceStorage
Deposit
Storage
Request
Re-exports
DepositStorageRequest
Deposit
Storage
Response
Re-exports
DepositStorageResponse
Get
Balance
Ft
Request
Re-exports
GetBalanceFtRequest
Get
Balance
Ft
Response
Re-exports
GetBalanceFtResponse
Get
Balance
Near
Response
Re-exports
GetBalanceNearResponse
Get
Balance
Request
Re-exports
GetBalanceRequest
Get
Balance
Response
Re-exports
GetBalanceResponse
Get
Balance
Storage
Bounds
Request
Re-exports
GetBalanceStorageBoundsRequest
Get
Balance
Storage
Bounds
Response
Re-exports
GetBalanceStorageBoundsResponse
Get
Balance
Storage
Request
Re-exports
GetBalanceStorageRequest
Get
Balance
Storage
Response
Re-exports
GetBalanceStorageResponse
Get
Transaction
Status
Request
Re-exports
GetTransactionStatusRequest
Get
Transaction
Status
Response
Re-exports
GetTransactionStatusResponse
Transfer
Ft
Config
Re-exports
TransferFtConfig
Transfer
Ft
Request
Re-exports
TransferFtRequest
Transfer
Ft
Response
Re-exports
TransferFtResponse
Other Type Aliases
Book
Node
Book
Node
:
[
string
,
string
]
Websocket
Get
Market
Response
Get
Market
Response
:
perp
.
Market
Contract
Perp
Bundler
Unit
Perp
Bundler
Unit
:
(
(
)
=>
Promise
<
CoreParams
|
undefined
>
)
Type declaration
(
)
:
Promise
<
CoreParams
|
undefined
>
Bundler
Returns
Promise
<
CoreParams
|
undefined
>
cancelOrder Type Aliases
Cancel
Order
Response
Cancel
Order
Response
:
FinalExecutionOutcome
|
void
cancelOrders Type Aliases
Cancel
Orders
Response
Cancel
Orders
Response
:
FinalExecutionOutcome
|
void
deposit Type Aliases
Deposit
Response
Deposit
Response
:
FinalExecutionOutcome
|
void
getBalance Type Aliases
Get
Balances
Response
Get
Balances
Response
:
string
getMarketPrices Type Aliases
Get
Market
Prices
Response
Get
Market
Prices
Response
:
Record
<
string
,
MarketPrices
>
getMarkets Type Aliases
Get
Markets
Response
Get
Markets
Response
:
perp
.
Market
[]
getOrder Type Aliases
Get
Order
Response
Get
Order
Response
:
perp
.
Order
getOrders Type Aliases
Get
Orders
Response
Get
Orders
Response
:
perp
.
Order
[]
getOrdersHistory Type Aliases
Get
Orders
History
Response
Get
Orders
History
Response
:
perp
.
OrderInfo
[]
getTrades Type Aliases
Get
Trades
Response
Get
Trades
Response
:
perp
.
TradeWithId
[]
getUserTrades Type Aliases
Get
User
Trades
Response
Get
User
Trades
Response
:
perp
.
TradeWithId
[]
listenAccountOrders Type Aliases
Account
Orders
Notify
Account
Orders
Notify
:
perp
.
OrderInfo
Account
Orders
State
Account
Orders
State
:
perp
.
OrderInfo
[]
listenAccountTrades Type Aliases
Account
Trades
Notify
Account
Trades
Notify
:
perp
.
Trade
listenTrades Type Aliases
Trades
Notify
Trades
Notify
:
perp
.
Trade
placeAsk Type Aliases
Place
Ask
Response
Place
Ask
Response
:
FinalExecutionOutcome
|
void
placeBid Type Aliases
Place
Bid
Request
Place
Bid
Request
:
perp
.
PlaceAskRequest
Place
Bid
Response
Place
Bid
Response
:
FinalExecutionOutcome
|
void
withdraw Type Aliases
Withdraw
Response
Withdraw
Response
:
FinalExecutionOutcome
|
void
Functions
create
Perp
Spin
create
Perp
Spin
(
config
:
CoreConfig
)
:
PerpSpin
Parameters
config:
CoreConfig
Returns
PerpSpin
Exports
Internals
perp
perp
Bundler
spot
spot
Bundler
Externals
websocket
Balance
Storage
Deposit
Storage
Request
Deposit
Storage
Response
Get
Balance
Ft
Request
Get
Balance
Ft
Response
Get
Balance
Near
Response
Get
Balance
Request
Get
Balance
Response
Get
Balance
Storage
Bounds
Request
Get
Balance
Storage
Bounds
Response
Get
Balance
Storage
Request
Get
Balance
Storage
Response
Get
Transaction
Status
Request
Get
Transaction
Status
Response
Transfer
Ft
Config
Transfer
Ft
Request
Transfer
Ft
Response
Book
L1
Notify
Book
L2
Notify
Book
L3
Notify
Book
L3
State
Book
Node
Change
Cancel
Order
Config
Cancel
Order
Request
Cancel
Orders
Config
Cancel
Orders
Request
Deposit
Config
Deposit
Request
Deposit
Storage
Config
Funding
Info
Price
Funding
Info
Rate
Get
Balance
Near
Request
Get
Balances
Request
Get
Base
Currency
Response
Get
Funding
Info
Request
Get
Funding
Info
Response
Get
Market
Request
Get
Order
Request
Get
Orderbook
Request
Get
Orderbook
Response
Get
Orders
History
Request
Get
Orders
Request
Get
Positions
Request
Get
Positions
Response
Get
Trades
Request
Get
User
Trades
Request
Listen
Account
Orders
Request
Listen
Account
Trades
Request
Listen
Book
L1
Request
Listen
Book
L2
Request
Listen
Book
L3
Request
Listen
Trades
Request
Market
Market
Availability
Market
Fees
Market
Limits
Market
Prices
Order
Order
Info
Orderbook
Order
Perp
Bundler
Perp
Spin
Place
Ask
Config
Place
Ask
Request
Place
Bid
Config
Position
Trade
Trade
With
Id
Withdraw
Config
Withdraw
Request
Account
Orders
Notify
Account
Orders
State
Account
Trades
Notify
Book
Node
Cancel
Order
Response
Cancel
Orders
Response
Deposit
Response
Get
Balances
Response
Get
Market
Prices
Response
Get
Market
Response
Get
Markets
Response
Get
Order
Response
Get
Orders
History
Response
Get
Orders
Response
Get
Trades
Response
Get
User
Trades
Response
Perp
Bundler
Unit
Place
Ask
Response
Place
Bid
Request
Place
Bid
Response
Trades
Notify
Withdraw
Response
create
Perp
Spin
Generated using
TypeDoc
Websocket