Optional
options: { swap options
Optional
providers?: ConnectionProvidersOptional
signers?: TransactionSignersOptional
providersOptional
signerRetrieves a cross-chain quote for a given set of parameters.
The parameters for the cross-chain swap.
A promise that resolves to the cross-chain quote.
Private
executePrivate
executeExecutes a swap instruction based on the provided parameters.
An error if the network ID is invalid or if the required connection provider or signer is not provided.
The parameters for executing the swap instruction.
A promise that resolves to the result of executing the swap instruction.
Executes a cross-chain transfer based on the provided parameters.
An error if the transfer hash is not found or if an invalid bridge is specified.
The parameters for the cross-chain transfer.
A promise that resolves to the result of the cross-chain transfer.
Private
getRetrieves the cross-chain swap instruction for executing a cross-chain swap.
The parameters for executing the cross-chain swap.
A promise that resolves to the cross-chain swap instruction.
Private
getGet swap instructions to execute same chain swap
The parameters for the same chain swap instruction
The swap instructions for executing the same chain swap
Generated using TypeDoc
API endpoint environment