Price in crypto
price_in_cryptoQuote what a listing costs in a crypto asset right now. Asks NEAR Intents solvers how much of pay_with the buyer would send so the seller receives the listing's exact USD price (postage included) in USDC. Returns the piece, its USD price, the amount and asset to pay with its USD value, what the seller receives and on which chain, and the expected settlement time in seconds. Indicative and non-binding: it reserves nothing and charges nothing. Takes up to about 20 seconds. Fails with a clear message if the listing has no fixed price or NEAR Intents is unavailable.
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": {
"id": "<id>",
"pay_with": "<pay_with>"
},
"name": "price_in_crypto"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The listing's id, exactly as returned in the `id` field of search_listings results (a slug such as 'kaws-x-sesame-street-water-parade-elmo-figure'). | |
| chain | No | Only needed when the asset exists on several chains: ETH and USDC on Ethereum, Arbitrum or Base, USDC also on NEAR. Omit it otherwise. | |
| pay_with | Yes | The crypto asset the buyer pays with. payment_options lists which chains each one is accepted on. |