Last active
June 4, 2020 12:24
-
-
Save toschdev/bf3289fd3f800b1eb7d842537d79eb9e to your computer and use it in GitHub Desktop.
getAccount ardor npm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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