(un)Archive a wallet

(un)Archive a wallet

PATCH https://api-wallet.venly.io/api/wallets/:walletId

Request Body

NameTypeDescription

archived

boolean

true / false

PATCH : https://api.arkane.network/api/wallets/<WALLET_ID>/security

Archived wallets will no longer be returned in any of our endpoints and you will no longer be able to use it in any way.

You are able to unarchive a wallet at any time. You do however need the `walletID` to perform this operation. Make sure to store it somewhere to be able to unarchive the wallet in a later stage!

Example Archive

Request

PATCH https://api-wallet.venly.io/api/wallets/9e8af613-e8da-4fa6-8bcc-7e589d2c7d74

Request body

{ 
    "archived": true 
}

Response

{
    "success": true,
    "result": {
        "id": "9e8af613-e8da-4fa6-8bcc-7e589d2c7d74",
        "address": "0xf51Be4152f8E3ad3557E44Db1F803bA3e4c5DeB5",
        "walletType": "THREEWAY_SHARED",
        "secretType": "ETHEREUM",
        "createdAt": "2022-04-05T08:29:44.026438",
        "archived": true,
        "description": "Likable Hedgehog",
        "primary": false,
        "hasCustomPin": false
    }
}

Example Unarchive

Request

PATCH https://api-wallet.venly.io/api/wallets/9e8af613-e8da-4fa6-8bcc-7e589d2c7d74

Request body

{ 
    "archived": false 
}

Response

{
    "success": true,
    "result": {
        "id": "9e8af613-e8da-4fa6-8bcc-7e589d2c7d74",
        "address": "0xf51Be4152f8E3ad3557E44Db1F803bA3e4c5DeB5",
        "walletType": "THREEWAY_SHARED",
        "secretType": "ETHEREUM",
        "createdAt": "2022-04-05T08:29:44.026438",
        "archived": false,
        "description": "Likable Hedgehog",
        "primary": false,
        "hasCustomPin": false
    }
}

Last updated