---
title: "What a withdrawal would actually deliver, before you sign"
method: GET
path: "/api/netting/preview"
tags: ["netting"]
---

# What a withdrawal would actually deliver, before you sign

`GET /api/netting/preview`

## Request

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

Free, read-only. Given an amount, returns the exit cost and the net delivered amount for every chain, ranked best-first — exit costs differ by more than 1000x, so which chain you leave on is a real decision. Pass toChain to price one chain and learn whether it would succeed at all. Internal transfers between netting accounts are free at any size; this cost applies only when leaving for a real on-chain balance.

## Query parameters

- `amount` string, required
- `toChain` integer

## Response `200`

Exit costs and delivered amounts

- 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)
