netting

Credit a netting balance from a real on-chain transfer

Send USDC to the relayer on any covered chain, then present {address, chainId, txHash}. The credit is derived from the Transfer events in that receipt, so only what actually arrived is credited, and only to the account that actually sent it. Each transaction can be credited once.

post/api/netting/deposit

Request

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

Request body

addressstring required
chainIdinteger required
txHashstring required

Response

OK

object required

Changes

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