Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Coins

A record mapping denoms to base-unit amount strings. The canonical multi-coin payload across the SDK.

Definition

type Coins = Record<Denom, string>

Construction

import type { Coins } from "@left-curve/sdk"
 
const wallet: Coins = {
  dango: "1500000000",
  "bridge/usdc": "1000000",
}

Notes

  • Order-independent; keys are denoms, values are base-unit amounts.
  • Identical shape to Funds — the SDK distinguishes them by intent only (Coins is a balance/snapshot, Funds is "coins attached to a call").

See also