Skip to navigation
Taurus NetworkTaurus Network - Pledge

Add pledge collateral

This endpoint adds collateral to an existing pledge. It will increase the amount of the pledge. The additional funds will also be reserved and can’t be spent until they are unpledged or withdrawn by the target participant. Only the pledgor (owner of the pledge) can call this endpoint. The endpoint will create a pledge action that needs to be approved to finalize the addition of collateral.

Authentication

AuthorizationBearer

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

Path parameters

pledgeIDstringRequired
The ID of the pledge to which collateral will be added.

Request

This endpoint expects an object.
amountstringOptional

numeric; Amount in the smallest currency unit, based on the currency decimals. Example: 1500000000000000000 WEI (smallest ETH unit) corresponds to 1.5 ETH (ETH has 18 decimals places)

Response

A successful response.
pledgeActionIDstringOptional
The ID of the pledge action to be approved to finalize the add collateral action.

Errors

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