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"}

Changes

Changed in 4 of the 13 revisions of this API.214

    • removed the request property

      request-property-removed

    • added the new optional request property

      new-optional-request-property

    • added the optional property // to the response with the status

      response-optional-property-added

    • added the optional property // to the response with the status

      response-optional-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the response's body type changed from object to no type for status

      response-body-type-changed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the response's body type changed from no type to object for status

      response-body-type-changed

    • endpoint added

      endpoint-added

    This revision also has 7 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog