Adds the use of onAccountChange method within Solana web3.js which affords the user making 4 ws connections which trigger any time those accounts are updated.
Then it parses the information and makes another 2 requests on update such that the state of the orderbook is refresh and sent.
Adds the use of
onAccountChange
method within Solana web3.js which affords the user making 4 ws connections which trigger any time those accounts are updated.Then it parses the information and makes another 2 requests on update such that the state of the orderbook is refresh and sent.