Private Key API

This Request will return users their own private key to import or buy with a stage wallet account.

Private Key API

get
https://api.stagemeta.dev
/metamask/private-key
Curl
Node
curl -X 'GET' \
'https://api.stagemeta.dev/metamask/private-key?code=123' \
-H 'accept: application/json' \
-H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MzE4LCJpYXQiOjE2ODE1NzkzODN9.IVwG13FW0sF8XicJJh8W7yMOxKp5Zhsyazju1qVLI04'
fetch('https://api.stagemeta.dev/metamask/private-key?code=123', {
method: 'GET',
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json'
}
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error(error));