Generate private key
POST {{url}}/v3/flow/wallet/priv
1 credit per API call.
Generate private key of address from mnemonic for given derivation path index. Private key is generated for the concrete index - each mnemonic can generate up to 232 private keys starting from index 0 until 232-1.
Request Body
{"mnemonic"=>"alert hedgehog oak short mail flock nation vintage pigeon youth affair weird kick mad matrix provide exhaust labor turtle gown mango liar lesson toe", "index"=>0}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"key":"cTmS2jBWXgFaXZ2xG9jhn67TiyTshnMp3UedamzEhGm6BZV1vLgQ"}