@ledgerhq/coin-filecoin
Version:
Ledger Filecoin Coin integration
16 lines • 783 B
TypeScript
import { IAddress } from "iso-filecoin/address";
export type ValidateAddressResult = {
isValid: true;
parsedAddress: IAddress;
} | {
isValid: false;
};
export declare const isFilEthAddress: (addr: IAddress) => boolean;
export declare const isIdAddress: (addr: IAddress) => boolean;
export declare const isEthereumConvertableAddr: (addr: IAddress) => boolean;
export declare const validateAddress: (input: string) => ValidateAddressResult;
export declare const isRecipientValidForTokenTransfer: (addr: string) => boolean;
export declare const getEquivalentAddress: (addr: string) => string;
export declare const convertAddressFilToEth: (addr: string) => string;
export declare const convertAddressEthToFil: (addr: string) => string;
//# sourceMappingURL=addresses.d.ts.map