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

Signature for the approval. To compute the signature use the following formula: base64(ecdsa_sign(sha265([hex(sha265(req1_metadata)),hex(sha265(req2_metadata)),hex(sha265(req3_metadata))]))).

commentstringRequired
An optional comment to be added to the approval.
idslist of stringsRequired
List of whitelisted address IDs to approve. The list must be sorted in ascending order.
whitelistedAddressIdslist of stringsOptional

deprecated: use the ids parameter instead

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

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