Skip to main content
Time: 10-15 minutes. Integrate from TypeScript via the SDK, or from any language via the REST API. Either way, run it server-side — keys and signing stay on your infrastructure. WalletSuite returns unsigned transaction payloads you sign with your existing signer (KMS, HSM, custodian, or a local wallet).

What Your Application Will Be Able to Do

  • Query any wallet’s balance across multiple chains with fiat valuations
  • Look up token prices in real-time
  • Estimate transaction fees before executing
  • Prepare unsigned transaction payloads for your signing infrastructure
  • Resolve token contract addresses from symbols or names

Prerequisites

  • WalletSuite API key — see Credentials & Authentication
  • One of: Node.js 18+ (for the TypeScript SDK), Python 3.9+ with requests, or any HTTP client (curl, Go’s net/http, Ruby’s net/http, etc.)

Step 1 — Install

Step 2 — Initialize the Client

Store your API key in an environment variable or secret manager. Do not hardcode it in source files.

Step 3 — Query a Balance

For all token balances on a chain:

Step 4 — Get a Price

Step 5 — Estimate Fees

Step 6 — Prepare a Transfer

The response contains everything your signing infrastructure needs: nonce, gas parameters, calldata, and value. Sign this payload with your own key management (HSM, KMS, or any signer) and broadcast via your infrastructure or the WalletSuite API.

Token Transfers

For ERC-20 token transfers, resolve the contract first:

Error Handling

The SDK throws a typed ApiError carrying the HTTP status; the REST API returns the ApiResponse envelope (ok, code, message) alongside that status. Branch on it:
See SDK Error Handling for the full error taxonomy and handling patterns.

Architecture Recommendation

Run the SDK server-side, not in the browser. The integration shape:
This keeps your API key on the server, keeps signing inside your existing key infrastructure, and lets you add your own auth, rate limiting, and business logic between the user and WalletSuite. The SDK never sees keys or signed payloads — it returns typed unsigned payloads with everything your signer needs (nonce, gas parameters, calldata, value).

Next Steps