near_agent_gate
Before you pay a NEAR account — will it clear, and is it safe? — The NEAR counterpart of agent-pay-gate. Composes the recipient's account posture (does it exist, is it a contract, control flags) with the NEP-141 transfer preflight into one GO/HOLD/STOP before an agent sends. On NEAR a mistyped account is unrecoverable and a token transfer silently fails unless the recipient has storage_deposit — this catches both ahead of time. Pass token (+amount) for a token transfer, near= for native-amount sizing. Not financial advice. Required input: to. Priced $0.02 per call over x402 on Base; send a prepaid x-credit-token header for unlimited calls, or get 1 free call/day per tool. No API key required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | NEAR account you are about to pay | |
| near | No | Native NEAR amount (optional, for sizing) | |
| token | No | NEP-141 token (optional) | |
| amount | No | Token amount (optional) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | The result payload. Shape is service-specific; every field is documented in the tool description. | |
| service | No | The service id that answered. | |
| checkedAt | No | ISO-8601 timestamp of when the underlying reads were taken. |