UNPKG

@quirks/store

Version:
9 lines (8 loc) 776 B
import { QuirksConfigStore } from '../store'; import { DeliverTxResponse } from '@cosmjs/stargate'; import { TxRaw } from 'cosmjs-types/cosmos/tx/v1beta1/tx'; import { Chain } from '@chain-registry/types'; export declare function broadcast(store: QuirksConfigStore, chainOrName: string, txRaw: TxRaw, timeoutMs?: number, pollIntervalMs?: number): Promise<DeliverTxResponse>; export declare function broadcast(store: QuirksConfigStore, chainOrName: Chain, txRaw: TxRaw, timeoutMs?: number, pollIntervalMs?: number): Promise<DeliverTxResponse>; export declare function broadcastSync(store: QuirksConfigStore, chainOrName: string, txRaw: TxRaw): Promise<string>; export declare function broadcastSync(store: QuirksConfigStore, chainOrName: Chain, txRaw: TxRaw): Promise<string>;