Skip to content

Instantly share code, notes, and snippets.

@Tosch110

Tosch110/index.js

Last active Jun 4, 2020
Embed
What would you like to do?
getAccount ardor npm
const loader = require("ardor");
loader.init({
url: "http://localhost:27876",
chain: 2,
secretPhrase: "hope peace happen touch easy pretend worthless talk them indeed wheel state",
isTestNet: false
});
loader.load(async function(NRS) {
const data = {
account: "ARDOR-3GV8-8347-UD38-FNU2U",
};
NRS.sendRequest("getAccount", data, function (response, account, data) {
console.log(response);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.