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 (Coinsis a balance/snapshot,Fundsis "coins attached to a call").
See also
Coin— single denom variantFundsgetBalances