curl --request POST \
--url https://mcp.echozero.app/api/v1/wallet/mode \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-signature: <x-signature>' \
--header 'x-timestamp: <x-timestamp>' \
--data '{}'{
"success": true,
"data": {
"isVirtualMode": true,
"message": "<string>"
}
}Wallet
Toggle wallet mode
Mirrors GraphQL toggleWalletMode.
POST
/
api
/
v1
/
wallet
/
mode
curl --request POST \
--url https://mcp.echozero.app/api/v1/wallet/mode \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-signature: <x-signature>' \
--header 'x-timestamp: <x-timestamp>' \
--data '{}'{
"success": true,
"data": {
"isVirtualMode": true,
"message": "<string>"
}
}Authorizations
Headers
Required for API-key authenticated requests. HMAC-SHA256(secretKey, timestamp + METHOD + path + body) as lowercase hex. Omit only for JWT/OAuth session tokens or public routes.
Required with x-signature. Epoch milliseconds; rejected if drift exceeds 5 minutes. Omit only for JWT/OAuth session tokens or public routes.
Body
application/json
OpenAPI: McpWalletToggleModeBodyDto. GraphQL: WalletModeArgs in apps/gql-main/src/wallet/args/walletMode.args.ts.
true = virtual trading mode, false = real wallet mode (omit to use server default toggle behavior)