Skip to main content

teleport-sdk.getsdk

Home > teleport-sdk > getSdk

getSdk() function

Get an ethers.js bundle containing contracts and a provider connected to a given domain

Signature:
export declare function getSdk(domain: DomainDescription, signerOrProvider: Signer | Provider): TeleportSdk;

Parameters

ParameterTypeDescription
domainDomainDescriptiondomain to connect to
signerOrProviderSigner | Providerethers.js signer or provider for the given domain
Returns:

TeleportSdk