Retrieve data about Wallet
Last updated 3 years ago
Was this helpful?
Before calling the function make sure you have the Connector object initialized.
Field
Type
Description
PubKey
string
string
Base58 Publickey
WalletDataGet("Input here Base58 PublicKey");
Return value of function: WalletDataGetResult
Connector connect_ = new Connector("95.111.224.219", 9091); NodeApi.WalletDataGetResult walletdata = connect_.WalletDataGet("4SFfA1S2xfA3BdgkTn2tK14yDhLuD11RVz78kqx35jct"); Console.WriteLine(walletdata);
Connect_ = Connector("165.22.212.253:9090") print(Connect_.WalletDataGet("ACkyon3ERkNEcNwpjUn4S6TLP3L76LFg3X6kWoJx82dK"))
var connect_ = new Connector("194.163.152.177", 9091); connect_.WalletDataGet("Ba2Uhtcy4cZ6nJNaQKXWcdLgPH7Kat2R67CUkRU2bkTk").then((res) => {connect_.Close();console.log(res); });
Output is printed via ObjectDumper
{WalletDataGetResult} Status: {APIResponse} Code: 0 Message: "Success: " WalletData: {WalletData} WalletId: 0 Balance: {Amount} Integral: 248866058 Fraction: 664013671875000000 LastTransactionId: 27 Delegated: null