Skip to navigation

Approve a whitelisted contract

This endpoint approves a whitelisted contract. 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.
whitelistedContractAddressIdslist 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