POST /wallet/get
Returns metadata about a wallet owned by your account.
Request
Field | Type | Required | Notes |
---|---|---|---|
api_key | string | ✓ | Customer API key. |
wallet_id | string | ✓ | Accepts wallet ID (w_<uuid> ), on-chain address, or wallet name. |
Response
last_used
updates when a send completes.result
is always"ok"
on success.metadata
echoes the custom JSON you set on creation or send (null
when not provided).
Not found response
Errors
Status | Payload | When it happens |
---|---|---|
400 | { "error": "Missing required fields" } | api_key or wallet_id omitted. |
403 | { "error": "API key is not valid" } | API key fails validation. |
404 | { "error": "Wallet not found" } | The wallet ID/address does not belong to your account. |
500 | { "error": "<message>" } | Unexpected service error. |
SDK equivalents
- JavaScript:
client.getWallet({ walletId })
- Python:
client.get_wallet(wallet_id)