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(sha256([hex(sha256(req1_metadata)),hex(sha256(req2_metadata)),hex(sha256(req3_metadata))])))

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

uint64; Sorted list of IDs to approve.

whitelistedContractAddressIdslist of stringsOptional

uint64; 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