Get blockchain wallet info
GET /wallets/blockchain
curl https://api.midasprotocol.org/wallets/blockchain \
-H "Authorization: Bearer pp_your_key"
Response:
{
"configured": true,
"network": "base",
"address": "0x...",
"onChainBalances": { "USDC": "100.00", "ETH": "0.001" },
"depositInfo": {
"address": "0x...",
"network": "base",
"supportedTokens": ["USDC"]
}
}
Activate blockchain wallet
POST /wallets/activate-blockchain
If your agent doesn’t have an on-chain wallet yet, call this to generate one.
curl -X POST https://api.midasprotocol.org/wallets/activate-blockchain \
-H "Authorization: Bearer pp_your_key"
Response:
{
"status": "activated",
"blockchainAddress": "0x...",
"network": "base",
"depositInfo": { ... }
}