Skip to main content
Skill — Copyable reference implementation. Use as-is or customize. See Skills Philosophy.

Send ETH & Tokens

This guide covers sending ETH to addresses, building and signing transactions, sending ERC20 tokens, and checking transaction status.

Prerequisites

  • A provider (EIP-1193 compatible)
  • Private key for signing (for raw transactions)
  • Some ETH for gas

Sending ETH

Using eth_sendTransaction (Wallet Provider)

If you’re using a wallet provider (MetaMask, WalletConnect), the wallet handles signing:

Building and Signing Raw Transactions

For programmatic signing without a wallet:

Using Denomination Helpers

Convert between ETH, Gwei, and Wei:

Sending ERC20 Tokens

Using Contract Module

The Contract module provides type-safe token transfers:

With Gas Estimation

Estimate gas before sending to avoid failures:

Manual Token Transfer

Build the transaction manually for more control:

Checking Transaction Status

Get Transaction Receipt

Get Transaction Details

Wait for Confirmations

Error Handling

Handle common transaction failures:

Transaction Types

Voltaire supports all Ethereum transaction types:

Legacy Transaction