Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Query Parameters
Cryptocurrency asset user wants to purchase
Blockchain on which the asset_type is present
Amount the user wants to buy or sell.
The currency type in which the quote is supplied
The payment method that the user will use for the transaction
ach, debit, credit, us_debit, international_debit, international_credit Select for the required activity buy for on ramp and sell for off ramp
buy, sell Wallet address of User. This is used to calculate if User has previously used Sardine, and provide them with a more accurate quote.
Response
OK
Amount of crypto that will be purchased
Price for 1 unit of the crypto being bought
Fiat value of the crypto that the user will receive, net of fees
Also known as "gas", the fees paid to validators on the network
Fees paid to Sardine for processing the trade
Total cost incurred by the user