Skip to main content
GET
GoldRush SDK

Credit Cost

1 per call

Processing

Batch
Estimate your monthly cost for this API using the Pricing Calculator.
Currently support these event types: erc20 token transfers, nativetokens transfer, and uniswapv3 swap events.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form: Bearer <token>, where <token> is your GoldRush API Key.

Path Parameters

chainName
string
required

The chain name eg: eth-mainnet.

eventType
string
required

The desired event type to retrieve gas prices for. Supports erc20 transfer events, uniswapv3 swap events and nativetokens transfers.

Query Parameters

quote-currency
string

The currency to convert. Supports USD, CAD, EUR, SGD, INR, JPY, VND, CNY, KRW, RUB, TRY, NGN, ARS, AUD, CHF, and GBP.

Response

200 - application/json

Successful response

chain_id
integer

The requested chain ID eg: 1.

chain_name
string

The requested chain name eg: eth-mainnet.

quote_currency
string

The requested quote currency eg: USD.

updated_at
string<date-time>

The timestamp when the response was generated. Useful to show data staleness to users.

event_type
string

The requested event type.

gas_quote_rate
number<double>

The exchange rate for the requested quote currency.

base_fee
string

b;The lowest gas fee for the latest block height.

items
object[]

List of response items.