Activate HD Wallet (xPub, yPub, zPub)

Through this endpoint you can activate a deactivated HD wallet.

Single Result - This endpoint returns only one single result. POST /blockchain-data/{blockchain}/{network}/hd/{extendedPublicKey}/activate

Path Parameters

  • Required
    blockchain string

    Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.

    Example : ethereum
    Possible Values : binance-smart-chain bitcoin bitcoin-cash dash dogecoin ethereum ethereum-classic litecoin tron xrp zcash
  • Required
    extendedPublicKey string

    Defines the account extended publicly known key which is used to derive all child public keys.

    Example : xpub6C25R29GcNuxTsDMDmkfBXi2eqg6PyAJtSX8EVMK7scsSVrLfHCLK3LtR3GvAgoGe8vJF7R85BbTxGsSSertPTXzJy2EyJWhHvWTrJmZpHa
  • Required
    network string

    Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - "mainnet" is the live network with actual data while networks like "testnet", "goerli" are test networks.

    Example : sepolia
    Possible Values : mainnet testnet mordor nile sepolia

Query parameters

  • Optional
    context string

    In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

    Example : yourExampleString

Request body schema application/json

  • Optional
    context string

    In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

    Example : yourExampleString
  • Required
    data object
    • Required
      item object

Response schema

200 400 401 402 403 409 415 422 429 500
HTTP Status Code: 200
Content-Type: application/json

The resource has been successfully created.

  • Object :

  • Required
    apiVersion string

    Specifies the version of the API that incorporates this endpoint.

    Example : 2023-04-25
  • Required
    requestId string

    Defines the ID of the request. The requestId is generated by Crypto APIs and it's unique for every request.

    Example : 601c1710034ed6d407996b30
  • Optional
    context string

    In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

    Example : yourExampleString
  • Required
    data object
    • Required
      item object
      • Required
        blockchain string

        Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.

        Example : ethereum
      • Required
        extendedPublicKey string

        Defines the account extended publicly known key which is used to derive all child public keys.

        Example : xpub6C25R29GcNuxTsDMDmkfBXi2eqg6PyAJtSX8EVMK7scsSVrLfHCLK3LtR3GvAgoGe8vJF7R85BbTxGsSSertPTXzJy2EyJWhHvWTrJmZpHa
      • Required
        isActive boolean

        Define the activity status of the hd wallet - if it is active or not

        Example : True
      • Required
        network string

        Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - "mainnet" is the live network with actual data while networks like "testnet", "goerli" are test networks.

        Example : goerli
      • Required
        syncStatus string

        Defines the sync status of the hd wallet - if it is synced or not

        Example : DONE

Credits Cost : 1000 Credits For 1 Result(s)

Try it out

Request Example

POST
https://rest.cryptoapis.io/blockchain-data/ethereum/sepolia/hd/xpub6C25R29GcNuxTsDMDmkfBXi2eqg6PyAJtSX8EVMK7scsSVrLfHCLK3LtR3GvAgoGe8vJF7R85BbTxGsSSertPTXzJy2EyJWhHvWTrJmZpHa/activate?context=yourExampleString
Headers
Content-Type: application/json
X-API-Key: my-api-key

Request Body
{
    "context": "yourExampleString",
    "data": {
        "item": {}
    }
}

Response Example

{
    "apiVersion": "2023-04-25",
    "requestId": "601c1710034ed6d407996b30",
    "context": "yourExampleString",
    "data": {
        "item": {
            "blockchain": "ethereum",
            "extendedPublicKey": "xpub6C25R29GcNuxTsDMDmkfBXi2eqg6PyAJtSX8EVMK7scsSVrLfHCLK3LtR3GvAgoGe8vJF7R85BbTxGsSSertPTXzJy2EyJWhHvWTrJmZpHa",
            "isActive": true,
            "network": "goerli",
            "syncStatus": "DONE"
        }
    }
}