Constructor need the chainId as the input params(for example, Goerli testnet chainId is 5).
Implementation with all params.
import { FeeNo, FeeNoApiRequests } from '@peanut.trade/feeno-sdk';const feeNo = new FeeNo(5);
Make and send estimate request with given estimation data and user's provider.
import { FeeNo, FeeNoApiRequests } from '@peanut.trade/feeno-sdk';const feeNo = new FeeNo();const FeeNoRequest = feeNo.createFeenoRequest(estimateParams, provider);
Returns the object of supported tokens to pay fee.
import { FeeNo, FeeNoApiRequests } from '@peanut.trade/feeno-sdk';const feeNo = new FeeNo();const supportedTokens = feeNo.getTokens();
Generated using TypeDoc
Constructor need the chainId as the input params(for example, Goerli testnet chainId is 5).
Implementation with all params.