Skip to main content
The SDK uses a unified address format called OmniAddress. It’s simple: a chain prefix, a colon, and the native address.

Examples

Chain Prefixes

Tokens Use The Same Format

Token addresses are also OmniAddresses:

Native Tokens

For native tokens (ETH, SOL, etc.), use the zero address or default representation:

Utility Functions

The SDK provides helpers for working with OmniAddresses:

ChainKind Enum

For programmatic use, the SDK provides a ChainKind enum:

Validation

validateTransfer() automatically validates addresses. Invalid addresses throw a ValidationError: