teleport-sdk.getdefaultdstdomain
Home > teleport-sdk > getDefaultDstDomain
getDefaultDstDomain() function
Get the default target domain for a given source domain
Signature:export declare function getDefaultDstDomain(srcDomain: DomainDescription): DomainId;
Parameters
Parameter | Type | Description |
---|---|---|
srcDomain | DomainDescription | source domain's DomainId |
target domain's DomainId
Remarks
This usually means L2 -> L1 for rollup chains on Ethereum