curl --request POST \
--url https://api.example.com/api/v1/wallet/create \
--header 'Content-Type: application/json' \
--data '
{
"ark_server": "<string>",
"chain_source": {
"bitcoind": {
"bitcoind": "<string>",
"bitcoind_auth": {
"cookie": {
"cookie": "<string>"
}
}
}
},
"network": "mainnet",
"birthday_height": 1,
"mnemonic": "<string>"
}
'{
"fingerprint": "<string>"
}Creates a new wallet with the specified Ark server and chain source configuration. Fails if a wallet already exists. Returns the wallet fingerprint on success.
curl --request POST \
--url https://api.example.com/api/v1/wallet/create \
--header 'Content-Type: application/json' \
--data '
{
"ark_server": "<string>",
"chain_source": {
"bitcoind": {
"bitcoind": "<string>",
"bitcoind_auth": {
"cookie": {
"cookie": "<string>"
}
}
}
},
"network": "mainnet",
"birthday_height": 1,
"mnemonic": "<string>"
}
'{
"fingerprint": "<string>"
}The Ark server to use for the wallet
The chain source to use for the wallet
Show child attributes
The network to use for the wallet
mainnet, signet, mutinynet, regtest An optional birthday height to start syncing the wallet from
x >= 0The optional mnemonic to use for the wallet
Wallet created successfully
Was this page helpful?