UNPKG

@wormhole-foundation/sdk-connect

Version:

The core package for the Connect SDK, used in conjunction with 1 or more of the chain packages

5 lines 625 B
import type { Chain, Network } from "@wormhole-foundation/sdk-base"; import type { ChainContext, SignAndSendSigner, Signer, TransactionId, UnsignedTransaction } from "@wormhole-foundation/sdk-definitions"; export declare function signSendWait<N extends Network, C extends Chain>(chain: ChainContext<N, C>, xfer: AsyncGenerator<UnsignedTransaction<N, C>>, signer: Signer<N, C>): Promise<TransactionId[]>; export declare function signAndSendWait<N extends Network, C extends Chain>(xfer: AsyncGenerator<UnsignedTransaction<N, C>>, signer: SignAndSendSigner<N, C>): Promise<TransactionId[]>; //# sourceMappingURL=common.d.ts.map