@rarimo/providers-near
Version:
Features of the Rarimo SDK that provide access to wallets and the ability to interact with them on the NEAR blockchain.
9 lines (8 loc) • 544 B
TypeScript
import type { Chain } from '@rarimo/shared';
export declare const MAX_GAS_LIMIT = "300000000000000";
export declare const NO_DEPOSIT = "0";
export declare const nearToYocto: (amount: string) => string | null;
export declare const yoctoToNear: (amount: string) => string | null;
export declare function getNearExplorerTxUrl(explorerUrl: string | Chain, txHash: string): string;
export declare function getNearExplorerAddressUrl(explorerUrl: string | Chain, address: string): string;
export declare function handleNearError(error: Error): never;