Skip to main content
POST
Generate Estimated Gas Fee
🚧 The Ramp API is currently under construction. Endpoints and features described here are subject to change. Do not use in production until this notice is removed.

Generate Gas Fee

The Get Gas Fee endpoint fetches the gas fee required for a cryptocurrency transaction based on source and recipient details.

Endpoint

POST {{baseURL}}/v1/ramp/gasFee

Headers


Request Body

Request Breakdown

Source Fields

Recipient Fields

Successful Response (200 OK)

Response Fields

Error

Authorizations

x-api-key
string
header
required

Body

application/json
amount
number
required
Example:

5

symbol
string
required
Example:

"USDC"

blockchain
string
required
Example:

"MATIC-AMOY"

recipient
object
required

Response

Gas fee estimated successfully.

status
string
Example:

"success"

message
string
Example:

"gas fee estimated successfully"

data
object