curl --request POST \
--url https://merits.blockscout.com/admin/api/v1/distribute \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"id": "<string>",
"description": "<string>",
"distributions": [
{
"address": "<string>",
"amount": "<string>"
}
],
"create_missing_accounts": true,
"expected_total": "<string>"
}'
{
"accounts_distributed": "<string>",
"accounts_created": "<string>"
}
Authentication token, prefixed by Bearer: Bearer <token>
A successful response.
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://merits.blockscout.com/admin/api/v1/distribute \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"id": "<string>",
"description": "<string>",
"distributions": [
{
"address": "<string>",
"amount": "<string>"
}
],
"create_missing_accounts": true,
"expected_total": "<string>"
}'
{
"accounts_distributed": "<string>",
"accounts_created": "<string>"
}