Wallet Management
Get or Create Wallet
Get or create a wallet for the given chain and return its public address. If a wallet doesn’t exist for the user and chain combination, one will be created automatically.cURL
Request Parameters
The blockchain to create the wallet for. Available values:
ETH
, SOL
, BTC
Response Fields
The wallet’s public address on the specified blockchain.
Each user can have one wallet per blockchain. Calling this endpoint multiple times with the same user and chain will return the same wallet address.
Signing Operations
Sign Data
Sign a hash of arbitrary data using the wallet’s private key. This is useful for signing transaction data, typed data, or any structured information.cURL
Request Parameters
The blockchain to sign for. Available values:
ETH
, SOL
, BTC
The keccak256 hash of the data to sign (hex string with 0x postfix).
Response Fields
The hash that was signed.
The complete signature in hex format.
The r component of the ECDSA signature.
The s component of the ECDSA signature.
The recovery parameter of the ECDSA signature.
Sign Message
Sign an arbitrary message using the wallet’s private key. Useful for authentication, off-chain verification, and personal signatures.cURL
Request Parameters
The blockchain to sign for. Available values:
ETH
, SOL
, BTC
The message to sign, encoded as base64.
Response Fields
The complete signature in hex format.
The r component of the ECDSA signature.
The s component of the ECDSA signature.
The recovery parameter of the ECDSA signature.