UNPKG

@standard-crypto/farcaster-js-hub-rest

Version:

A tool for interacting with the REST API of any Farcaster hub.

6 lines (5 loc) 370 B
import { Eip712Signer, NobleEd25519Signer } from '@farcaster/core'; export declare function hexToSigner(signerHex: string): NobleEd25519Signer; export declare function eip712SignerFromMnemonicOrPrivateKey(mnemonicOrPrivateKey: string): Eip712Signer; export declare function hexToBytes(hex: string): Uint8Array; export declare function getLatestBlock(): Promise<string>;