Bitcoin Wallets
Create a new Wallet
This method will create a new wallet for you. The wallet will be stored in our database and you can access it with the wallet name. The wallet will be encrypted with the password you provide.
after creating the wallet, you can create several addresses for the wallet. There is no need to create a new wallet for each address.
<aside class="notice">We do not store Passowrds! If you lose it, we cannot restore your wallet! </aside>post/api/v2/bitcoin/wallets
Request
- Base URLhttps://app.chaingateway.io
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
X-Network'testnet' | 'mainnet'
Specify "testnet" for test network or leave empty for main network. Defaults to "mainnet" if not provided.
Authorizationstring required
Bearer token for authorization. Required for authenticated endpoints.
Content-Type'application/json' | 'application/x-www-form-urlencoded' | 'multipart/form-data' required
The MIME type of the request body.
Request body
Example request
{
"password": "|]|{+-"
}Response
Example response
{
"status": 201,
"ok": true,
"message": "Address created",
"data": {
"bitcoinwallet": "01HP6FVARVTQES6WW8QHC5WHPT"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.