Documentation ¶
Index ¶
Constants ¶
View Source
const ( EnvRPCEndpoint = "RPC_ENDPOINT" EnvAPIEndpoint = "API_ENDPOINT" EnvParallelism = "PARALLELISM" )
Variables ¶
View Source
var ( Parallelism = 4 APIEndpoint = "https://thornode-v1.ninerealms.com" )
Functions ¶
func Scan ¶
func Scan(startHeight, stopHeight int) <-chan *BlockResponse
Types ¶
type BlockResponse ¶ added in v1.134.0
type BlockResponse struct { openapi.BlockResponse Txs []BlockTx `json:"txs"` }
BlockResponse wraps the openapi type with a custom Txs field for unmarshaling.
type BlockTx ¶ added in v1.134.0
BlockTx wraps the openapi type with a custom Tx field for unmarshaling.
func (*BlockTx) UnmarshalJSON ¶ added in v1.134.0
Click to show internal directories.
Click to hide internal directories.