Bundler
Cancel an order for a specified market by order ID
Cancel all user orders for a specified market
Deposit ft and near
NEAR token is transferred by attaching them to a transaction. The attached amount will be credited to the trading account. To deposit Fungible Token use it's contract methods
TODO
Get balance
Get balance ft
Get balance near
Get balance storage
TODO
Returns history of candles to use in OHLC chart
Returns all currencies supported by the contract
Returns account balannces by account ID
TODO
Returns market info by ID supported by the contract
Returns all markets info supported by the contract
Returns the current information about order by market ID, order ID and account ID
Returns the order book information for a given market ID
Returns a list of orders belonging to a given account on a specified market
Returns history of orders that have been partially or fully filled, cancelled or expired
Returns the latest trades that have occurred for instruments in a specific market ID
TODO
Returns the latest trades of a specific user
Subscribes to the balance changes stream of a particular account by it's ID
Subscribes to the all orders stream of a particular account by it's ID
Subscribes to the trades stream of a particular account by it's ID
Subscribe to the orderbook L1 data. Notifications are sent every time when best bid or best ask were changed. That changes couldn't be generated more often than block is validated and added in near blockchain, but there can be be multiple changes within one block. Messages order is guaranteed
Subscribe to the orderbook L2 data. L2 data consists a snapshot of the bids/asks prices and quantities with a specific depth. Right now notifications are sent every 100 millisecond, but don't forget that each block in blockchain is generated approximately 1 second, so the average time of this type of notification approximately 1 second too. If there is no changes in orderbook notifications won't be sent.
Subscribe to the orderbook L3 data. In response you receive an initial snapshot of the orderbook. There is a last_change_id field that is used to validate integrity of the orderbook events sequence. Each next notification will have a sequentially increasing number by 1 in the id field. Each notification means absolutely quantity for a given price level. If quantity is 0, it means there are no orders for a given price level.
Subscribes to the all orders stream of a particular market by it's id
Subscribes to the trades stream of a particular market by it's id
Health check method for gateway API
Place ask
Place bid
TODO
TODO
TODO
Transfer ft
Withdraws token from the trading account to the user's account
Generated using TypeDoc
Method allows you to perform many operations within a single transaction