POST
https://api.stableyard.fi
/
sdk
/
v1
/
generate
curl -X POST https://api.stableyard.fi/sdk/v1/generate \
  -H "Authorization: Basic $(echo -n $STABLEYARD_APP_ID | base64)" \
  -H "Content-Type: application/json" \
  -d '{
    "userId": "user_abc123",
    "chainId": 1
  }'
{
  "success": true,
  "data": {
    "userId": "user_abc123",
    "depositAddress": "0xabcdef1234567890abcdef1234567890abcdef12",
    "chainType": "evm",
    "chainId": 1
  },
  "requestId": "req_xyz789"
}
Get a static deposit address for receiving funds on a specific chain.
Static Addresses — Deposit addresses are permanently bound to the Money Account’s userId. The same address is returned for repeat calls with the same userId and chainId. Users can deposit funds to this address multiple times, and all deposits automatically route to their vault.

Authentication

Authorization
string
required
Basic authentication. Value: Basic base64(STABLEYARD_APP_ID). Obtain your STABLEYARD_APP_ID from the Stableyard SDK.

Body Parameters

userId
string
required
Money Account’s unique identifier
chainId
integer
required
Chain ID for the deposit address (e.g., 1 for Ethereum, 137 for Polygon)

Response

success
boolean
Indicates if the request was successful
data
object
curl -X POST https://api.stableyard.fi/sdk/v1/generate \
  -H "Authorization: Basic $(echo -n $STABLEYARD_APP_ID | base64)" \
  -H "Content-Type: application/json" \
  -d '{
    "userId": "user_abc123",
    "chainId": 1
  }'
{
  "success": true,
  "data": {
    "userId": "user_abc123",
    "depositAddress": "0xabcdef1234567890abcdef1234567890abcdef12",
    "chainType": "evm",
    "chainId": 1
  },
  "requestId": "req_xyz789"
}

Supported Chains

ChainChain ID
Ethereum1
Polygon137
Base8453
Arbitrum42161
Optimism10