Phu Quoc Dog
Search…
Account service

Create an wallet

To created an wallet on blockchain phuquocdog
1
//
2
curl -H "Content-Type: application/json" -X POST https://account-service.phuquoc.dog
3
Copied!
Sample response:
1
{
2
"status": true,
3
"mnemonic": {
4
"phrase": "trouble strike stairs inherit table luggage wolf nest upon like slam repeat"
5
},
6
"address": "5EUVQGKHHEus6b2YwkTxD4jtkFeNLcb4kp5DwPV1FLcBngJy"
7
}
Copied!

Get address wallet

1
// Some code
2
data.json
3
{
4
"phrase": "trouble strike stairs inherit table luggage wolf nest upon like slam repeat"
5
}
6
curl -d data.json -H "Content-Type: application/json" -X POST https://account-service.phuquoc.dog/pharase
7
Copied!
Sample response:
1
{
2
"status": true,
3
"address": "5EUVQGKHHEus6b2YwkTxD4jtkFeNLcb4kp5DwPV1FLcBngJy"
4
}
Copied!

Transactions

To send PQD coin use that endpoint below:
HTTP Request: POST https://account-service.phuquoc.dog/transaction
1
// Some code
2
data.json
3
{
4
"phrase": "barrel outer about develop dignity nice slab lottery sort album knock salt",
5
"amount": 2,
6
"address": "5EUVQGKHHEus6b2YwkTxD4jtkFeNLcb4kp5DwPV1FLcBngJy"
7
8
}
9
10
curl -d data.json -H "Content-Type: application/json" -X POST https://account-service.phuquoc.dog/transaction
11
Copied!
Sample response:
1
{
2
"status": true,
3
"hash": "0x01fb33c4417cf3f25ecc43ca3bb4e57b121100099248e8bbbd8570b07a36459e"
4
}
Copied!
Last modified 3mo ago
Copy link
Edit on GitHub