-
-
Notifications
You must be signed in to change notification settings - Fork 0
Account
martiliones edited this page Jun 12, 2023
·
1 revision
Get account balance
-
Type
interface AdamantApi { getAccountBalance(address: string): Promise<GetAccountBalanceResponseDto>; } interface GetAccountBalanceResponseDto { balance: string; nodeTimestamp: number; success: boolean; unconfirmedBalance: string; }
Get account information by ADAMANT address or Public Key
-
Type
interface AdamantApi { getAccountInfo( options: AddressOrPublicKeyObject ): Promise<GetAccountInfoResponseDto>; } interface GetAccountInfoResponseDto { account: AccountDto; nodeTimestamp: number; success: boolean; } interface AccountDto { address: string; balance: string; multisignatures: string[]; publicKey: string; secondPublicKey: string; secondSignature: number; u_multisignatures: string[]; unconfirmedBalance: string; unconfirmedSignature: number; }
-
References
Get account Public Key
-
Type
interface AdamantApi { getPublicKey(address: string): Promise<GetAccountPublicKeyResponseDto>; } interface GetAccountPublicKeyResponseDto { nodeTimestamp: number; publicKey: string; success: boolean; }