mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-04 13:05:49 +00:00
docs: Fix typo in documentation: on('transactions') -> on('transaction') (#2430)
This commit is contained in:
@@ -438,7 +438,7 @@ class Client extends EventEmitter {
|
||||
* ```ts
|
||||
* const api = new Client('wss://s.altnet.rippletest.net:51233')
|
||||
*
|
||||
* api.on('transactions', (tx: TransactionStream) => {
|
||||
* api.on('transaction', (tx: TransactionStream) => {
|
||||
* console.log("Received Transaction")
|
||||
* console.log(tx)
|
||||
* })
|
||||
|
||||
Reference in New Issue
Block a user