---
title: "Standing gas-on-demand policy"
method: POST
path: "/api/gaspolicy/set"
tags: ["adoption"]
---

# Standing gas-on-demand policy

`POST /api/gaspolicy/set`

## Request

- Base URL: `https://api.anygas.xyz/svc`
- URL: `https://api.anygas.xyz/svc/api/gaspolicy/set`
- Auth: none declared

Keep workers funded with native gas across chains from your yield. Body: {agent, chains:{id:{minNative,topUpNative}}, perDayUsd?, webhook?}. Fires a signed gas.low alert with the exact top-up.

## Request body

- object

## Response `200`

OK

---

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