---
title: "Credit a netting balance from a real on-chain transfer"
method: POST
path: "/api/netting/deposit"
tags: ["netting"]
---

# Credit a netting balance from a real on-chain transfer

`POST /api/netting/deposit`

## Request

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

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.

## Request body

- object
  - `address` string, required
  - `chainId` integer, required
  - `txHash` string, required

## Response `200`

OK

- object

---

[API](https://skmtc.dev/anygas/apis/robyn-anygas-api.md) · [All operations](https://skmtc.dev/anygas/apis/robyn-anygas-api/llms.txt) · [OpenAPI document](https://skmtc.dev/anygas/apis/robyn-anygas-api/revisions/9b7498be8304?raw)
