Skip to navigation

Approve a whitelisted address

This endpoint approves a whitelisted address. Required role: WhitelistedAddressApprover.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
signaturestringRequired

base64(ecdsa_sign(sha265([hex(sha265(req1_metadata)),hex(sha265(req2_metadata)),hex(sha265(req3_metadata))])))

commentstringRequired
A comment must be provided for the reason for approval
idslist of stringsRequired

Sorted list of IDs to approve. If "async": true, max 10000 addresses can be listed. Otherwise max 500.

asyncbooleanOptional
For large numbers of approvals, store and process them in background
whitelistedAddressIdslist of stringsOptional

Deprecated: Use the ids parameter instead

Response

A successful response.
signaturesstringOptionalformat: "uint64"
asyncSignatureobjectOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
503
Service Unavailable Error