ScrapeMole NEAR Intents quote (free)
near_intents_quoteFree. Get a NEAR Intents payment quote for one specific paid tool call, payable in any token NEAR Intents 1Click routes (e.g. nep141:wrap.near). Returns depositAddress and amountIn. Fund the deposit, then call the paid tool with the same arguments and params._meta["near-intents/deposit"] = depositAddress. One deposit pays for one successful call; failed calls do not consume it; a replay returns INTENTS_DEPOSIT_USED.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tool": "<tool>",
"arguments": "<arguments>",
"originAsset": "<originAsset>",
"refundTo": "<refundTo>"
},
"name": "near_intents_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | Name of the paid tool to pay for, e.g. youtube_search. | |
| refundTo | Yes | Your NEAR Intents account (or origin-chain address with refundType ORIGIN_CHAIN) for refunds if the swap fails. | |
| arguments | Yes | Exact arguments you will pass to that tool, e.g. {"q":"lofi"}. | |
| refundType | No | INTENTS | |
| depositType | No | INTENTS | |
| originAsset | Yes | 1Click assetId you pay with, e.g. nep141:wrap.near. List: GET /v1/intents. |