netting

Settle a netting balance back on-chain

Debits the internal balance and pays out real USDC on the chosen chain. The debit happens BEFORE the payout so a crash can never pay twice; if the payout fails the balance is restored and journalled. Sign robyn-netting-withdraw:v1:account=…:amount=…:toChain=…:toAddress=…:nonce=…

post/api/netting/withdraw

Request

  • Base URL: https://api.anygas.xyz/svc
  • URL: https://api.anygas.xyz/svc/api/netting/withdraw
  • Auth: none declared

Request body

addressstring required
amountstring required
toChaininteger required
toAddressstring
noncestring required
signaturestring required

Response

OK

object required

Changes

No recorded changes to this operation across all 1 revision of this API.