Versions in this module Expand all Collapse all v1 v1.0.2 Aug 16, 2022 v1.0.1 Aug 8, 2022 Changes in this version + const BIT_JSONRPC + const BIT_WEBSOCKET + var InitialAPIHandlers = map[string]APIHandler + func GetBlockTransactions(block *block.Block) interface + func GetHttpsCertificate(h *tls.ClientHelloInfo) (*tls.Certificate, error) + func GetWssCertificate(h *tls.ClientHelloInfo) (*tls.Certificate, error) + func MakeDeleteNameTransaction(wallet *vault.Wallet, name string, nonce uint64, fee common.Fixed64) (*transaction.Transaction, error) + func MakeGenerateIDTransaction(ctx context.Context, pubkey []byte, wallet *vault.Wallet, ...) (*transaction.Transaction, error) + func MakeIssueAssetTransaction(wallet *vault.Wallet, name, symbol string, totalSupply common.Fixed64, ...) (*transaction.Transaction, error) + func MakeNanoPayTransaction(wallet *vault.Wallet, recipient common.Uint160, id uint64, ...) (*transaction.Transaction, error) + func MakeRDCSwapTransaction(wallet *vault.Wallet, receipt common.Uint160, nonce uint64, ...) (*transaction.Transaction, error) + func MakeRegisterNameTransaction(wallet *vault.Wallet, name string, nonce uint64, regFee common.Fixed64, ...) (*transaction.Transaction, error) + func MakeSigChainTransaction(wallet *vault.Wallet, sigChain []byte, nonce uint64) (*transaction.Transaction, error) + func MakeSubscribeTransaction(wallet *vault.Wallet, identifier string, topic string, duration uint32, ...) (*transaction.Transaction, error) + func MakeSwapTransaction(wallet *vault.Wallet, receipt common.Uint160, nonce uint64, ...) (*transaction.Transaction, error) + func MakeTransferNameTransaction(wallet *vault.Wallet, name string, nonce uint64, fee common.Fixed64, to []byte) (*transaction.Transaction, error) + func MakeTransferRDCTransaction(wallet *vault.Wallet, receipt common.Uint160, nonce uint64, ...) (*transaction.Transaction, error) + func MakeTransferTransaction(wallet *vault.Wallet, receipt common.Uint160, nonce uint64, ...) (*transaction.Transaction, error) + func MakeUnsubscribeTransaction(wallet *vault.Wallet, identifier string, topic string, nonce uint64, ...) (*transaction.Transaction, error) + func NodeInfo(wsAddr, rpcAddr string, pubkey, id []byte) map[string]string + func RespPacking(result interface{}, code errcode.ErrCode) map[string]interface + func ResponsePack(code errcode.ErrCode) map[string]interface + func VerifyAndSendTx(localNode *node.LocalNode, txn *transaction.Transaction) (errcode.ErrCode, error) + type APIHandler struct + AccessCtrl byte + Handler Handler + func (ah *APIHandler) IsAccessableByJsonrpc() bool + func (ah *APIHandler) IsAccessableByWebsocket() bool + type Handler func(Serverer, map[string]interface{}, context.Context) map[string]interface + type Serverer interface + GetNetNode func() *node.LocalNode