Utility Endpoints
Block API
Operation Identity:- Operation ID:
getBlock GET /v1/{chainName}/block_v2/{blockHeight}/- SDK:
BaseService.getBlock()
Path Parameters
Response Fields
Item Fields
Credit Cost: 1 per call
Processing: Realtime
Tip: Estimate your monthly cost for this API using the Pricing Calculator.
Chain Status API
Operation Identity:- Operation ID:
getAllChainStatus GET /v1/chains/status/- SDK:
BaseService.getAllChainStatus()
Response Fields
Item Fields
Credit Cost: 1 per call
Processing: Realtime
Tip: Estimate your monthly cost for this API using the Pricing Calculator.
Supported Chains API
Operation Identity:- Operation ID:
getAllChains GET /v1/chains/- SDK:
BaseService.getAllChains()
Response Fields
Item Fields
Credit Cost: 0.01 per call
Processing: Realtime
Tip: Estimate your monthly cost for this API using the Pricing Calculator.
Block Heights API
Operation Identity:- Operation ID:
getBlockHeights GET /v1/{chainName}/block_v2/{startDate}/{endDate}/- SDK:
BaseService.getBlockHeights()
Path Parameters
Query Parameters
Response Fields
Item Fields
Pagination Fields
Credit Cost: 1 per call
Processing: Realtime
Tip: Estimate your monthly cost for this API using the Pricing Calculator.
Gas Price API
Operation Identity:- Operation ID:
getGasPrices GET /v1/{chainName}/event/{eventType}/gas_prices/- SDK:
BaseService.getGasPrices()
Path Parameters
Query Parameters
Response Fields
Item Fields
Credit Cost: 1 per call
Processing: Batch
Tip: Estimate your monthly cost for this API using the Pricing Calculator.
Note: Currently support these event types:erc20token transfers,nativetokenstransfer, anduniswapv3swap events.
Related guides
How to Fetch Onchain Gas Prices and Estimate Gas CostsHistorical Token Price API
Operation Identity:- Operation ID:
getTokenPrices GET /v1/pricing/historical_by_addresses_v2/{chainName}/{quoteCurrency}/{contractAddress}/- SDK:
PricingService.getTokenPrices()
Path Parameters
Query Parameters
Response Fields
Logo Url Fields
Item Fields
Credit Cost: 1 per call
Processing: Batch
Tip: Estimate your monthly cost for this API using the Pricing Calculator.
Note: Supports a comma separated list of token contract addresses.If no date range is provided, the spot price (with a 5 minute refresh) is provided.
Contract Event Logs API
Operation Identity:- Operation ID:
getLogEventsByAddress GET /v1/{chainName}/events/address/{contractAddress}/- SDK:
BaseService.getLogEventsByAddress()
Path Parameters
Query Parameters
Response Fields
Item Fields
Pagination Fields
Credit Cost: 0.01 per item
Processing: Realtime
Tip: Estimate your monthly cost for this API using the Pricing Calculator.
Event Logs by Topic Hash API
Operation Identity:- Operation ID:
getLogEventsByTopicHash GET /v1/{chainName}/events/topics/{topicHash}/- SDK:
BaseService.getLogEventsByTopicHash()
Path Parameters
Query Parameters
Response Fields
Item Fields
Pagination Fields
Credit Cost: 0.01 per item
Processing: Realtime
Tip: Estimate your monthly cost for this API using the Pricing Calculator.
Event Logs API
Operation Identity:- Operation ID:
getLogs GET /v1/{chainName}/events/- SDK:
BaseService.getLogs()
Path Parameters
Query Parameters
Response Fields
Item Fields
Credit Cost: 0.01 per item
Processing: Realtime
Tip: Estimate your monthly cost for this API using the Pricing Calculator.
Note: Limits:
- For a block range of 2,000 blocks or less, the response will include all logs within the range.
- For a block range greater than 2,000 blocks:- The response will include up to 10,000 logs.
- If the number of logs exceeds 10,000, no logs will be included in the response. Instead, the response will contain a suggested range within the
infoobject, including a link and message.
DEX Pool Spot Price API
Operation Identity:- Operation ID:
getPoolSpotPrices GET /v1/pricing/spot_prices/{chainName}/pools/{contractAddress}/- SDK:
PricingService.getPoolSpotPrices()
Path Parameters
Query Parameters
Response Fields
Credit Cost: 1 per call
Processing: Batch
Tip: Estimate your monthly cost for this API using the Pricing Calculator.
Note: Supports pools on Uniswap V2, V3 and their forks on all Foundational Chains.
ENS Name Resolution API
Operation Identity:- Operation ID:
getResolvedAddress GET /v1/{chainName}/address/{walletAddress}/resolve_address/- SDK:
BaseService.getResolvedAddress()
Path Parameters
Response Fields
Item Fields
Credit Cost: 1 per call
Processing: Realtime
Tip: Estimate your monthly cost for this API using the Pricing Calculator.
Related guides
How to Resolve a Wallet Address Given an ENS DomainEnhanced Spam Lists
The GoldRush Enhanced Spam Lists are a public good designed to restore trust and transparency in the Web3 ecosystem by helping developers, explorers, wallets, and indexers protect their users from scam tokens and malicious contracts. The Enhanced Spam Lists can be accessed as an npm package.Note: This package requires Node.js v18 or above.
Step 1. Install the Package
You can install the package using npm, yarn or pnpm:npm
yarn
pnpm