Get Quote
Sardine returns a quote on the amount of cryptocurrency that can be purchased or sold (for off-ramp), along with the associated fees, which are as follows
-
Network fee - Also known as “gas”, paid out to faciliate and validate the transaction
-
Processing fee: Used to cover Sardine’s cost of money movement, fraud check and compliance
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
Fees paid to Sardine for processing the trade
Price for 1 unit of the crypto being bought
Amount of crypto that will be purchased
Fiat value of the crypto that the user will receive, net of fees
Total cost incurred by the user
Also known as "gas", the fees paid to validators on the network