WalletGetBalance()
Retrieve Balance of given PublicKey
Before calling the function make sure you have the Connector object initialized.
Understanding Connector ObjectFunction Call
Field
Type
Description
PubKey
string
Base58 Publickey
WalletGetBalance("Input here Base58 PublicKey");Example
Connector connect_ = new Connector("95.111.224.219", 9091);
NodeApi.WalletBalanceGetResult balance = connect_.WalletGetBalance("4SFfA1S2xfA3BdgkTn2tK14yDhLuD11RVz78kqx35jct");
Console.WriteLine(balance);Connect_ = Connector("165.22.212.253:9090")
print(Connect_.WalletGetBalance("ACkyon3ERkNEcNwpjUn4S6TLP3L76LFg3X6kWoJx82dK"))var connect_ = new Connector("194.163.152.177", 9091);
connect_.WalletGetBalance("Ba2Uhtcy4cZ6nJNaQKXWcdLgPH7Kat2R67CUkRU2bkTk").then((res) => {connect_.Close();console.log(res); });Output of Example
Output is printed via ObjectDumper
{WalletBalanceGetResult}
Status: {APIResponse}
Code: 0
Message: "Success: "
Balance: {Amount}
Integral: 99996
Fraction: 33347167968750000
Delegated: nullLast updated
Was this helpful?