cURL
curl --request POST \ --url http://localhost:8000/gateway/wallets/create \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "chain": "<string>", "set_default": true } '
{}
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
Request to create a new wallet in Gateway
Blockchain chain (e.g., 'solana', 'ethereum')
Set as default wallet for this chain
Successful Response
The response is of type Response Create Wallet Gateway Wallets Create Post · object.
Response Create Wallet Gateway Wallets Create Post · object
Was this page helpful?