POST
/
v1-alpha2
/
wallets
/
{walletLocator}
/
balances
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,
  "token": "usdc",
  "chain": "base-sepolia"
}'
[
  {
    "token": "usdc",
    "decimals": 6,
    "balances": {
      "base": "121000000",
      "ethereum": "121000000",
      "total": "242000000"
    }
  },
  {
    "token": "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>
  • userId:<userId>:<walletType> (white label user example)
  • phoneNumber:<phoneNumber>:<walletType>
  • twitter:<handle>:<walletType>
  • x:<handle>:<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

token
enum<string>
required

The currency to fund the wallet with

Available options:
ape,
eth,
matic,
pol,
sei,
chz,
avax,
xai,
fuel,
vic,
ip,
zcx,
usdc,
usdce,
busd,
usdxm,
weth,
degen,
brett,
toshi,
eurc,
superverse,
pirate,
bonk,
trump,
fartcoin,
giga,
moodeng,
jailstool,
wen,
mlg,
duo,
pep,
harambe,
usedcar,
vine,
fartboy,
pnut,
stonks,
mew,
baby,
michi,
butthole,
anglerfish,
usa,
chillguy,
sigma,
maneki,
purpe,
lockin,
y2k,
fafo,
nub,
fullsend,
shoggoth,
mini,
llm,
sc,
fatgf,
pwease,
popcat,
spx,
fwog,
mother,
wif,
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.
token
enum<string>
required

The token

Available options:
ape,
eth,
matic,
pol,
sei,
chz,
avax,
xai,
fuel,
vic,
ip,
zcx,
usdc,
usdce,
busd,
usdxm,
weth,
degen,
brett,
toshi,
eurc,
superverse,
pirate,
bonk,
trump,
fartcoin,
giga,
moodeng,
jailstool,
wen,
mlg,
duo,
pep,
harambe,
usedcar,
vine,
fartboy,
pnut,
stonks,
mew,
baby,
michi,
butthole,
anglerfish,
usa,
chillguy,
sigma,
maneki,
purpe,
lockin,
y2k,
fafo,
nub,
fullsend,
shoggoth,
mini,
llm,
sc,
fatgf,
pwease,
popcat,
spx,
fwog,
mother,
wif,
sol,
ada,
bnb,
sui,
apt,
sfuel
Example:

"eth"

decimals
number
required

The number of decimals of the token

Example:

18

balances
object
required

The balance of the wallet in different chains