Class Web3Pure

Contains common methods, connected with web3, e.g. wei conversion, encoding data, etc.

Hierarchy

  • Web3Pure

Constructors

Properties

AION: typeof SolanaWeb3Pure = SolanaWeb3Pure
ALGORAND: typeof AlgorandWeb3Pure = AlgorandWeb3Pure
APTOS: typeof AptosWeb3Pure = AptosWeb3Pure
ARDOR: typeof SolanaWeb3Pure = SolanaWeb3Pure
ARK: typeof SolanaWeb3Pure = SolanaWeb3Pure
ASTAR: typeof AstarWeb3Pure = AstarWeb3Pure
BAND_PROTOCOL: typeof SolanaWeb3Pure = SolanaWeb3Pure
BITCOIN: typeof BitcoinWeb3Pure = BitcoinWeb3Pure
BITCOIN_DIAMOND: typeof BitcoinWeb3Pure = BitcoinWeb3Pure
BITCOIN_GOLD: typeof BitcoinWeb3Pure = BitcoinWeb3Pure
BSV: typeof BitcoinWeb3Pure = BitcoinWeb3Pure
CARDANO: typeof CardanoWeb3Pure = CardanoWeb3Pure
CASPER: typeof CasperWeb3Pure = CasperWeb3Pure
COSMOS: typeof CosmosWeb3Pure = CosmosWeb3Pure
DASH: typeof DashWeb3Pure = DashWeb3Pure
DECRED: typeof SolanaWeb3Pure = SolanaWeb3Pure
DIGI_BYTE: typeof SolanaWeb3Pure = SolanaWeb3Pure
DIVI: typeof SolanaWeb3Pure = SolanaWeb3Pure
DOGECOIN: typeof DogecoinWeb3Pure = DogecoinWeb3Pure
DX_CHAIN: typeof SolanaWeb3Pure = SolanaWeb3Pure
EOS: typeof EosWeb3Pure = EosWeb3Pure
EVM: typeof EvmWeb3Pure = EvmWeb3Pure
E_CASH: typeof SolanaWeb3Pure = SolanaWeb3Pure
FILECOIN: typeof FilecoinWeb3Pure = FilecoinWeb3Pure
FIO_PROTOCOL: typeof SolanaWeb3Pure = SolanaWeb3Pure
FIRO: typeof SolanaWeb3Pure = SolanaWeb3Pure
FLOW: typeof FlowWeb3Pure = FlowWeb3Pure
HEDERA: typeof HederaWeb3Pure = HederaWeb3Pure
HELIUM: typeof SolanaWeb3Pure = SolanaWeb3Pure
HORIZEN: typeof SolanaWeb3Pure = SolanaWeb3Pure
ICON: typeof SolanaWeb3Pure = SolanaWeb3Pure
ICP: typeof IcpWeb3Pure = IcpWeb3Pure
IOST: typeof SolanaWeb3Pure = SolanaWeb3Pure
IOTA: typeof IotaWeb3Pure = IotaWeb3Pure
KADENA: typeof KadenaWeb3Pure = KadenaWeb3Pure
KAVA_COSMOS: typeof KavaCosmosWeb3Pure = KavaCosmosWeb3Pure
KOMODO: typeof SolanaWeb3Pure = SolanaWeb3Pure
KUSAMA: typeof KusamaWeb3Pure = KusamaWeb3Pure
LISK: typeof SolanaWeb3Pure = SolanaWeb3Pure
LITECOIN: typeof LitecoinWeb3Pure = LitecoinWeb3Pure
MINA_PROTOCOL: typeof MinaWeb3Pure = MinaWeb3Pure
MONERO: typeof MoneroWeb3Pure = MoneroWeb3Pure
MULTIVERS_X: typeof SolanaWeb3Pure = SolanaWeb3Pure
NANO: typeof SolanaWeb3Pure = SolanaWeb3Pure
NEAR: typeof NearWeb3Pure = NearWeb3Pure
NEM: typeof SolanaWeb3Pure = SolanaWeb3Pure
NEO: typeof NeoWeb3Pure = NeoWeb3Pure
ONTOLOGY: typeof OntologyWeb3Pure = OntologyWeb3Pure
OSMOSIS: typeof OsmosisWeb3Pure = OsmosisWeb3Pure
PIVX: typeof SolanaWeb3Pure = SolanaWeb3Pure
POLKADOT: typeof PolkadotWeb3Pure = PolkadotWeb3Pure
POLYX: typeof SolanaWeb3Pure = SolanaWeb3Pure
QTUM: typeof SolanaWeb3Pure = SolanaWeb3Pure
RAVENCOIN: typeof SolanaWeb3Pure = SolanaWeb3Pure
RIPPLE: typeof RippleWeb3Pure = RippleWeb3Pure
SECRET: typeof SecretWeb3Pure = SecretWeb3Pure
SIA: typeof SiaWeb3Pure = SiaWeb3Pure
SOLANA: typeof SolanaWeb3Pure = SolanaWeb3Pure
SOLAR: typeof SolanaWeb3Pure = SolanaWeb3Pure
STACKS: typeof SolanaWeb3Pure = SolanaWeb3Pure
STEEM: typeof SolanaWeb3Pure = SolanaWeb3Pure
STELLAR: typeof StellarWeb3Pure = StellarWeb3Pure
STRATIS: typeof SolanaWeb3Pure = SolanaWeb3Pure
SYMBOL: typeof SolanaWeb3Pure = SolanaWeb3Pure
TERRA: typeof SolanaWeb3Pure = SolanaWeb3Pure
TERRA_CLASSIC: typeof SolanaWeb3Pure = SolanaWeb3Pure
TEZOS: typeof TezosWeb3Pure = TezosWeb3Pure
THOR_CHAIN: typeof SolanaWeb3Pure = SolanaWeb3Pure
TON: typeof TonWeb3Pure = TonWeb3Pure
TRON: typeof TronWeb3Pure = TronWeb3Pure
VERGE: typeof SolanaWeb3Pure = SolanaWeb3Pure
VE_CHAIN: typeof SolanaWeb3Pure = SolanaWeb3Pure
WAVES: typeof WavesWeb3Pure = WavesWeb3Pure
WAX: typeof WaxWeb3Pure = WaxWeb3Pure
XDC: typeof XdcWeb3Pure = XdcWeb3Pure
ZCASH: typeof SolanaWeb3Pure = SolanaWeb3Pure
ZILLIQA: typeof ZilliqaWeb3Pure = ZilliqaWeb3Pure

Methods

  • Increases the gas limit value by the specified percentage and rounds to the nearest integer.

    Parameters

    • gasLimit: undefined | null | string | number | BigNumber

      Gas limit value to increase.

    • multiplier: number

      The multiplier by which the gas limit will be increased.

    Returns BigNumber

  • Converts amount from Wei to Ether units.

    Parameters

    • amountInWei: string | number | BigNumber

      Amount to convert.

    • decimals: number = 18

      Token decimals.

    Returns BigNumber

  • Converts amount from Ether to Wei units.

    Parameters

    • amount: string | number | BigNumber

      Amount to convert.

    • decimals: number = 18

      Token decimals.

    • Optional roundingMode: RoundingMode

      BigNumberRoundingMode.

    Returns string

Generated using TypeDoc