Skip to main content

Transactions

Transactions require a signing client — either from a mnemonic (Node.js) or a wallet connection (browser).

Creating a Signing Client

Send Native Tokens

Send XYZ (Convenience)

Send Any Token

Send Options

Both sendXYZ and sendTokens accept optional parameters:

Execute Smart Contracts

Generic Contract Execution

CW20 Token Operations

The SDK provides dedicated helpers for common CW20 operations:

Transfer CW20

Mint CW20

Burn CW20

Send CW20 (to a Contract)

Used for launchpad sells and AMM swaps (CW20 Send pattern):

Increase CW20 Allowance

Transaction Results

All transaction functions return a result with:

Fee Configuration

The SDK auto-estimates gas by default. Override for specific use cases:

Next Steps

Queries

Read balances and contract state

Wallets

Connect Keplr, Leap, or XYZ Wallet