Approve a pledge action
This endpoint approves a Taurus-NETWORK pledge action. Required role: RequestApprover.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
signature
The base64-encoded ECDSA signature over the SHA-256 hash of the concatenated SHA-256 hashes of the pledge action metadata to approve. The signature must be created using the private key associated with the participant's TLS certificate.base64(ecdsa_sign(sha256([hex(sha256(pledgeAction1_metadata)),hex(sha256(pledgeAction2_metadata)),hex(sha256(pledgeAction3_metadata))])))
comment
An optional comment to attach to the approval of the pledge actions.
ids
The IDs of the pledge actions to approve. The IDs must be sorted in ascending order before computing the signature.
Response
A successful response.
signatures
The number of pledge actions that were successfully approved.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
503
Service Unavailable Error