UNPKG

@tatumio/tatum-v1

Version:

Tatum API client allows browsers and Node.js clients to interact with Tatum API.

31 lines (30 loc) 1.47 kB
/** * For more details, see <a href="https://apidoc.tatum.io/#operation/FlowSign" target="_blank">Tatum API documentation</a> */ export declare const flowSignWithKey: (data: string, isPayer: boolean) => Promise<{ signature: string; }>; /** * For more details, see <a href="https://apidoc.tatum.io/#operation/FlowGetSignKey" target="_blank">Tatum API documentation</a> */ export declare const flowGetSignKey: (isPayer: boolean) => Promise<{ keyId: number; address: string; }>; /** * For more details, see <a href="https://apidoc.tatum.io/#operation/FlowGetCurrentBlock" target="_blank">Tatum API documentation</a> */ export declare const flowGetCurrentBlock: () => Promise<number>; export declare const flowBroadcastTx: (txData: string, signatureId?: string | undefined, proposalKey?: number | undefined) => Promise<unknown>; /** * For more details, see <a href="https://apidoc.tatum.io/#operation/FlowGetBlock" target="_blank">Tatum API documentation</a> */ export declare const flowGetBlock: (hash: string) => Promise<any>; /** * For more details, see <a href="https://apidoc.tatum.io/#operation/FlowGetAccount" target="_blank">Tatum API documentation</a> */ export declare const flowGetAccount: (address: string) => Promise<any>; /** * For more details, see <a href="https://apidoc.tatum.io/#operation/FlowGetTransaction" target="_blank">Tatum API documentation</a> */ export declare const flowGetTransaction: (hash: string) => Promise<any>;