Allowed Packages

A lambda may require specific NPM packages that are present in this list. To request any additional NPM packages to be whitelisted, please open an issue on the main Orbs Lambda repo.

You can see the exact versions of all packages by inspecting package.json in the main Orbs Lambda repo.



Provides basic interaction with EVM blockchains and smart contracts through simple JavaScript API. Note that most trigger event handlers receive an initialized web3 object that is ready for mainnet interaction.

const Web3 = require("web3");



Multicall allows multiple smart contract constant function calls to be grouped into a single call and the results aggregated into a single result. This reduces the number of separate JSON RPC requests that need to be sent over the network and provides the guarantee that all values returned are from the same block.

const { Multicall } = require("ethereum-multicall");



Big numbers in JavaScript without floating point support, only integers. Compatible with the numeric types of all EVM blockchains.

const BN = require("bn.js");



A JavaScript library for arbitrary-precision decimal and non-decimal arithmetic. Supports floating point numbers, not just integers.

const BigNumber = require("bignumber.js");



A light-weight module that brings Fetch API to Node.js and allows to make arbitrary HTTP requests to external websites and endpoints.

const fetch = require("node-fetch");



Promise based HTTP client for the browser and Node.js. Different package that allows to make arbitrary HTTP requests to external websites and endpoints.

const axios = require("axios").default;



All packages published by the Orbs organization on NPM are allowed for use.

Last updated