near_quote
Get a cross-chain payment quote from the NEAR 1Click solver network (chaindefuser.com). Provides optimal routing and fee estimates for funding PCC escrow contracts using any source asset on any supported chain. Call near_status first to confirm available chains/assets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount as an integer string in the smallest denomination (e.g. '1000000' for 1 USDC with 6 decimals) | |
| toAsset | Yes | Destination asset symbol (e.g. 'USDC') | |
| toChain | Yes | Destination chain (e.g. 'base', 'eth') | |
| fromAsset | Yes | Source asset symbol (e.g. 'USDC', 'ETH', 'NEAR') | |
| fromChain | Yes | Source chain (e.g. 'eth', 'base', 'near', 'arbitrum') | |
| recipient | No | Recipient address on the destination chain (optional) |