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
Click to show internal directories.
Click to hide internal directories.