Versions in this module Expand all Collapse all v0 v0.5.0 May 26, 2024 Changes in this version + var ErrInvalidIndex = errors.New("index is invalid") + var ErrInvalidMnemonic = errors.New("mnemonic is invalid") + var ErrInvalidParameter = errors.New("parameter is invalid") + var ErrInvalidTransaction = errors.New("transaction is invalid") + var ErrSendTransactionFailed = errors.New("send transaction failed") + var ErrTransactionNotFound = errors.New("transaction is not found") + var ErrUninitializedClient = errors.New("client is uninitialized") + var ErrUnsupportedAddressType = errors.New("address type is unsupported") + var ErrUnsupportedChainType = errors.New("chain type is unsupported") + var ErrUnsupportedCurrency = errors.New("currency is unsupported") + type AddressType int8 + const AddressType_BSC + const AddressType_BTC_LEGACY + const AddressType_BTC_NATIVE_SEGWIT + const AddressType_BTC_NESTED_SEGWIT + const AddressType_BTC_TAPROOT + const AddressType_ETH + const AddressType_SOL + const AddressType_TRON + func ParseAddressType(AddressType string) (AddressType, error) + func (Self AddressType) Name() (string, error) + func (Self AddressType) Path() (string, error) + type ChainType int8 + const ChainType_BSC + const ChainType_BTC + const ChainType_ETH + const ChainType_SOL + const ChainType_TRON + func ParseChain(chain string) (ChainType, error) + func (Self ChainType) Name() (string, error) Other modules containing this package github.com/DwGoing/transfer_lib/common