Get Balance

The "Get Balance" feature in the KrypC wallet-dev Service API allows users to retrieve the current balance of a specified wallet or address on the blockchain, providing a convenient way to monitor and manage network holdings.

This helps in getting the wallet balance with this method.

API Specification

Get Balance

POST https://api.krypcore.com/api/v0/devWallet/getBalance

To get balance under the given instance.

Headers

Name
Type
Description

DappId*

String

DappId

Authorization*

String

User Auth key obtained

SubscriptionId

String

SubscriptionId

ChainId

String

ChainId

Request Body

Name
Type
Description

chainId*

String

Chain ID

address*

String

Address

{
    "Status": "SUCCESS",
    "Code": 200,
    "Message": "",
    "Data": {
        "address": "0xda00A3B956dc90892BD4a9a483342435f7C045DF",
        "balance": 799345352502840531
    }
}

Take a look at how you might call this method using our official libraries, or via curl

Last updated

Was this helpful?