BlockCache

interface BlockCache

Inheritors

Functions

Link copied to clipboard
abstract fun get(chainId: String, address: String, fallback: (String, Address) -> CurrentTDBlock): CurrentTDBlock

获取区块

Link copied to clipboard
abstract fun put(chainId: String, address: String, block: CurrentTDBlock)

存入区块