Skip to main content

Wallets API

Base URL (staging): https://mcap-api-564778804231.us-east4.run.app

Get Wallet Balance (JWT)​

POST /v1/wallets/balance
Authorization: Bearer <jwt>
{
"provider_id": "<UUID>",
"wallet": "0x...",
"token_ids": ["<UUID>"]
}

Withdraw (JWT)​

POST /v1/wallets/withdraw
Authorization: Bearer <jwt>
{
"token_id": "<UUID>",
"amount": "1000000000000000000"
}

Get Provider Balance (Provider)​

POST /v1/providers/wallets/balance
Authorization: Bearer <api_key>
{
"session_id": "<UUID>"
}