Skip to main content
POST
/
api
/
v1
/
wallet
/
generate
/
secret-key
cURL
curl --request POST \
  --url https://dash.betteruseblockchain.com/api/v1/wallet/generate/secret-key \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "network": "<string>",
  "mnemonic": "<string>"
}'
{
  "data": {
    "key": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
network
string

The blockchain network such as XDC, ETH, BTC, BSC, POL

mnemonic
string

The mnemonic phrase that can restore access to all generated addresses and private keys

Response

Private key generated successfully

data
object
I