Skip to main content
POST
/
api
/
v1
/
wallet
/
virtual
/
add-funds
curl --request POST \ --url https://mcp.echozero.app/api/v1/wallet/virtual/add-funds \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "amountInSol": 1 } '
{
  "success": true,
  "data": {
    "success": true,
    "transactionId": "<string>"
  }
}

Authorizations

x-api-key
string
header
required

Headers

x-signature
string

HMAC-SHA256 signature: HMAC-SHA256(secretKey, timestamp + METHOD + path + body). Optional -- when omitted, HMAC verification is skipped.

x-timestamp
string

Request timestamp in epoch milliseconds. Required when x-signature is provided. Rejected if drift exceeds 5 minutes.

Body

application/json

OpenAPI: McpWalletAddVirtualFundsBodyDto. GraphQL: AddFundsToVirtualWalletArgs in apps/gql-main/src/wallet/args/walletOperation.args.ts.

amountInSol
number
required

Amount in SOL to add to the virtual wallet

Response

200 - application/json

Virtual credit result.

success
boolean
required
Example:

true

data
object
required

Endpoint-specific payload