Skip to content
On this page

Wallets

Wallets are self-custody digital storage for cryptocurrencies. Wallets are secured with a private key and allow you to send, receive and hold cryptocurrencies like BTC, ETH etc.

With wallets, the user always remains in control of their cryptocurrency and can choose to move it to another wallet at any time, with no restriction.

DANGER

Due to the nature of this product, it is not available in staging.

Create a wallet

Endpoint

{BASE_URL}/web3/wallet/:CHAIN

Method: POST.

Available Chain

The available chains are ETH, MATIC, BTC

Sample Request

curl --location --request POST 'https://api.stack-ft.com/web3/wallet/MATIC' \
--header 'Authorization: API_KEY' \
--data-raw ''

Sample Response

json
{
    "status": "success",
    "request_id": "6aeecbd7-01a0-4cb3-85d3-5cc0dc6b2aac",
    "wallet": {
        "address": "0x4e8b521c85f40492badcb396e22ef17cc7422470",
        "currency": "MATIC",
        "private_key": "0x1069f64cdaba249943b18c935f8c2c2a3b8cc5c9c099b0ca2ce",
        "mnemonic": "eye category plastic later firm special elegant metal vacant one ball hard ay wave nose bundle"
    }
}

INFO

Private key and memonic have both been altered in the example to prevent abuse