Managed Signing
Get Wallet Balance

Knit API Documentation

Get Wallet Balance

Endpoint

GET

{{baseUrl}}/api/v1/managed-signing/wallets/{walletId}/balance

This endpoint fetches the balance of a single token for an EVM wallet. This is a live query to the blockchain — no balance data is stored locally.

Headers
  • X-API-KEY: Your API key for authentication.
  • Accept: Set to application/json to receive responses in JSON format.
Path Parameters
ParameterTypeRequiredDescription
walletIdstringYesThe local wallet ID returned by create/list endpoints
Query Parameters
ParameterTypeRequiredDescription
networkstringYesTarget network (e.g., ETH_MAINNET, MATIC_MAINNET)
contractAddressstringNoERC20 token contract address
tokenSymbolstringNoToken symbol (e.g., USDC, USDT)

Note: If both contractAddress and tokenSymbol are provided, contractAddress takes precedence. If only tokenSymbol is provided, the token is resolved from the supported tokens for that network.

Sample Request
curl --location -g '{{baseUrl}}/api/v1/managed-signing/wallets/<local-wallet-id>/balance?network=ETH_MAINNET&tokenSymbol=USDC' \
--header 'X-API-KEY: {{apiKey}}' \
--header 'Accept: application/json'
Sample Response
Sample Response
{
  "statusCode": 200,
  "message": "Wallet balance fetched",
  "data": {
    "tokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
    "tokenSymbol": "USDC",
    "decimals": 6,
    "balanceRaw": "1200000",
    "balanceFormatted": "1.2"
  },
  "success": true
}
Response Fields
FieldTypeDescription
tokenAddressstringERC20 token contract address
tokenSymbolstringToken symbol
decimalsnumberToken decimal places
balanceRawstringRaw balance in base units (e.g., wei)
balanceFormattedstringHuman-readable balance
Common Errors
StatusMessageDescription
400network is requiredMissing required network query parameter
400Unsupported network ...Network not in supported list
400Wallet is not active on network ...Wallet not configured for the requested network
400Provide contractAddress, or provide tokenSymbol...Missing token identifier
404Wallet not foundInvalid or non-existent wallet ID

Contact

business@useknit.io

Knit Business Financial Services Ltd.
3080 Yonge St
Toronto ON, M4N 3N1, Canada

Subscribe to our newsletter

A monthly digest of the latest news, articles, and resources.

Knit logo

© KNIT BUSINESS FINANCIAL SERVICES LIMITED is duly registered by the Financial Transactions and Reports Analysis Centre of Canada (FINTRAC) as a Money Service Business (C100000256)