Quantum
  • Welcome to Quantum
  • Developer portal
    • Pricing
  • Self-Custody Infrastructure
    • Pincode Management
    • Private Key Management
  • Quickstart guide
  • Authentication
    • API Authentication
  • Faucets
  • Networks & URLs
  • Walletify Api
    • Overview
    • Getting started
    • User Management
    • Signing Methods
    • Testnet Assets
    • Basic Guides
      • Create a user
      • Retrieve a user
      • Update a user
      • Delete a user
      • Create a signing method
      • Update a signing method
      • Delete a signing method
      • Create a wallet
      • Retrieve wallet
      • Archive a wallet
      • Import a wallet
      • Export a wallet
      • Retrieve native balance
      • Retrieve ERC20 tokens
      • Retrieve NFTs
      • Transfer a native token
      • Transfer an ERC20 token
      • Transfer an NFT
      • Transfer a fungible token
      • Signatures
      • Read a contract
      • Execute a contract call
      • Get Transaction status
      • Resubmit a transaction
      • Get wallet events
      • Webhooks
    • Advanced Guides
      • Burn an NFT
      • Filter Spam NFTs
      • Filter NSFW NFTs
      • SWAP Token Pairs
      • Gasless/Meta Transactions
      • Sign RAW Transactions
      • Using Fiat Onramp with Walletify-API
      • Deploy an Ethereum contract
      • Integrate with WalletConnect
      • Set Up NFT Token Gating
      • Chain Specific Fields
      • Integrate with WalletConnect
      • Encrypted PIN Transfer
  • Nft Wizard Api
    • Overview
    • Getting started
    • Basic Guides
      • Get any NFT info
      • Get any NFT contract
      • Get NFTs by any wallet
      • Get wallets by any NFT
      • Create contract
      • Retrieve Contract
      • Delete Contract
      • Check Contract Status
      • Retrieve Contract Metadata
      • Update Contract Metadata
      • Create Token-type (NFT template)
      • Retrieve Token-type (NFT template)
      • Delete Token-type (NFT Template)
      • Check Token-type Status
      • Retrieve Token-type Metadata
      • Update Token-type Metadata
      • Mint an NFT
      • Batch Mint NFTs
      • Update NFT Metadata
      • Retrieve NFT Metadata
      • Add Audio to your NFTs
      • Add Video to your NFTs
      • Store NFT Media
      • Webhooks
    • Advanced Guides
      • Mass Minting
      • Speed Up Minting
      • Dynamic NFTs
      • Configure Royalties
      • Create Company Minter Wallet
      • Retrieve Company Minter Wallets
      • Store NFT Metadata on IPFS
      • View NFT on sandbox/testnet
    • NFT Configuration
      • Attributes
      • Animation & Media
      • Collection Info
      • Max Supply
      • Mint Number
      • Burnable
      • Metadata Storage
  • TMINTER API
    • Overview
    • Getting started
    • Basic Guide
      • Retrieve Any NFT Information
      • Retrieve NFT Contract Information
      • Retrieve NFTs by Wallet Address
      • Retrieve Wallets by NFT
      • Create a New NFT Contract
      • Retrieve a Contract
      • Delete a Contract
      • Check Contract Status
      • Retrieve Contract Metadata
      • Update Contract Metadata
      • Create Token-Type
      • Retrieve Token-Type
      • Delete Token-Type
      • Check Token-Type Status
      • Retrieve Token-Type Metadata
      • Update Token-Type Metadata
      • Mint a Single NFT
      • Batch Mint Multiple NFTs
      • Update NFT Metadata
      • Retrieve NFT Metadata
      • Add Audio to Your NFTs
      • Add Video to Your NFTs
      • Store NFT Media
      • Webhooks for NFT Events
    • Advance Guide
      • Dynamic NFT Creation
      • Token Economics and Supply Control
      • Advanced Minting: Royalty Distribution
      • Cross-Chain NFT Minting
      • NFT Sharding (Fractional Ownership)
      • Batch NFT Minting with Custom Metadata
      • Add Interactivity to NFTs
      • Advanced Media Integration: VR and AR
      • Webhook Triggers for Automated Processes
Powered by GitBook
On this page
  1. Walletify Api
  2. Basic Guides

Export a wallet

How to export an existing wallet.

PreviousImport a walletNextRetrieve native balance

Last updated 10 months ago

❗️WARNING!

Please note that we export a password secured keystore as it provides better protection against a man in the middle attack.

By default, we do not enable the permission of exporting the private key of a wallet because it carries certain risks. It is important for you to understand that exporting a wallet means the private key, which provides access to the wallet, is taken outside of our control.

If the private key falls into the wrong hands, it can be misused. If you are hacked, the hacker would be able to export all the wallets belonging to you. As a result, the hacker could directly drain the wallets using the private keys, and we would not be able to prevent it.

However, if the hacker has not been able to export the wallets and could only interact with them through our API, we would have the ability to intervene and prevent unauthorized access. So please, be aware of the risks involved in enabling this functionality in Production.

📘

Enable the functionality to export a wallet through the Wallet API section of the .

Enable wallet export from the Portal

HTTP

POST /api/wallets/{walletId}/export
Parameter
Param Type
Value
Description

Signing-Method

Header

id:value

id: This is the ID of the signing method value: This is the value of the signing method

Parameter
Param Type
Description
Data Type
Mandatory

walletId

Path

This ID of the wallet that you want to export

String

✅

pincode (Deprecated)

Body

PIN to decrypt the wallet

String

❌

password

Body

Password to secure the Keystore

String

✅

Example Response Body:

JSON

{
    "success": true,
    "result": {
        "keystore": "{\"address\":\"d7a742efa8f3b24bc39ef288c2eef3f1f6956a60\",\"id\":\"0c52bfce-0b64-4871-b6ff-30ef377a8fdd\",\"version\":3,\"crypto\":{\"cipher\":\"aes-128-ctr\",\"ciphertext\":\"1c1542c31c1ac5cab30a87d84a4091b150c508110859a8105a99c4cfc20357d3\",\"cipherparams\":{\"iv\":\"99ecb2a2fd5e9f081f9efdb8002b7a09\"},\"kdf\":\"scrypt\",\"kdfparams\":{\"dklen\":32,\"n\":262144,\"p\":1,\"r\":8,\"salt\":\"3646bcc831f00926890e4801cd741514846249ed5b1c79a6d2476b5cf4f4848c\"},\"mac\":\"bbbc32f0ebc35818459da82382cd44c6c16021da9e9bb62c7fc749f042cb4764\"}}"
    }
}

Request Endpoint:

reference
Portal
Enable wallet export from the Portal