EvmHistorySource
Defined in: history-evm/src/types.ts:97
EVM history for one chain from Etherscan v2, Blockscout or Alchemy, with keyless Blockscout and Routescan as fallbacks. Build it with createEvmHistory.
Extends
Section titled “Extends”HistorySource
Properties
Section titled “Properties”
readonlychain:string
Defined in: core/dist/index-QWdcwE6y.d.ts:231
CAIP-2 chain id this source serves.
Inherited from
Section titled “Inherited from”HistorySource.chain
chainId
Section titled “chainId”
readonlychainId:number
Defined in: history-evm/src/types.ts:98
Methods
Section titled “Methods”explorerTxUrl()
Section titled “explorerTxUrl()”explorerTxUrl(
hash):string
Defined in: core/dist/index-QWdcwE6y.d.ts:237
Explorer URL for a transaction.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string
Inherited from
Section titled “Inherited from”HistorySource.explorerTxUrl
getTransaction()
Section titled “getTransaction()”getTransaction(
hash,address):Promise<EvmChainTx|undefined>
Defined in: history-evm/src/types.ts:100
One transaction by hash, normalized the same way (undefined when unknown / not yet indexed).
Parameters
Section titled “Parameters”string
address
Section titled “address”string
Returns
Section titled “Returns”Promise<EvmChainTx | undefined>
Overrides
Section titled “Overrides”HistorySource.getTransaction
listActivity()
Section titled “listActivity()”listActivity(
address,query?):Promise<EvmHistoryPage>
Defined in: history-evm/src/types.ts:99
Newest first.
Parameters
Section titled “Parameters”address
Section titled “address”string
query?
Section titled “query?”HistoryQuery
Returns
Section titled “Returns”Promise<EvmHistoryPage>
Overrides
Section titled “Overrides”HistorySource.listActivity