curl --request POST \
  --url https://testnet.walletkit.com/wallets/export \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "network": "Polygon",
  "address": "0x976Cf57B7EE1D84E73BE9115457889d49a8A1335",
  "user_pin": "123456"
}'
{
  "mnemonic_phrase": "candy maple cake sugar pudding cream honey rich smooth crumble sweet treat"
}

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
headerrequired

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

Body

application/json
network
enum<string>
required
Available options:
Ethereum,
Polygon,
Base,
Avalanche,
Polkadot,
Vara
address
string
required
user_pin
string | null
required

A 6-digit numeric pin that is only known to the user, set during wallet creation. This pin is required to sign transactions from this wallet.

Response

200 - application/json
mnemonic_phrase
string | null
private_key
string | null