near_intent
Submit a cross-chain payment intent to the NEAR 1Click solver network. Creates a signed intent that routes the payment atomically across chains. Call near_quote first to obtain a quoteId. Intents typically settle within 30-60 seconds — poll near_intent_status to track progress.
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": {
"quoteId": "<quoteId>",
"workflowId": "<workflowId>"
},
"name": "near_intent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quoteId | Yes | Quote ID returned from near_quote | |
| recipient | No | Recipient address on the destination chain (optional) | |
| workflowId | Yes | PCC workflow or job ID this payment is for |