Bidder
Add Deposit
Deposit is called by the bidder node to add deposit in the bidder registry. The bidder can deposit funds in a particular window by specifying the window number. If the window number is not specified, the current block number is used to calculate the window number. If the block number is specified, the window number is calculated based on the block number. If AutoDeposit is enabled, the deposit API returns error.
POST
/
v1
/
bidder
/
deposit
/
{amount}
Path Parameters
amount
string
requiredAmount of ETH to be deposited in wei.
Query Parameters
windowNumber
string
Optional window number for querying deposit. If not specified, the current block number is used.
blockNumber
string
Optional block number for querying deposit. If specified, calculate window based on this block number.
Response
200 - application/json
Get deposit for bidder in the bidder registry.
amount
string
windowNumber
string