This route generates a seed phrase.The route first generates a BIP39 12 word mnemonic phrase that can be used to create a wallet.The route then returns the generated phrase.
Responses
get
GET /api/v1/wallet/mnemonic HTTP/1.1
Host: www.dyorbackend.tk
Accept: */*
{
"ok": true,
"result": {
"mnemonic": "text spend weapon annual true elevator relief fee honey two crunch grunt"
}
}
Creates wallet from a seed phrase.
post
This route creates a hierarchical deterministic (HD) wallet.The route first gets the seed phrase from the payload and checks for validity.The route then creates a wallet and returns the required data.
body
Responses
post
POST /api/v1/wallet/create HTTP/1.1
Host: www.dyorbackend.tk
Accept: */*
This route recovers a crypto wallet using the private key.The route first finds the wallet with the given private key.The route then returns the address and private key of the wallet found.
body
Responses
post
POST /api/v1/wallet/recover/key HTTP/1.1
Host: www.dyorbackend.tk
Accept: */*
This route recovers a crypto wallet using the seed phrase.The route first tests the BIP39 mnemonic seed phrase validity.The route then returns the address and private key of the wallet found.
body
Responses
post
POST /api/v1/wallet/recover/mnemonic HTTP/1.1
Host: www.dyorbackend.tk
Accept: */*