mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-20 04:05:52 +00:00
BREAKING CHANGE: getFee returns promise, express fee in XRP in instructions response, use rawRequest to start decoupling Remote from API
This commit is contained in:
@@ -40,7 +40,11 @@ function main() {
|
||||
makeRequest(connection, request4)
|
||||
]).then(() => {
|
||||
console.log('Done');
|
||||
process.exit();
|
||||
});
|
||||
connection.getLedgerVersion().then(console.log);
|
||||
connection.on('ledgerClosed', ledger => {
|
||||
console.log(ledger);
|
||||
connection.getLedgerVersion().then(console.log);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user