Generate the private key for a Bitcoin address
POST {{baseUrl}}/v3/bitcoin/wallet/priv
1 credit per API call.
Tatum supports BIP44 HD wallets. Because they can generate 231 addresses from 1 mnemonic phrase, they are very convenient and secure. A mnemonic phrase consists of 24 special words in a defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
- Private Key - your secret value, which should never be revealed
- Public Key - public address to be published
- Derivation index - index of generated address
Tatum follows BIP44 specification and generates for Bitcoin wallet with derivation path m'/44'/0'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki. Generate BIP44 compatible Bitcoin wallet.
Request Body
{"index"=>0, "mnemonic"=>"urge pulp usage sister evidence arrest palm math please chief egg abuse"}
RESPONSES
status: OK
{"key":"cTmS2jBWXgFaXZ2xG9jhn67TiyTshnMp3UedamzEhGm6BZV1vLgQ"}