POST
/
admin
/
api
/
v1
/
distribute
cURL
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>"
}

Authorizations

Authorization
string
header
required

Authentication token, prefixed by Bearer: Bearer <token>

Body

application/json

Response

200
application/json

A successful response.

The response is of type object.