Assets
Convert an amount
GET
Converts a fiat amount, or an amount of an asset, into an asset.
amount*stringfrom*stringA fiat code (usd, eur, ...) or an asset symbol (then from_network is required).
from_network?stringValue in
"ethereum""bsc""polygon""base""arbitrum""optimism""avalanche""tron""solana""bitcoin""litecoin""bitcoincash""dogecoin"to*stringnetwork*stringValue in
"ethereum""bsc""polygon""base""arbitrum""optimism""avalanche""tron""solana""bitcoin""litecoin""bitcoincash""dogecoin"The converted amount.
application/json- response
object?stringamount?stringfrom?stringto?stringnetwork?stringconverted_amount?stringrate?stringcurl -X GET 'https://api.noncepay.app/v2/convert?amount=string&from=string&to=string&network=ethereum'Example Response
{ "object": "conversion", "amount": "string", "from": "string", "to": "string", "network": "string", "converted_amount": "string", "rate": "string"}