v13

latestOpenAPI 3.1.0raw.githubusercontent.com2026-04-0815390371.2 KB
Accounts

Add Gateway Wallet

Add an existing wallet to Gateway using its private key. Gateway handles encryption and storage internally.

Args: wallet_credential: Wallet credentials (chain, private_key, and optional set_default)

Returns: Wallet information from Gateway including address

Raises: HTTPException: 503 if Gateway unavailable, 400 on validation error

post/accounts/gateway/add-wallet

Request body

chainstring required

Blockchain chain (e.g., 'solana', 'ethereum')

private_keystring required

Wallet private key

set_defaultboolean

Set as default wallet for this chain

Response

Successful Response

{"stackTrail":"paths:/accounts/gateway/add-wallet:post:responses:201:content:application/json:schema","oasType":"schema","type":"unknown"}