bsc

package
v0.0.0-...-fae8f5a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2023 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// MainNet is production network
	MainNet eth.Network = 56

	// bsc token type names
	BEP20TokenType   bchain.TokenTypeName = "BEP20"
	BEP721TokenType  bchain.TokenTypeName = "BEP721"
	BEP1155TokenType bchain.TokenTypeName = "BEP1155"
)

Variables

This section is empty.

Functions

func NewBNBSmartChainRPC

func NewBNBSmartChainRPC(config json.RawMessage, pushHandler func(bchain.NotificationType)) (bchain.BlockChain, error)

NewBNBSmartChainRPC returns new BNBSmartChainRPC instance.

Types

type BNBSmartChainRPC

type BNBSmartChainRPC struct {
	*eth.EthereumRPC
}

BNBSmartChainRPC is an interface to JSON-RPC bsc service.

func (*BNBSmartChainRPC) Initialize

func (b *BNBSmartChainRPC) Initialize() error

Initialize bnb smart chain rpc interface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL