Utility Endpoints
Get a block
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.
Get all chain statuses
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.
Get all chains
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.
Get block heights
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.
Get gas prices
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 CostsGet historical token prices
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.
Get log events by contract address
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.
Get log events by topic hash(es)
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.
Get logs
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.
Get pool spot prices
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.
Get resolved address for registered address
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