Skip to main content
POST
/
v1-alpha2
/
wallets
/
{walletLocator}
/
balances
Fund Wallet
curl --request POST \
  --url https://staging.crossmint.com/api/v1-alpha2/wallets/{walletLocator}/balances \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <x-api-key>' \
  --data '{
  "amount": 10,
  "currency": "usdc",
  "chain": "base-sepolia"
}'
[
  {
    "currency": "usdc",
    "decimals": 6,
    "balances": {
      "base": "121000000",
      "ethereum": "121000000",
      "total": "242000000"
    }
  },
  {
    "currency": "eth",
    "decimals": 18,
    "balances": {
      "ethereum": "1000000000000000000",
      "total": "1000000000000000000"
    }
  }
]
This is an alpha API and subject to change.
This endpoint is only available in staging and only supports USDC and USDXM.

Headers

X-API-KEY
string
required

API key required for authentication

Path Parameters

walletLocator
string
required

A wallet locator can be of the format:

  • <walletAddress>
  • email:<email>:<walletType>
  • userId:<userId>:<walletType>
  • phoneNumber:<phoneNumber>:<walletType>

Body

application/json

Parameters required to fund a wallet

amount
number
required

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

Required range: 1 <= x <= 100
Example:

10

currency
enum<string>
required

The currency to fund the wallet with

Available options:
eth,
matic,
pol,
sei,
chz,
avax,
xai,
fuel,
vic,
usdc,
usdce,
busd,
usdxm,
weth,
degen,
brett,
toshi,
eurc,
bonk,
wif,
mother,
sol,
ada,
bnb,
sui,
apt,
sfuel
Example:

"usdc"

chain

The chain to fund the wallet with

Available options:
arbitrum-sepolia,
avalanche-fuji,
base-sepolia,
barret-testnet,
ethereum-sepolia,
optimism-sepolia,
polygon-amoy,
sei-atlantic-2-testnet,
skale-nebula-testnet,
soneium-minato-testnet,
viction-testnet
Example:

"base-sepolia"

Response

201 - application/json

Funds sent successfully.

The balances of the wallet

currency
enum<string>
required

The cryptocurrency

Available options:
eth,
matic,
pol,
sei,
chz,
avax,
xai,
fuel,
vic,
usdc,
usdce,
busd,
usdxm,
weth,
degen,
brett,
toshi,
eurc,
bonk,
wif,
mother,
sol,
ada,
bnb,
sui,
apt,
sfuel
Example:

"eth"

decimals
number
required

The number of decimals of the currency

Example:

18

balances
object
required

The balance of the wallet in different chains