You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello
I would like to get balance in testnet.
const newaddress = new Address("AXpNeebiUZZQxLff6czjpHZ3Tftj8go2TF");
console.log("newAddress: ", newaddress);
const nodeUrl = "http://polaris1.ont.io:20334"; // Testnet
const rest = new RestClient(nodeUrl);
console.log("rest: ", rest);
let balance = await rest.getBalance(newaddress);
console.log("balance: ", balance);
But the above error is occured.
How can I fix it?
The text was updated successfully, but these errors were encountered:
Hello
I would like to get balance in testnet.
const newaddress = new Address("AXpNeebiUZZQxLff6czjpHZ3Tftj8go2TF");
console.log("newAddress: ", newaddress);
const nodeUrl = "http://polaris1.ont.io:20334"; // Testnet
const rest = new RestClient(nodeUrl);
console.log("rest: ", rest);
let balance = await rest.getBalance(newaddress);
console.log("balance: ", balance);
But the above error is occured.
How can I fix it?
The text was updated successfully, but these errors were encountered: