Exporting a wallet returns the wallet’s mnemonic seed, encrypted to the client’s public key. The customer decrypts it on their device and can then import the wallet into any compatible self-custody client. Grid never sees the plaintext seed leaving the system. Export uses the same signed-retry pattern as credential and session revocation — the initialDocumentation Index
Fetch the complete documentation index at: https://ramps-04-30-docs-add-grid-tutorial-skill-interactive-zero-t.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
POST returns a payloadToSign, and the signed retry returns the encrypted seed.
Generate a fresh P-256 client key pair specifically for the export. Send its clientPublicKey on both export requests, then decrypt encryptedWalletCredentials with the matching private key after the signed retry succeeds.
Client signs the payload
Sign
payloadToSign with an active session signing key on the account. Keep the export private key on the client; Grid will use the matching clientPublicKey from step 1 to seal the wallet credentials.Decrypt on the client
encryptedWalletCredentials uses the same base58check/HPKE format as encryptedSessionSigningKey. Decrypt with the export private key that matches the clientPublicKey you sent on both export requests — see decrypt the session signing key for code.The plaintext is a BIP-39 mnemonic (the wallet’s master seed).