Following is a brief description about the api endpoints available on the faucet, the expected bodies, and the expected responses.
endpoint: /api/v1/coins
method: POST
type: application/json
data:
{
"address": "UnlockHash string",
"amount": "Amount of tokens (unsigned int)| optional (default 300)"
}
type: application/json
data:
{
"txid": "Transaction ID"
}