UNPKG

opensea-js

Version:

TypeScript SDK for the OpenSea marketplace helps developers build new experiences using NFTs and our marketplace data

14 lines (13 loc) 401 B
import { Fee } from "../types"; /** * Sums up the basis points for fees. * @param fees The fees to sum up * @returns sum of basis points */ export declare const totalBasisPointsForFees: (fees: Fee[]) => bigint; /** * Converts a fee to its basis points representation. * @param fee The fee to convert * @returns the basis points */ export declare const basisPointsForFee: (fee: Fee) => bigint;