curl --request POST \
  --url https://testnet.walletkit.com/wallets/import \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "network": "Avalanche",
  "name": "User Wallet",
  "owner_id": "58c9095e-24db-43eb-b49d-ddc305c2b6f7",
  "type": "eoa",
  "control_mode": "user",
  "private_key": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
  "user_pin": "111111"
}'
{
  "id": "1427fe1c-226e-4dde-a0a1-d46c4521084b",
  "created_at": "2024-01-31T11:36:06.395674-08:00",
  "network": "Avalanche",
  "name": "User Wallet",
  "owner_id": "58c9095e-24db-43eb-b49d-ddc305c2b6f7",
  "address": "0x1Be31A94361a391bBaFB2a4CCd704F57dc04d4bb"
}

Headers

X-WalletKit-Project-ID
string
required

Your WalletKit Project ID can be found on the API Keys page in the WalletKit Dashboard.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

The response is of type object.