v1

latestOpenAPI 3.0.12026-07-2699111970.1 KB

Fund Wallet

Send funds to a wallet.

API scope required: wallets.fund

post/v1-alpha2/wallets/{walletLocator}/balances

Path parameters

walletLocatorstring required

A wallet locator can be of the format:

  • <walletAddress>
  • email:<email>:<walletType>
  • userId:<userId>:<walletType>
  • userId:<userId>:<walletType> (white label user example)
  • phoneNumber:<phoneNumber>:<walletType>
  • twitter:<handle>:<walletType>
  • x:<handle>:<walletType>
  • me:<walletType> (Use when calling from the client side with a client API key)

Headers

X-API-KEYstring required

API key required for authentication

Request body

amountnumber required

The amount of currency to fund the wallet with. Between 1 and 100

token'usdxm' required

The currency to fund the wallet with. Only USDXM is supported.

chain'arbitrum-sepolia' | 'avalanche-fuji' | 'base-sepolia' | 'ethereum-sepolia' | 'optimism-sepolia' | 'polygon-amoy' | 'sei-atlantic-2-testnet' | 'skale-nebula-testnet' | 'soneium-minato-testnet' | 'viction-testnet' | 'solana' | 'stellar' required

The chain to fund the wallet with

Example request

{
  "amount": 10,
  "token": "usdxm",
  "chain": "base-sepolia"
}

Response

Funds sent successfully.

token'ape' | 'bnb' | 'coti' | 'eth' | 'pathusd' | 'matic' | 'mnt' | 'pol' | 'plume' | 'sei' | 'chz' | 'avax' | 'xai' | 'fuel' | 'hbar' | 'vic' | 'ip' | 'zcx' | 'u2u' | 'flow' | 'usdc' | 'usdce' | 'busd' | 'usdxm' | 'usdt' | 'credit' | 'usdf' | 'pyusd0' | 'eurc' | 'usdg' | 'weth' | 'degen' | 'superverse' | 'pirate' | 'wld' | 'xmeme' | 'alphausd' | 'betausd' | 'thetausd' | 'wirex-usdc' | 'bonk' | 'phantom-cash' | 'xlm' | 'usdm0' | 'usdm1' | 'mgusd' | 'wirex-usdc' | 'sol' | 'sui' | 'apt' | 'sfuel' | 'xion' required

The token

decimalsnumber required

The number of decimals of the token

balancesobject required

The balance of the wallet in different chains

Example response

[
  {
    "token": "eth",
    "decimals": 18
  }
]