Skip to main content

Overview

Token identifiers in Prudra are string symbols such as USDC, USDT, USDC_E, DAI, and native ETH where applicable. The server resolves each (chain, token) pair to a contract address and decimals. If a pair is not configured, the API returns a validation error before signing.

Common tokens

SymbolTypical usage
USDCUSD Coin on EVM L1/L2s.
USDTTether.
USDC_EBridged / tempo-specific USDC variant (see Tempo docs).
DAIMakerDAO stablecoin.
ETHNative gas token for EVM chains.
Exact availability depends on the chain. Always rely on server validation rather than assuming a symbol works everywhere.

SDK

@prudra/core exports Token and type TokenType:
import { Token } from '@prudra/core';

await transferManagedTokens({
  fromToken: Token.USDC,
  toToken: Token.USDT,
  // ...
});

API validation

Transfer and withdrawal bodies include fromToken, toToken, or token fields. Prudra checks:
  1. Chain is supported.
  2. Token contract exists for that chain.
  3. Amount parses as a non-negative decimal string compatible with token decimals.