From 79373527c995aaf926b685d88cce66c23c8dcbb9 Mon Sep 17 00:00:00 2001 From: martin0995 Date: Fri, 14 Mar 2025 12:44:18 +0100 Subject: [PATCH 1/2] Update documentation to reflect latest version (1.13.2) --- docs/assets/navigation.js | 2 +- docs/assets/search.js | 2 +- ...ole_foundation_sdk.index.ChainContext.html | 98 ------------- ..._foundation_sdk.index.PlatformContext.html | 14 -- ...dation_sdk.index.PlatformNativeSigner.html | 3 - ...rmhole_foundation_sdk.index.Signature.html | 2 - ...foundation_sdk.index.UniversalAddress.html | 3 - ...ation_sdk.index.routes.AutomaticRoute.html | 3 - ...ion_sdk.index.routes.FinalizableRoute.html | 3 - ...undation_sdk.index.routes.ManualRoute.html | 3 - ...ndation_sdk_algorand.AlgorandPlatform.html | 11 +- ...e_foundation_sdk_connect.ChainContext.html | 98 ------------- ...oundation_sdk_connect.PlatformContext.html | 14 -- ...tion_sdk_connect.PlatformNativeSigner.html | 3 - ...hole_foundation_sdk_connect.Signature.html | 2 - ...undation_sdk_connect.UniversalAddress.html | 3 - ...ion_sdk_connect.routes.AutomaticRoute.html | 4 +- ...n_sdk_connect.routes.FinalizableRoute.html | 4 +- ...dation_sdk_connect.routes.ManualRoute.html | 4 +- ...ndation_sdk_cosmwasm.CosmwasmPlatform.html | 11 +- ...undation_sdk_definitions.ChainContext.html | 72 +++++----- ...ation_sdk_definitions.PlatformContext.html | 18 +-- ..._sdk_definitions.PlatformNativeSigner.html | 4 +- ..._foundation_sdk_definitions.Signature.html | 4 +- ...tion_sdk_definitions.UniversalAddress.html | 4 +- ..._wormhole_foundation_sdk_evm.EvmChain.html | 99 +------------ ...rmhole_foundation_sdk_evm.EvmPlatform.html | 11 +- ...dation_sdk_evm.EvmUnsignedTransaction.html | 4 +- ..._foundation_sdk_solana.SolanaPlatform.html | 11 +- ...e_foundation_sdk.index.amount.denoise.html | 6 - ...e_foundation_sdk.index.amount.display.html | 5 - ...mhole_foundation_sdk.index.amount.fmt.html | 4 - ...dation_sdk.index.amount.fromBaseUnits.html | 5 - ...ole_foundation_sdk.index.amount.parse.html | 5 - ...ole_foundation_sdk.index.amount.scale.html | 7 - ..._foundation_sdk.index.amount.truncate.html | 7 - ...ole_foundation_sdk.index.amount.units.html | 4 - ...ole_foundation_sdk.index.amount.whole.html | 4 - ...on_sdk.index.api.getTransactionStatus.html | 6 - ..._foundation_sdk.index.api.getVaaBytes.html | 6 - ...ion_sdk.index.blindDeserializePayload.html | 5 - ...foundation_sdk.index.canonicalAddress.html | 2 - ...rmhole_foundation_sdk.index.createVAA.html | 6 - ...ion_sdk.index.decimals.nativeDecimals.html | 2 - ...hole_foundation_sdk.index.deserialize.html | 6 - ...undation_sdk.index.deserializePayload.html | 7 - ...dation_sdk.index.encoding.stripPrefix.html | 2 - ...ation_sdk.index.exhaustiveDeserialize.html | 5 - ...undation_sdk.index.finality.blockTime.html | 2 - ...ndex.finality.consistencyLevelToBlock.html | 4 - ..._sdk.index.finality.finalityThreshold.html | 3 - ...ole_foundation_sdk.index.getContracts.html | 5 - ...le_foundation_sdk.index.loadPlatforms.html | 6 +- ...le_foundation_sdk.index.loadProtocols.html | 8 +- ...le_foundation_sdk.index.nativeTokenId.html | 2 - ...foundation_sdk.index.registerProtocol.html | 2 - ...ndation_sdk.index.resolveWrappedToken.html | 3 - ...index.routes.checkAndCompleteTransfer.html | 13 -- ...e_foundation_sdk.index.rpc.rpcAddress.html | 2 - ...rmhole_foundation_sdk.index.serialize.html | 5 - ...foundation_sdk.index.serializePayload.html | 5 - ...ormhole_foundation_sdk.index.toNative.html | 2 - ...le_foundation_sdk_base.amount.denoise.html | 4 +- ...le_foundation_sdk_base.amount.display.html | 6 +- ...rmhole_foundation_sdk_base.amount.fmt.html | 4 +- ...ndation_sdk_base.amount.fromBaseUnits.html | 6 +- ...hole_foundation_sdk_base.amount.parse.html | 6 +- ...hole_foundation_sdk_base.amount.scale.html | 8 +- ...e_foundation_sdk_base.amount.truncate.html | 8 +- ...hole_foundation_sdk_base.amount.units.html | 6 +- ...hole_foundation_sdk_base.amount.whole.html | 6 +- ...tion_sdk_base.decimals.nativeDecimals.html | 4 +- ...ndation_sdk_base.encoding.stripPrefix.html | 4 +- ...oundation_sdk_base.finality.blockTime.html | 4 +- ...base.finality.consistencyLevelToBlock.html | 4 +- ...dk_base.finality.estimateFinalityTime.html | 4 + ...n_sdk_base.finality.finalityThreshold.html | 4 +- ...le_foundation_sdk_base.rpc.rpcAddress.html | 4 +- ...foundation_sdk_connect.amount.denoise.html | 6 - ...foundation_sdk_connect.amount.display.html | 5 - ...ole_foundation_sdk_connect.amount.fmt.html | 4 - ...tion_sdk_connect.amount.fromBaseUnits.html | 5 - ...e_foundation_sdk_connect.amount.parse.html | 5 - ...e_foundation_sdk_connect.amount.scale.html | 7 - ...oundation_sdk_connect.amount.truncate.html | 7 - ...e_foundation_sdk_connect.amount.units.html | 4 - ...e_foundation_sdk_connect.amount.whole.html | 4 - ..._sdk_connect.api.getTransactionStatus.html | 8 +- ...oundation_sdk_connect.api.getVaaBytes.html | 6 +- ...n_sdk_connect.blindDeserializePayload.html | 5 - ...undation_sdk_connect.canonicalAddress.html | 2 - ...hole_foundation_sdk_connect.createVAA.html | 6 - ...n_sdk_connect.decimals.nativeDecimals.html | 2 - ...le_foundation_sdk_connect.deserialize.html | 6 - ...dation_sdk_connect.deserializePayload.html | 7 - ...tion_sdk_connect.encoding.stripPrefix.html | 2 - ...ion_sdk_connect.exhaustiveDeserialize.html | 5 - ...dation_sdk_connect.finality.blockTime.html | 2 - ...nect.finality.consistencyLevelToBlock.html | 4 - ...dk_connect.finality.finalityThreshold.html | 3 - ...e_foundation_sdk_connect.getContracts.html | 5 - ..._foundation_sdk_connect.nativeTokenId.html | 2 - ...undation_sdk_connect.registerProtocol.html | 2 - ...ation_sdk_connect.resolveWrappedToken.html | 3 - ...nnect.routes.checkAndCompleteTransfer.html | 8 +- ...foundation_sdk_connect.rpc.rpcAddress.html | 2 - ...hole_foundation_sdk_connect.serialize.html | 5 - ...undation_sdk_connect.serializePayload.html | 5 - ...mhole_foundation_sdk_connect.toNative.html | 2 - ...k_definitions.blindDeserializePayload.html | 6 +- ...tion_sdk_definitions.canonicalAddress.html | 4 +- ..._foundation_sdk_definitions.createVAA.html | 6 +- ...oundation_sdk_definitions.deserialize.html | 4 +- ...on_sdk_definitions.deserializePayload.html | 4 +- ...sdk_definitions.deserializeUnknownVaa.html | 5 + ...sdk_definitions.exhaustiveDeserialize.html | 6 +- ...undation_sdk_definitions.getContracts.html | 8 +- ...ndation_sdk_definitions.nativeTokenId.html | 4 +- ...tion_sdk_definitions.registerProtocol.html | 4 +- ...n_sdk_definitions.resolveWrappedToken.html | 4 +- ..._foundation_sdk_definitions.serialize.html | 4 +- ...tion_sdk_definitions.serializePayload.html | 6 +- ...e_foundation_sdk_definitions.toNative.html | 4 +- ..._solana.createPriorityFeeInstructions.html | 4 +- ...ion_sdk_solana.determineComputeBudget.html | 4 +- ...ation_sdk_solana.determinePriorityFee.html | 4 +- ...dation_sdk_solana.utils.deriveAddress.html | 5 - ...ation_sdk_solana.utils.getAccountData.html | 4 +- ...ation_sdk_solana.utils.newAccountMeta.html | 4 +- ...k_solana.utils.newReadOnlyAccountMeta.html | 4 +- ...a_core.utils.createPostVaaInstruction.html | 6 +- ...ls.createVerifySignaturesInstructions.html | 6 +- ..._core.utils.getPostMessageCpiAccounts.html | 4 +- ...core.utils.getWormholeDerivedAccounts.html | 4 +- ...eTransferNativeWithPayloadCpiAccounts.html | 4 +- ...TransferWrappedWithPayloadCpiAccounts.html | 4 +- ...nbridge.getTokenBridgeDerivedAccounts.html | 4 +- ...tTransferNativeWithPayloadCpiAccounts.html | 4 +- ...TransferWrappedWithPayloadCpiAccounts.html | 4 +- docs/hierarchy.html | 2 +- docs/index.html | 59 +++++--- ...wormhole_foundation_sdk.index.Address.html | 15 -- ...ion_sdk.index.AutomaticCircleBridge-1.html | 12 -- ...tion_sdk.index.AutomaticTokenBridge-1.html | 18 --- ...e_foundation_sdk.index.CircleBridge-1.html | 22 --- ...mhole_foundation_sdk.index.GatewayMsg.html | 3 - ...rmhole_foundation_sdk.index.IbcBridge.html | 18 --- ..._foundation_sdk.index.IbcTransferData.html | 2 - ...undation_sdk.index.PlatformDefinition.html | 14 +- ...le_foundation_sdk.index.PlatformUtils.html | 30 ---- ..._foundation_sdk.index.PorticoBridge-1.html | 11 -- ...ndation_sdk.index.ProtocolInitializer.html | 7 - ...oundation_sdk.index.SignAndSendSigner.html | 4 - ...e_foundation_sdk.index.SignOnlySigner.html | 4 - ...le_foundation_sdk.index.TokenBridge-1.html | 55 -------- ...wormhole_foundation_sdk.index.TokenId.html | 3 - ...ndation_sdk.index.UnsignedTransaction.html | 3 - .../_wormhole_foundation_sdk.index.VAA.html | 4 - ...ole_foundation_sdk.index.WormholeCore.html | 30 ---- ...egistry.PayloadLiteralToLayoutMapping.html | 2 - ...gistry.PlatformToNativeAddressMapping.html | 2 - ...leRegistry.ProtocolToInterfaceMapping.html | 2 - ...oleRegistry.ProtocolToPlatformMapping.html | 2 - ...le_foundation_sdk.index.amount.Amount.html | 7 - ...ation_sdk.index.api.TransactionStatus.html | 3 - ...ole_foundation_sdk_base.amount.Amount.html | 8 +- ...rmhole_foundation_sdk_connect.Address.html | 15 -- ...n_sdk_connect.AutomaticCircleBridge-1.html | 12 -- ...on_sdk_connect.AutomaticTokenBridge-1.html | 18 --- ...foundation_sdk_connect.CircleBridge-1.html | 22 --- ...ole_foundation_sdk_connect.GatewayMsg.html | 3 - ...hole_foundation_sdk_connect.IbcBridge.html | 18 --- ...oundation_sdk_connect.IbcTransferData.html | 2 - ..._foundation_sdk_connect.PlatformUtils.html | 30 ---- ...oundation_sdk_connect.PorticoBridge-1.html | 11 -- ...ation_sdk_connect.ProtocolInitializer.html | 7 - ...ndation_sdk_connect.SignAndSendSigner.html | 4 - ...foundation_sdk_connect.SignOnlySigner.html | 4 - ..._foundation_sdk_connect.TokenBridge-1.html | 55 -------- ...rmhole_foundation_sdk_connect.TokenId.html | 3 - ...ation_sdk_connect.UnsignedTransaction.html | 3 - .../_wormhole_foundation_sdk_connect.VAA.html | 4 - ...e_foundation_sdk_connect.WormholeCore.html | 30 ---- ...egistry.PayloadLiteralToLayoutMapping.html | 2 - ...gistry.PlatformToNativeAddressMapping.html | 2 - ...leRegistry.ProtocolToInterfaceMapping.html | 2 - ...oleRegistry.ProtocolToPlatformMapping.html | 2 - ..._foundation_sdk_connect.amount.Amount.html | 7 - ...ion_sdk_connect.api.TransactionStatus.html | 4 +- ...le_foundation_sdk_definitions.Address.html | 12 +- ...k_definitions.AutomaticCircleBridge-1.html | 14 +- ...dk_definitions.AutomaticTokenBridge-1.html | 20 +-- ...dation_sdk_definitions.CircleBridge-1.html | 22 +-- ...foundation_sdk_definitions.GatewayMsg.html | 4 +- ..._foundation_sdk_definitions.IbcBridge.html | 18 +-- ...ation_sdk_definitions.IbcTransferData.html | 4 +- ...ndation_sdk_definitions.PlatformUtils.html | 28 ++-- ...ation_sdk_definitions.PorticoBridge-1.html | 22 ++- ...n_sdk_definitions.ProtocolInitializer.html | 8 +- ...ion_sdk_definitions.SignAndSendSigner.html | 4 +- ...dation_sdk_definitions.SignOnlySigner.html | 4 +- ...ndation_sdk_definitions.TokenBridge-1.html | 59 ++++---- ...le_foundation_sdk_definitions.TokenId.html | 4 +- ...ion_sdk_definitions.UnattestedTokenId.html | 3 + ...n_sdk_definitions.UnsignedTransaction.html | 4 +- ...rmhole_foundation_sdk_definitions.VAA.html | 4 +- ...undation_sdk_definitions.WormholeCore.html | 22 +-- ...egistry.PayloadLiteralToLayoutMapping.html | 4 +- ...gistry.PlatformToNativeAddressMapping.html | 4 +- ...leRegistry.ProtocolToInterfaceMapping.html | 4 +- ...oleRegistry.ProtocolToPlatformMapping.html | 4 +- ...solana_core.utils.PostMessageAccounts.html | 4 +- ...ana_core.utils.PostMessageCpiAccounts.html | 12 +- ...na_core.utils.WormholeDerivedAccounts.html | 12 +- ...eTransferNativeWithPayloadCpiAccounts.html | 20 +-- ...TransferWrappedWithPayloadCpiAccounts.html | 22 +-- ...bridge.TokenBridgeBaseDerivedAccounts.html | 6 +- ....TokenBridgeBaseNativeDerivedAccounts.html | 8 +- ...okenbridge.TokenBridgeDerivedAccounts.html | 24 ++-- ....TransferNativeWithPayloadCpiAccounts.html | 24 ++-- ...TransferWrappedWithPayloadCpiAccounts.html | 26 ++-- docs/modules/_wormhole_foundation_sdk.html | 8 +- ...ation_sdk.index.AutomaticCircleBridge.html | 2 - ...dation_sdk.index.AutomaticTokenBridge.html | 3 - ...ole_foundation_sdk.index.CircleBridge.html | 3 - ...le_foundation_sdk.index.PorticoBridge.html | 3 - ...hole_foundation_sdk.index.TokenBridge.html | 4 - ...le_foundation_sdk.index.TokenTransfer.html | 2 - ...foundation_sdk.index.WormholeRegistry.html | 7 - ..._wormhole_foundation_sdk.index.amount.html | 11 -- .../_wormhole_foundation_sdk.index.api.html | 4 - ...ormhole_foundation_sdk.index.decimals.html | 2 - ...ormhole_foundation_sdk.index.encoding.html | 7 - ...ormhole_foundation_sdk.index.finality.html | 4 - .../_wormhole_foundation_sdk.index.html | 79 +---------- ..._wormhole_foundation_sdk.index.routes.html | 5 - .../_wormhole_foundation_sdk.index.rpc.html | 2 - .../_wormhole_foundation_sdk_algorand.html | 4 +- ...wormhole_foundation_sdk_algorand_core.html | 4 +- ...e_foundation_sdk_algorand_tokenbridge.html | 4 +- .../_wormhole_foundation_sdk_base.amount.html | 4 +- ...wormhole_foundation_sdk_base.decimals.html | 4 +- ...wormhole_foundation_sdk_base.encoding.html | 4 +- ...wormhole_foundation_sdk_base.finality.html | 5 +- .../_wormhole_foundation_sdk_base.html | 4 +- .../_wormhole_foundation_sdk_base.rpc.html | 4 +- ...ion_sdk_connect.AutomaticCircleBridge.html | 2 - ...tion_sdk_connect.AutomaticTokenBridge.html | 3 - ...e_foundation_sdk_connect.CircleBridge.html | 3 - ..._foundation_sdk_connect.PorticoBridge.html | 3 - ...le_foundation_sdk_connect.TokenBridge.html | 4 - ..._foundation_sdk_connect.TokenTransfer.html | 4 +- ...undation_sdk_connect.WormholeRegistry.html | 7 - ...ormhole_foundation_sdk_connect.amount.html | 11 -- .../_wormhole_foundation_sdk_connect.api.html | 4 +- ...mhole_foundation_sdk_connect.decimals.html | 2 - ...mhole_foundation_sdk_connect.encoding.html | 7 - ...mhole_foundation_sdk_connect.finality.html | 4 - .../_wormhole_foundation_sdk_connect.html | 131 ++++++------------ ...ormhole_foundation_sdk_connect.routes.html | 4 +- .../_wormhole_foundation_sdk_connect.rpc.html | 2 - .../_wormhole_foundation_sdk_cosmwasm.html | 4 +- ...wormhole_foundation_sdk_cosmwasm_core.html | 4 +- ..._wormhole_foundation_sdk_cosmwasm_ibc.html | 4 +- ...e_foundation_sdk_cosmwasm_tokenbridge.html | 4 +- ...sdk_definitions.AutomaticCircleBridge.html | 4 +- ..._sdk_definitions.AutomaticTokenBridge.html | 4 +- ...undation_sdk_definitions.CircleBridge.html | 4 +- ...ndation_sdk_definitions.PorticoBridge.html | 4 +- ...oundation_sdk_definitions.TokenBridge.html | 6 +- ...tion_sdk_definitions.WormholeRegistry.html | 6 +- .../_wormhole_foundation_sdk_definitions.html | 6 +- .../modules/_wormhole_foundation_sdk_evm.html | 4 +- .../_wormhole_foundation_sdk_evm_cctp.html | 4 +- .../_wormhole_foundation_sdk_evm_core.html | 4 +- ...rmhole_foundation_sdk_evm_tokenbridge.html | 4 +- .../_wormhole_foundation_sdk_solana.html | 4 +- ..._wormhole_foundation_sdk_solana.utils.html | 5 +- .../_wormhole_foundation_sdk_solana_core.html | 4 +- ...hole_foundation_sdk_solana_core.utils.html | 4 +- ...ole_foundation_sdk_solana_tokenbridge.html | 4 +- ...e_foundation_sdk.index.AccountAddress.html | 2 - ...hole_foundation_sdk.index.Attestation.html | 2 - ...le_foundation_sdk.index.AttestationId.html | 2 - ...n_sdk.index.AutomaticCircleBridge.VAA.html | 2 - ...dex.AutomaticTokenBridge.ProtocolName.html | 2 - ...on_sdk.index.AutomaticTokenBridge.VAA.html | 2 - ...ole_foundation_sdk.index.ChainAddress.html | 3 - ...hole_foundation_sdk.index.ChainConfig.html | 10 -- ...oundation_sdk.index.CircleAttestation.html | 2 - ...on_sdk.index.CircleBridge.Attestation.html | 2 - ...n_sdk.index.CircleBridge.ProtocolName.html | 2 - ..._foundation_sdk.index.CircleMessageId.html | 3 - ...rmhole_foundation_sdk.index.Contracts.html | 2 - ...tion_sdk.index.GatewayTransferDetails.html | 2 - ...ole_foundation_sdk.index.IbcMessageId.html | 3 - ...le_foundation_sdk.index.NativeAddress.html | 2 - ..._sdk.index.PorticoBridge.ProtocolName.html | 2 - ...oundation_sdk.index.PorticoBridge.VAA.html | 2 - ...tion_sdk.index.ProtocolImplementation.html | 4 - ...oundation_sdk.index.ProtocolInterface.html | 2 - ...ole_foundation_sdk.index.ProtocolName.html | 3 - ...hole_foundation_sdk.index.ProtocolVAA.html | 2 - ...mhole_foundation_sdk.index.SequenceId.html | 2 - ...ormhole_foundation_sdk.index.SignedTx.html | 2 - ..._wormhole_foundation_sdk.index.Signer.html | 6 - ...ole_foundation_sdk.index.TokenAddress.html | 3 - ...on_sdk.index.TokenBridge.ProtocolName.html | 2 - ..._foundation_sdk.index.TokenBridge.VAA.html | 2 - ...dation_sdk.index.TokenTransferDetails.html | 2 - ...le_foundation_sdk.index.TransactionId.html | 2 - ..._wormhole_foundation_sdk.index.TxHash.html | 2 - ...oundation_sdk.index.UniversalOrNative.html | 2 - ...oundation_sdk.index.WormholeMessageId.html | 2 - ...ion_sdk_algorand.AlgorandPlatformType.html | 4 +- ...foundation_sdk_connect.AccountAddress.html | 2 - ...le_foundation_sdk_connect.Attestation.html | 2 - ..._foundation_sdk_connect.AttestationId.html | 2 - ...sdk_connect.AutomaticCircleBridge.VAA.html | 2 - ...ect.AutomaticTokenBridge.ProtocolName.html | 2 - ..._sdk_connect.AutomaticTokenBridge.VAA.html | 2 - ...e_foundation_sdk_connect.ChainAddress.html | 3 - ...le_foundation_sdk_connect.ChainConfig.html | 10 -- ...ndation_sdk_connect.CircleAttestation.html | 2 - ..._sdk_connect.CircleBridge.Attestation.html | 2 - ...sdk_connect.CircleBridge.ProtocolName.html | 2 - ...oundation_sdk_connect.CircleMessageId.html | 3 - ...hole_foundation_sdk_connect.Contracts.html | 2 - ...on_sdk_connect.GatewayTransferDetails.html | 2 - ...e_foundation_sdk_connect.IbcMessageId.html | 3 - ..._foundation_sdk_connect.NativeAddress.html | 2 - ...dk_connect.PorticoBridge.ProtocolName.html | 2 - ...ndation_sdk_connect.PorticoBridge.VAA.html | 2 - ...on_sdk_connect.ProtocolImplementation.html | 4 - ...ndation_sdk_connect.ProtocolInterface.html | 2 - ...e_foundation_sdk_connect.ProtocolName.html | 3 - ...le_foundation_sdk_connect.ProtocolVAA.html | 2 - ...ole_foundation_sdk_connect.SequenceId.html | 2 - ...mhole_foundation_sdk_connect.SignedTx.html | 2 - ...ormhole_foundation_sdk_connect.Signer.html | 6 - ...e_foundation_sdk_connect.TokenAddress.html | 3 - ..._sdk_connect.TokenBridge.ProtocolName.html | 2 - ...oundation_sdk_connect.TokenBridge.VAA.html | 2 - ...tion_sdk_connect.TokenTransferDetails.html | 2 - ..._foundation_sdk_connect.TransactionId.html | 2 - ...ormhole_foundation_sdk_connect.TxHash.html | 2 - ...ndation_sdk_connect.UniversalOrNative.html | 2 - ...ndation_sdk_connect.WormholeMessageId.html | 2 - ...ion_sdk_cosmwasm.CosmwasmPlatformType.html | 4 +- ...dation_sdk_definitions.AccountAddress.html | 4 +- ...oundation_sdk_definitions.Attestation.html | 4 +- ...ndation_sdk_definitions.AttestationId.html | 4 +- ...definitions.AutomaticCircleBridge.VAA.html | 4 +- ...ons.AutomaticTokenBridge.ProtocolName.html | 4 +- ..._definitions.AutomaticTokenBridge.VAA.html | 4 +- ...undation_sdk_definitions.ChainAddress.html | 4 +- ...oundation_sdk_definitions.ChainConfig.html | 4 +- ...ion_sdk_definitions.CircleAttestation.html | 4 +- ..._definitions.CircleBridge.Attestation.html | 4 +- ...definitions.CircleBridge.ProtocolName.html | 4 +- ...ation_sdk_definitions.CircleMessageId.html | 4 +- ..._foundation_sdk_definitions.Contracts.html | 4 +- ...dk_definitions.GatewayTransferDetails.html | 4 +- ...undation_sdk_definitions.IbcMessageId.html | 4 +- ...ndation_sdk_definitions.NativeAddress.html | 4 +- ...efinitions.PorticoBridge.ProtocolName.html | 4 +- ...ion_sdk_definitions.PorticoBridge.VAA.html | 4 +- ...dk_definitions.ProtocolImplementation.html | 4 +- ...ion_sdk_definitions.ProtocolInterface.html | 4 +- ...undation_sdk_definitions.ProtocolName.html | 4 +- ...oundation_sdk_definitions.ProtocolVAA.html | 4 +- ...foundation_sdk_definitions.SequenceId.html | 4 +- ...e_foundation_sdk_definitions.SignedTx.html | 4 +- ...ole_foundation_sdk_definitions.Signer.html | 4 +- ...undation_sdk_definitions.TokenAddress.html | 4 +- ..._definitions.TokenBridge.ProtocolName.html | 4 +- ...ation_sdk_definitions.TokenBridge.VAA.html | 4 +- ..._sdk_definitions.TokenTransferDetails.html | 4 +- ...ndation_sdk_definitions.TransactionId.html | 4 +- ...ole_foundation_sdk_definitions.TxHash.html | 4 +- ...ion_sdk_definitions.UniversalOrNative.html | 4 +- ...ion_sdk_definitions.WormholeMessageId.html | 4 +- ...wormhole_foundation_sdk_evm.EvmChains.html | 4 +- ...le_foundation_sdk_evm.EvmPlatformType.html | 4 +- ...ndation_sdk_solana.PriorityFeeOptions.html | 4 +- ...ndation_sdk_solana.SolanaPlatformType.html | 4 +- ...on_sdk_solana.SolanaSendSignerOptions.html | 4 +- ..._sdk.index.TokenTransfer.MAX_DECIMALS.html | 2 - ...ole_foundation_sdk.index.encoding.b58.html | 4 - ...ole_foundation_sdk.index.encoding.b64.html | 5 - ..._foundation_sdk.index.encoding.bignum.html | 7 - ...e_foundation_sdk.index.encoding.bytes.html | 7 - ...ole_foundation_sdk.index.encoding.hex.html | 5 - ...ole_foundation_sdk_algorand._platform.html | 4 +- ...hole_foundation_sdk_base.encoding.b58.html | 4 +- ...hole_foundation_sdk_base.encoding.b64.html | 4 +- ...e_foundation_sdk_base.encoding.bignum.html | 10 +- ...le_foundation_sdk_base.encoding.bytes.html | 4 +- ...hole_foundation_sdk_base.encoding.hex.html | 4 +- ...dk_connect.TokenTransfer.MAX_DECIMALS.html | 4 +- ...e_foundation_sdk_connect.encoding.b58.html | 4 - ...e_foundation_sdk_connect.encoding.b64.html | 5 - ...oundation_sdk_connect.encoding.bignum.html | 7 - ...foundation_sdk_connect.encoding.bytes.html | 7 - ...e_foundation_sdk_connect.encoding.hex.html | 5 - ...ole_foundation_sdk_cosmwasm._platform.html | 4 +- ...wormhole_foundation_sdk_evm._platform.html | 4 +- ..._sdk_solana.DefaultPriorityFeeOptions.html | 4 +- ...mhole_foundation_sdk_solana._platform.html | 4 +- ...ion_sdk_solana_core.postMessageLayout.html | 4 +- 410 files changed, 705 insertions(+), 2259 deletions(-) delete mode 100644 docs/classes/_wormhole_foundation_sdk.index.ChainContext.html delete mode 100644 docs/classes/_wormhole_foundation_sdk.index.PlatformContext.html delete mode 100644 docs/classes/_wormhole_foundation_sdk.index.PlatformNativeSigner.html delete mode 100644 docs/classes/_wormhole_foundation_sdk.index.Signature.html delete mode 100644 docs/classes/_wormhole_foundation_sdk.index.UniversalAddress.html delete mode 100644 docs/classes/_wormhole_foundation_sdk.index.routes.AutomaticRoute.html delete mode 100644 docs/classes/_wormhole_foundation_sdk.index.routes.FinalizableRoute.html delete mode 100644 docs/classes/_wormhole_foundation_sdk.index.routes.ManualRoute.html delete mode 100644 docs/classes/_wormhole_foundation_sdk_connect.ChainContext.html delete mode 100644 docs/classes/_wormhole_foundation_sdk_connect.PlatformContext.html delete mode 100644 docs/classes/_wormhole_foundation_sdk_connect.PlatformNativeSigner.html delete mode 100644 docs/classes/_wormhole_foundation_sdk_connect.Signature.html delete mode 100644 docs/classes/_wormhole_foundation_sdk_connect.UniversalAddress.html delete mode 100644 docs/functions/_wormhole_foundation_sdk.index.amount.denoise.html delete mode 100644 docs/functions/_wormhole_foundation_sdk.index.amount.display.html delete mode 100644 docs/functions/_wormhole_foundation_sdk.index.amount.fmt.html delete mode 100644 docs/functions/_wormhole_foundation_sdk.index.amount.fromBaseUnits.html delete mode 100644 docs/functions/_wormhole_foundation_sdk.index.amount.parse.html delete mode 100644 docs/functions/_wormhole_foundation_sdk.index.amount.scale.html delete mode 100644 docs/functions/_wormhole_foundation_sdk.index.amount.truncate.html delete mode 100644 docs/functions/_wormhole_foundation_sdk.index.amount.units.html delete mode 100644 docs/functions/_wormhole_foundation_sdk.index.amount.whole.html delete mode 100644 docs/functions/_wormhole_foundation_sdk.index.api.getTransactionStatus.html delete mode 100644 docs/functions/_wormhole_foundation_sdk.index.api.getVaaBytes.html delete mode 100644 docs/functions/_wormhole_foundation_sdk.index.blindDeserializePayload.html delete mode 100644 docs/functions/_wormhole_foundation_sdk.index.canonicalAddress.html delete mode 100644 docs/functions/_wormhole_foundation_sdk.index.createVAA.html delete mode 100644 docs/functions/_wormhole_foundation_sdk.index.decimals.nativeDecimals.html delete mode 100644 docs/functions/_wormhole_foundation_sdk.index.deserialize.html delete mode 100644 docs/functions/_wormhole_foundation_sdk.index.deserializePayload.html delete mode 100644 docs/functions/_wormhole_foundation_sdk.index.encoding.stripPrefix.html delete mode 100644 docs/functions/_wormhole_foundation_sdk.index.exhaustiveDeserialize.html delete mode 100644 docs/functions/_wormhole_foundation_sdk.index.finality.blockTime.html delete mode 100644 docs/functions/_wormhole_foundation_sdk.index.finality.consistencyLevelToBlock.html delete mode 100644 docs/functions/_wormhole_foundation_sdk.index.finality.finalityThreshold.html delete mode 100644 docs/functions/_wormhole_foundation_sdk.index.getContracts.html delete mode 100644 docs/functions/_wormhole_foundation_sdk.index.nativeTokenId.html delete mode 100644 docs/functions/_wormhole_foundation_sdk.index.registerProtocol.html delete mode 100644 docs/functions/_wormhole_foundation_sdk.index.resolveWrappedToken.html delete mode 100644 docs/functions/_wormhole_foundation_sdk.index.routes.checkAndCompleteTransfer.html delete mode 100644 docs/functions/_wormhole_foundation_sdk.index.rpc.rpcAddress.html delete mode 100644 docs/functions/_wormhole_foundation_sdk.index.serialize.html delete mode 100644 docs/functions/_wormhole_foundation_sdk.index.serializePayload.html delete mode 100644 docs/functions/_wormhole_foundation_sdk.index.toNative.html create mode 100644 docs/functions/_wormhole_foundation_sdk_base.finality.estimateFinalityTime.html delete mode 100644 docs/functions/_wormhole_foundation_sdk_connect.amount.denoise.html delete mode 100644 docs/functions/_wormhole_foundation_sdk_connect.amount.display.html delete mode 100644 docs/functions/_wormhole_foundation_sdk_connect.amount.fmt.html delete mode 100644 docs/functions/_wormhole_foundation_sdk_connect.amount.fromBaseUnits.html delete mode 100644 docs/functions/_wormhole_foundation_sdk_connect.amount.parse.html delete mode 100644 docs/functions/_wormhole_foundation_sdk_connect.amount.scale.html delete mode 100644 docs/functions/_wormhole_foundation_sdk_connect.amount.truncate.html delete mode 100644 docs/functions/_wormhole_foundation_sdk_connect.amount.units.html delete mode 100644 docs/functions/_wormhole_foundation_sdk_connect.amount.whole.html delete mode 100644 docs/functions/_wormhole_foundation_sdk_connect.blindDeserializePayload.html delete mode 100644 docs/functions/_wormhole_foundation_sdk_connect.canonicalAddress.html delete mode 100644 docs/functions/_wormhole_foundation_sdk_connect.createVAA.html delete mode 100644 docs/functions/_wormhole_foundation_sdk_connect.decimals.nativeDecimals.html delete mode 100644 docs/functions/_wormhole_foundation_sdk_connect.deserialize.html delete mode 100644 docs/functions/_wormhole_foundation_sdk_connect.deserializePayload.html delete mode 100644 docs/functions/_wormhole_foundation_sdk_connect.encoding.stripPrefix.html delete mode 100644 docs/functions/_wormhole_foundation_sdk_connect.exhaustiveDeserialize.html delete mode 100644 docs/functions/_wormhole_foundation_sdk_connect.finality.blockTime.html delete mode 100644 docs/functions/_wormhole_foundation_sdk_connect.finality.consistencyLevelToBlock.html delete mode 100644 docs/functions/_wormhole_foundation_sdk_connect.finality.finalityThreshold.html delete mode 100644 docs/functions/_wormhole_foundation_sdk_connect.getContracts.html delete mode 100644 docs/functions/_wormhole_foundation_sdk_connect.nativeTokenId.html delete mode 100644 docs/functions/_wormhole_foundation_sdk_connect.registerProtocol.html delete mode 100644 docs/functions/_wormhole_foundation_sdk_connect.resolveWrappedToken.html delete mode 100644 docs/functions/_wormhole_foundation_sdk_connect.rpc.rpcAddress.html delete mode 100644 docs/functions/_wormhole_foundation_sdk_connect.serialize.html delete mode 100644 docs/functions/_wormhole_foundation_sdk_connect.serializePayload.html delete mode 100644 docs/functions/_wormhole_foundation_sdk_connect.toNative.html create mode 100644 docs/functions/_wormhole_foundation_sdk_definitions.deserializeUnknownVaa.html delete mode 100644 docs/functions/_wormhole_foundation_sdk_solana.utils.deriveAddress.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk.index.Address.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk.index.AutomaticCircleBridge-1.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk.index.AutomaticTokenBridge-1.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk.index.CircleBridge-1.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk.index.GatewayMsg.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk.index.IbcBridge.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk.index.IbcTransferData.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk.index.PlatformUtils.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk.index.PorticoBridge-1.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk.index.ProtocolInitializer.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk.index.SignAndSendSigner.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk.index.SignOnlySigner.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk.index.TokenBridge-1.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk.index.TokenId.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk.index.UnsignedTransaction.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk.index.VAA.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk.index.WormholeCore.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk.index.WormholeRegistry.PayloadLiteralToLayoutMapping.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk.index.WormholeRegistry.PlatformToNativeAddressMapping.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk.index.WormholeRegistry.ProtocolToInterfaceMapping.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk.index.WormholeRegistry.ProtocolToPlatformMapping.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk.index.amount.Amount.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk.index.api.TransactionStatus.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk_connect.Address.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk_connect.AutomaticCircleBridge-1.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk_connect.AutomaticTokenBridge-1.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk_connect.CircleBridge-1.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk_connect.GatewayMsg.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk_connect.IbcBridge.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk_connect.IbcTransferData.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk_connect.PlatformUtils.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk_connect.PorticoBridge-1.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk_connect.ProtocolInitializer.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk_connect.SignAndSendSigner.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk_connect.SignOnlySigner.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk_connect.TokenBridge-1.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk_connect.TokenId.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk_connect.UnsignedTransaction.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk_connect.VAA.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk_connect.WormholeCore.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk_connect.WormholeRegistry.PayloadLiteralToLayoutMapping.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk_connect.WormholeRegistry.PlatformToNativeAddressMapping.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk_connect.WormholeRegistry.ProtocolToInterfaceMapping.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk_connect.WormholeRegistry.ProtocolToPlatformMapping.html delete mode 100644 docs/interfaces/_wormhole_foundation_sdk_connect.amount.Amount.html create mode 100644 docs/interfaces/_wormhole_foundation_sdk_definitions.UnattestedTokenId.html delete mode 100644 docs/modules/_wormhole_foundation_sdk.index.AutomaticCircleBridge.html delete mode 100644 docs/modules/_wormhole_foundation_sdk.index.AutomaticTokenBridge.html delete mode 100644 docs/modules/_wormhole_foundation_sdk.index.CircleBridge.html delete mode 100644 docs/modules/_wormhole_foundation_sdk.index.PorticoBridge.html delete mode 100644 docs/modules/_wormhole_foundation_sdk.index.TokenBridge.html delete mode 100644 docs/modules/_wormhole_foundation_sdk.index.TokenTransfer.html delete mode 100644 docs/modules/_wormhole_foundation_sdk.index.WormholeRegistry.html delete mode 100644 docs/modules/_wormhole_foundation_sdk.index.amount.html delete mode 100644 docs/modules/_wormhole_foundation_sdk.index.api.html delete mode 100644 docs/modules/_wormhole_foundation_sdk.index.decimals.html delete mode 100644 docs/modules/_wormhole_foundation_sdk.index.encoding.html delete mode 100644 docs/modules/_wormhole_foundation_sdk.index.finality.html delete mode 100644 docs/modules/_wormhole_foundation_sdk.index.routes.html delete mode 100644 docs/modules/_wormhole_foundation_sdk.index.rpc.html delete mode 100644 docs/modules/_wormhole_foundation_sdk_connect.AutomaticCircleBridge.html delete mode 100644 docs/modules/_wormhole_foundation_sdk_connect.AutomaticTokenBridge.html delete mode 100644 docs/modules/_wormhole_foundation_sdk_connect.CircleBridge.html delete mode 100644 docs/modules/_wormhole_foundation_sdk_connect.PorticoBridge.html delete mode 100644 docs/modules/_wormhole_foundation_sdk_connect.TokenBridge.html delete mode 100644 docs/modules/_wormhole_foundation_sdk_connect.WormholeRegistry.html delete mode 100644 docs/modules/_wormhole_foundation_sdk_connect.amount.html delete mode 100644 docs/modules/_wormhole_foundation_sdk_connect.decimals.html delete mode 100644 docs/modules/_wormhole_foundation_sdk_connect.encoding.html delete mode 100644 docs/modules/_wormhole_foundation_sdk_connect.finality.html delete mode 100644 docs/modules/_wormhole_foundation_sdk_connect.rpc.html delete mode 100644 docs/types/_wormhole_foundation_sdk.index.AccountAddress.html delete mode 100644 docs/types/_wormhole_foundation_sdk.index.Attestation.html delete mode 100644 docs/types/_wormhole_foundation_sdk.index.AttestationId.html delete mode 100644 docs/types/_wormhole_foundation_sdk.index.AutomaticCircleBridge.VAA.html delete mode 100644 docs/types/_wormhole_foundation_sdk.index.AutomaticTokenBridge.ProtocolName.html delete mode 100644 docs/types/_wormhole_foundation_sdk.index.AutomaticTokenBridge.VAA.html delete mode 100644 docs/types/_wormhole_foundation_sdk.index.ChainAddress.html delete mode 100644 docs/types/_wormhole_foundation_sdk.index.ChainConfig.html delete mode 100644 docs/types/_wormhole_foundation_sdk.index.CircleAttestation.html delete mode 100644 docs/types/_wormhole_foundation_sdk.index.CircleBridge.Attestation.html delete mode 100644 docs/types/_wormhole_foundation_sdk.index.CircleBridge.ProtocolName.html delete mode 100644 docs/types/_wormhole_foundation_sdk.index.CircleMessageId.html delete mode 100644 docs/types/_wormhole_foundation_sdk.index.Contracts.html delete mode 100644 docs/types/_wormhole_foundation_sdk.index.GatewayTransferDetails.html delete mode 100644 docs/types/_wormhole_foundation_sdk.index.IbcMessageId.html delete mode 100644 docs/types/_wormhole_foundation_sdk.index.NativeAddress.html delete mode 100644 docs/types/_wormhole_foundation_sdk.index.PorticoBridge.ProtocolName.html delete mode 100644 docs/types/_wormhole_foundation_sdk.index.PorticoBridge.VAA.html delete mode 100644 docs/types/_wormhole_foundation_sdk.index.ProtocolImplementation.html delete mode 100644 docs/types/_wormhole_foundation_sdk.index.ProtocolInterface.html delete mode 100644 docs/types/_wormhole_foundation_sdk.index.ProtocolName.html delete mode 100644 docs/types/_wormhole_foundation_sdk.index.ProtocolVAA.html delete mode 100644 docs/types/_wormhole_foundation_sdk.index.SequenceId.html delete mode 100644 docs/types/_wormhole_foundation_sdk.index.SignedTx.html delete mode 100644 docs/types/_wormhole_foundation_sdk.index.Signer.html delete mode 100644 docs/types/_wormhole_foundation_sdk.index.TokenAddress.html delete mode 100644 docs/types/_wormhole_foundation_sdk.index.TokenBridge.ProtocolName.html delete mode 100644 docs/types/_wormhole_foundation_sdk.index.TokenBridge.VAA.html delete mode 100644 docs/types/_wormhole_foundation_sdk.index.TokenTransferDetails.html delete mode 100644 docs/types/_wormhole_foundation_sdk.index.TransactionId.html delete mode 100644 docs/types/_wormhole_foundation_sdk.index.TxHash.html delete mode 100644 docs/types/_wormhole_foundation_sdk.index.UniversalOrNative.html delete mode 100644 docs/types/_wormhole_foundation_sdk.index.WormholeMessageId.html delete mode 100644 docs/types/_wormhole_foundation_sdk_connect.AccountAddress.html delete mode 100644 docs/types/_wormhole_foundation_sdk_connect.Attestation.html delete mode 100644 docs/types/_wormhole_foundation_sdk_connect.AttestationId.html delete mode 100644 docs/types/_wormhole_foundation_sdk_connect.AutomaticCircleBridge.VAA.html delete mode 100644 docs/types/_wormhole_foundation_sdk_connect.AutomaticTokenBridge.ProtocolName.html delete mode 100644 docs/types/_wormhole_foundation_sdk_connect.AutomaticTokenBridge.VAA.html delete mode 100644 docs/types/_wormhole_foundation_sdk_connect.ChainAddress.html delete mode 100644 docs/types/_wormhole_foundation_sdk_connect.ChainConfig.html delete mode 100644 docs/types/_wormhole_foundation_sdk_connect.CircleAttestation.html delete mode 100644 docs/types/_wormhole_foundation_sdk_connect.CircleBridge.Attestation.html delete mode 100644 docs/types/_wormhole_foundation_sdk_connect.CircleBridge.ProtocolName.html delete mode 100644 docs/types/_wormhole_foundation_sdk_connect.CircleMessageId.html delete mode 100644 docs/types/_wormhole_foundation_sdk_connect.Contracts.html delete mode 100644 docs/types/_wormhole_foundation_sdk_connect.GatewayTransferDetails.html delete mode 100644 docs/types/_wormhole_foundation_sdk_connect.IbcMessageId.html delete mode 100644 docs/types/_wormhole_foundation_sdk_connect.NativeAddress.html delete mode 100644 docs/types/_wormhole_foundation_sdk_connect.PorticoBridge.ProtocolName.html delete mode 100644 docs/types/_wormhole_foundation_sdk_connect.PorticoBridge.VAA.html delete mode 100644 docs/types/_wormhole_foundation_sdk_connect.ProtocolImplementation.html delete mode 100644 docs/types/_wormhole_foundation_sdk_connect.ProtocolInterface.html delete mode 100644 docs/types/_wormhole_foundation_sdk_connect.ProtocolName.html delete mode 100644 docs/types/_wormhole_foundation_sdk_connect.ProtocolVAA.html delete mode 100644 docs/types/_wormhole_foundation_sdk_connect.SequenceId.html delete mode 100644 docs/types/_wormhole_foundation_sdk_connect.SignedTx.html delete mode 100644 docs/types/_wormhole_foundation_sdk_connect.Signer.html delete mode 100644 docs/types/_wormhole_foundation_sdk_connect.TokenAddress.html delete mode 100644 docs/types/_wormhole_foundation_sdk_connect.TokenBridge.ProtocolName.html delete mode 100644 docs/types/_wormhole_foundation_sdk_connect.TokenBridge.VAA.html delete mode 100644 docs/types/_wormhole_foundation_sdk_connect.TokenTransferDetails.html delete mode 100644 docs/types/_wormhole_foundation_sdk_connect.TransactionId.html delete mode 100644 docs/types/_wormhole_foundation_sdk_connect.TxHash.html delete mode 100644 docs/types/_wormhole_foundation_sdk_connect.UniversalOrNative.html delete mode 100644 docs/types/_wormhole_foundation_sdk_connect.WormholeMessageId.html delete mode 100644 docs/variables/_wormhole_foundation_sdk.index.TokenTransfer.MAX_DECIMALS.html delete mode 100644 docs/variables/_wormhole_foundation_sdk.index.encoding.b58.html delete mode 100644 docs/variables/_wormhole_foundation_sdk.index.encoding.b64.html delete mode 100644 docs/variables/_wormhole_foundation_sdk.index.encoding.bignum.html delete mode 100644 docs/variables/_wormhole_foundation_sdk.index.encoding.bytes.html delete mode 100644 docs/variables/_wormhole_foundation_sdk.index.encoding.hex.html delete mode 100644 docs/variables/_wormhole_foundation_sdk_connect.encoding.b58.html delete mode 100644 docs/variables/_wormhole_foundation_sdk_connect.encoding.b64.html delete mode 100644 docs/variables/_wormhole_foundation_sdk_connect.encoding.bignum.html delete mode 100644 docs/variables/_wormhole_foundation_sdk_connect.encoding.bytes.html delete mode 100644 docs/variables/_wormhole_foundation_sdk_connect.encoding.hex.html diff --git a/docs/assets/navigation.js b/docs/assets/navigation.js index 99be167c2..7c5972b34 100644 --- a/docs/assets/navigation.js +++ b/docs/assets/navigation.js @@ -1 +1 @@ -window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA82dXW/cNhaG/4uvk91NNsl2c9WJ3e4aiJsgdpICxcKgJY5HiEaalTSOp8X+96UkUsOvOeKHDl0UvWgy532OJIqkSJ63v/1x1tHH7uzt2Y/f62a7qUv6fF3vq5x0RV2dPTvLNkWZN7Q6e/vb9NM2//b8jrSU/fWOdBv2J9s635e0/eutELk9ityyn9/2P//LptuWLOZbUeVnb1/atcmWBXa+ymOUCnhlB6w0QFF1tFmTzJWxsqBevn7zv2cTIadVXch3Z72vsl7LkcDjVcSbVzKhaHclOYQTxniAsN52weosFlJu6u079uvPVdG14QxZBaDtSBPxJIZoQL3NSBmuPkQD6l3D9EgXDhACAGMf9RT2M3f/ey8QrD5EG+r/Ud60rNiSsvXtLkScU4dRseAHemGgXK9mgqlC4IXRKqvzorr3vTAR53Rhd69/OOo/kKYgdx4EFq1S/v5SuoC7N69itN+8grSL+2q/jZEfBCDCoaNtDKCPB/Q39DFCnUUD2m3XFLuPDV0Xj/5tdWJIKmBDXRcVKYvu4NtQRZxbQy3r7NtNsQ3oSibOpAF0VxnTK9qO3YTDe/pAy5v6XR8VQT2hCA2PPPRm09CWAfIIuqEFPspml/k+RRb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k/o0jefE6pHH8fjOvSpEBR/PhWB4s6nIZb25lPlkZz5NAiWL5+KWdyVT5XH8ORTCRiOfCphcT8+VX5hNz4hnsSLT4IldeKTuGl8+FQgkgsfhyTy4NNpqA58HIbpv6cjFnXfM8QX9t4z9Bd33jMIy/ruGQ8Yw3VPh+B57nESvuOeDkrkt6djE7vt6Xhcrz1OS+C0p5JS+OypRHSXPRWX0GNPBeM77Akeqr+eBEF11xOLoNjeemJpMJWznsZD9NXjJGRXPU7B9tQTGw0pHPWgvSNkPz1gPwXJTc+y2YDipcc5mE56HIHuo3fk+LroXUz/h7YQoKniwvR37tNwiL59tn0ZXNc+QUzp2Sd1xCkc+yQcrl+fuSO0vFufzMD16psGMlSnPk7B8unTVv9xXPrEIIXt0Sc4yA59JgbHn0+e0eK582nzZkxvPmXqgO/Mp+DwfPkEJo0rnzotSuDJd5y84DrycU5CPz59aE/jxmdMKBC9+DQWkhOfRkHx4RNzFDQXPmkStLwHnyyO4sAnz3oS+O/Zjr5guu8JHp73niDgOu/pax/ovnva9C6l6x5Hp/Xc41Bsxz2BwfPbmzYu8d32TFQCrz2xy5XIaY/jHH32+osXixkhGCV+jsNHzWCOiAc4wb6BnJPCNVBsEyTzDJyA6I6BnITtF6hjcNwCOQXwChz++T+ukn54ybAAAA==" \ No newline at end of file +window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAE72cbW8bNxLHv4teO+3Fl+TSvKpsp3cG4sSI7eSAIjAoLiUR3iW3JFe2WvS7F/socrkaPkl6aYDz/w25wyE5pPz7XzNFXtTsw+zXZy6KNc/JqyWvWIYU5Wx2NsNrmmeCsNmH34emMnt6tUCSzM5mJVLr2YdZwbMqJ/Lnx17kcSfyKLOnx7r5T2tV5LOz2RNl2ezD+bQ2KnjFVKhya2UC3kwD5iMAZYqIJcK+jPkE6vztu7/PBkJGGKf66CwrhmstT0JnbyLevdEJVJY52sYTWnuAsCxUtPqyUJCy4MUFkuSBUSXjGboKQCuRSPgSjTWgLjHK49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1wW6upNfeQy0ur77/G3HKpuoJ1lzEDT6Y2dkISfuU1NL8s6RGc0FR93pxcEUE3JDuUI3tkIU+6+chlffTV5mJEgOue7JN11+qJoMvt8GJXJuYb2ycIANcXXMET5dReXdgXZwDFOuMVQqM8Ve460P4GImI1at2wlJynkS4/xp0bOvT+o8N0Hhuf9dvi6Xeq1l2tNjW36A6FwMBn0COdrmp+Iq9Bmuf7zfr/ehwiYep+wvIBjn3u/onDUd2bhHg6eUTXQhw6xZRJnSqnmSLJU6O5U4zJRP5rg+5vIM51oxqVjQ7mecCgj133mVPRfvrOKsup0wRA+oc/1QeP+9D2facsnpEMqdP3Jp47ibZxRElo4Iw1oLLQuG1QkWYv8XiV6QHpX57uTUKPzL2dR6F6QMTtOgeSd8l6ANJFyH9DGUB0gWEAyldcIJYFiPcmXnE+7xpHxPnAGWuAv6wctQ2K873E48X5gPSP894kNM57O484HxBxcT6QfOPcX9sr6CjL9P+n5dRs2nsp9wFxNbyhCdoNdiRbBdrt1UtXbxG0QHY0wx5Yo5t23TuuaE5vP3kL/uPvH/8AjK5wq19UAAA=" \ No newline at end of file diff --git a/docs/assets/search.js b/docs/assets/search.js index 8b436ae7e..b7919243c 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1 +1 @@ -window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA9W9XZPbNrI//F08t84cEST4slePE2/2pCrZpGJn91+1tZWiJY5HFY00kSjbs1vnuz8kQIBAs5siCUCeuThnJxbZ7Beg0fihu/HfV8fD59Orv/zrv6/+2O43r/7CXr/alw/Vq7+8+v8+H44P94dd9c3d4bzflPX2sP+f0+aPbz6Up+rV61fn46556uGwOe+q0//8rp7+vX/69+bp39unb+/rh13zynpXnk5V87lXr/7vtfpior9YPjSv1jNJy5eQL7x+9Vgeq4beJVF6VhhPNTNvbGa2+7o63pXrqfy8cWWrI2RwF60YqSsH9m40qeVcdvQoZjfVevtQ7k5e2DWI+WQ4NdndH7bGGL8779ctkYnMdq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l5fHow37mnmbkYooE40sjXj6875R5vGEdl40zywjtfYnOiCmh1F/pA/GuXnqzhSEyPtuzuTh2oVsfdNkylQ5vVggI9zKVVRHyZFu+aVcWqSLuPUpc9/AVUPXaoz07QjVM/1GVScGqfhfjyNdqKwzePvUbnokz64TsNrzkc5qfkGnOaI5tWeqj+e2b509ja39djff1CF3Tja3rr8M0trNY3KmInPet1Igc3vrL3DAmq5UoWFch+krMp95UMFv9alUmLnutUrGp6Pz09y5Mu2YVGIxmRmmaR6OiDM1IUqmBi7P9YlUQQ3BCz1NIhPgihSAyvtDSNLrnfft8LNmqwn+qDg5UbhXkZDahOkJpn0jhYMkKuJI1eRMFZyephp61G0lVDiZa6SA8mLgQDG2OrB1VHQGmFpelJvRnTNV21ldDb7S58FqIe33Koo5JVumFJ/pDv7KFeWr/vCMUuCncmfPELOfhM4G012S1K5eXySg/GhO4smyfx16VGqu8grX55EOksit4+cWNbFJmcNHzUXFI1k8pwAYk5QxEF9aSxMlzhCSYGbD41QtcKkaMVmsA3F9twrlayjQKjLbCEZqKPNVv9JdssLYptFsVJSSeT+KErZjNFO3U91CgzzwVqTuqkbSXSMuaFnKzKylVM3BtNBbG6VIleSRkSmpIKsRLljmUV1/T4qeJBeVIY/Hj1Z4aapTkYp16wkSNVYk0S2eCXuluoEIeTJJV8OZITRTbo7H2peRi8F/HktwQ0VPqG8Bqa9JQafRv1+/etw+VrvtvnntX//+v//7/wE+KeUFumwEAA=="; \ No newline at end of file +window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAE9V9W3PkthHuf9G+ysrgwrn46aztJMdVceKyneRUbaVc1AwlsXaGnJAc7Sqp/PdTBAhOo9lNcUhwVvu0Wolo9g2N7g8N8L83Rf6pvPn2w39vPqbZ7uZbeXuTxYfk5tub//MpLw5P+T755iE/Zbu4SvPsD+Xu4zf3cZnc3N6civ3NtzeHfHfaJ+UffndP/35++vdy9/H3+um7p+qwv7m92e7jskzKm29vbv53696o2zfGh/yUVReStoOIN9ze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LKba921Gi6gC4vaXcPVSKxe0cqYck2eb7fYKvoJHwPiUVOcu6Gxq1OyukhbMRe3QCtXngwAyxehakczTsnlLhZRjwegW2GHYEyJwcnnlU7lJKxc5cvq8a5kySbdH4z9HfMIDYN71d+q/bm2N6TPZpltx8++Ff//vf/wcMEbBVXggCAA=="; \ No newline at end of file diff --git a/docs/classes/_wormhole_foundation_sdk.index.ChainContext.html b/docs/classes/_wormhole_foundation_sdk.index.ChainContext.html deleted file mode 100644 index fca19dfd3..000000000 --- a/docs/classes/_wormhole_foundation_sdk.index.ChainContext.html +++ /dev/null @@ -1,98 +0,0 @@ -ChainContext | Wormhole TS SDK - v0.7.0

A ChainContext provides a consistent interface for interacting with a chain. -It holds the configuration for the chain and cached RPC and protocol clients.

-

Type Parameters

  • N extends Network
  • C extends Chain = Chain
  • P extends Platform = ChainToPlatform<C>

Properties

getAutomaticCircleBridge: (() => Promise<AutomaticCircleBridge<N, C>>)

Get the Automatic Circle Bridge protocol client for this chain

-

Type declaration

Returns

the Automatic Circle Bridge protocol client for this chain

-
getAutomaticTokenBridge: (() => Promise<AutomaticTokenBridge<N, C>>)

Get the Automatic Token Bridge protocol client for this chain

-

Type declaration

Returns

the Automatic Token Bridge protocol client for this chain

-
getCircleBridge: (() => Promise<CircleBridge<N, C>>)

Get the Circle Bridge protocol client for this chain

-

Type declaration

Returns

the Circle Bridge protocol client for this chain

-
getIbcBridge: (() => Promise<IbcBridge<N, C>>)

Get the IBC Bridge protocol client for this chain

-

Type declaration

Returns

the IBC Bridge protocol client for this chain

-
getPorticoBridge: (() => Promise<PorticoBridge<N, C>>)

Get the Portico Bridge protocol client for this chain

-

Type declaration

Returns

the Portico Bridge protocol client for this chain

-
getTokenBridge: (() => Promise<TokenBridge<N, C>>)

Get the Token Bridge protocol client for this chain

-

Type declaration

Returns

the Token Bridge protocol client for this chain

-
getWormholeCore: (() => Promise<WormholeCore<N, C>>)

Get the Wormhole Core protocol client for this chain

-

Type declaration

Returns

the Wormhole Core protocol client for this chain

-
supportsAutomaticCircleBridge: (() => boolean)

Check to see if the Automatic Circle Bridge protocol is supported by this chain

-

Type declaration

    • (): boolean
    • Returns boolean

Returns

a boolean indicating if this chain supports the Automatic Circle Bridge protocol

-
supportsAutomaticTokenBridge: (() => boolean)

Check to see if the Automatic Token Bridge protocol is supported by this chain

-

Type declaration

    • (): boolean
    • Returns boolean

Returns

a boolean indicating if this chain supports the Automatic Token Bridge protocol

-
supportsCircleBridge: (() => boolean)

Check to see if the Circle Bridge protocol is supported by this chain

-

Type declaration

    • (): boolean
    • Returns boolean

Returns

a boolean indicating if this chain supports the Circle Bridge protocol

-
supportsIbcBridge: (() => boolean)

Check to see if the IBC Bridge protocol is supported by this chain

-

Type declaration

    • (): boolean
    • Returns boolean

Returns

a boolean indicating if this chain supports the IBC Bridge protocol

-
supportsPorticoBridge: (() => boolean)

Check to see if the Portico Bridge protocol is supported by this chain

-

Type declaration

    • (): boolean
    • Returns boolean

Returns

a boolean indicating if this chain supports the Portico Bridge protocol

-
supportsTokenBridge: (() => boolean)

Check to see if the Token Bridge protocol is supported by this chain

-

Type declaration

    • (): boolean
    • Returns boolean

Returns

a boolean indicating if this chain supports the Token Bridge protocol

-
supportsWormholeCore: (() => boolean)

Check to see if the Wormhole Core protocol is supported by this chain

-

Type declaration

    • (): boolean
    • Returns boolean

Returns

a boolean indicating if this chain supports the Wormhole Core protocol

-

Methods

  • Get the balance of a token for a given address

    -

    Parameters

    • walletAddr: string

      the address to get the balance for

      -
    • token: TokenAddress<C>

      the token to get the balance for

      -

    Returns Promise<null | bigint>

    the balance of the token for the address

    -
  • Get the number of decimals for a token

    -

    Parameters

    Returns Promise<number>

    the number of decimals for the token

    -
  • Get the latest block number seen by the chain according to the RPC

    -

    Returns Promise<number>

    the latest block number

    -
  • Get the latest finalized block number seen by the chain according to the RPC

    -

    Returns Promise<number>

    the latest finalized block number

    -
  • Get the token id of the wrapped token for the native gas token

    -

    Returns Promise<TokenId<C>>

    the wrapped token for the native gas token

    -
  • Construct a protocol client for the given protocol

    -

    Note: If no contracts are passed, we assume the default contracts should be used -and that the protocol client is cacheable

    -

    Type Parameters

    • PN extends keyof WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">

    Parameters

    • protocolName: PN

      The name of the protocol to construct a client for

      -
    • Optional contracts: Contracts
    • Optional rpc: any

    Returns Promise<ProtocolInstance<P, PN, N, C>>

    An instance of the protocol client that implements the protocol interface for the chain

    -
  • Get an RPC connection for this chain, uses the configuration passed in -the initial constructor

    -

    Returns Promise<any>

    the RPC connection for this chain

    -
  • Get the token data from the local cache if available

    -

    Parameters

    • symbol: string

      the symbol of the token to get

      -

    Returns undefined | Token

    the token data if available

    -
  • Get the token account for a given address and token

    -

    Parameters

    Returns Promise<ChainAddress<C>>

    the token account for the address and token

    -

    Remarks

    This is really only useful in the context of Solana but in order -to provide a consistent interface, we provide it here.

    -
  • Parse the Wormhole Core messages from a transaction

    -

    Parameters

    • txid: string

      the transaction to parse

      -

    Returns Promise<WormholeMessageId[]>

    the Wormhole Core messages emitted by the transaction

    -
  • Send a transaction and wait for it to be confirmed

    -

    Parameters

    • stxns: any[]

      the signed transaction to send

      -

    Returns Promise<string[]>

    the transaction hashes of the sent transactions

    -
  • Check to see if a given protocol is supported by this chain -by checking if it is registered in the platform and the configuration -is available and correct

    -

    Parameters

    • protocolName: keyof WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">

      the name of the Protocol to check for support

      -

    Returns boolean

    a boolean indicating if this protocol is supported

    -
\ No newline at end of file diff --git a/docs/classes/_wormhole_foundation_sdk.index.PlatformContext.html b/docs/classes/_wormhole_foundation_sdk.index.PlatformContext.html deleted file mode 100644 index 960e8ebfe..000000000 --- a/docs/classes/_wormhole_foundation_sdk.index.PlatformContext.html +++ /dev/null @@ -1,14 +0,0 @@ -PlatformContext | Wormhole TS SDK - v0.7.0

PlatformContext is an instance of the class that represents a specific Platform

-

Type Parameters

  • N extends Network
  • P extends Platform

Methods

  • Create a new Chain context object

    -

    Type Parameters

    • C extends "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

    Parameters

    • chain: C
    • Optional rpc: any

    Returns ChainContext<N, C, ChainToPlatform<C>>

  • Create a new Protocol Client instance by protocol name using the RPC connection to determine the network

    -

    Type Parameters

    • PN extends keyof WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">

    Parameters

    • protocol: PN
    • rpc: any

    Returns Promise<ProtocolInstance<P, PN, N>>

  • Get the underlying ProtocolInitializer to construct yourself

    -

    Type Parameters

    • PN extends keyof WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">

    Parameters

    • protocol: PN

    Returns ProtocolInitializer<P, PN, "Mainnet" | "Testnet" | "Devnet", PlatformToChains<P>>

  • Create a new RPC Connection

    -

    Type Parameters

    • C extends "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

    Parameters

    • chain: C

    Returns any

  • Look up transaction logs and parse out Wormhole messages

    -

    Type Parameters

    • C extends "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

    Parameters

    • chain: C
    • rpc: any
    • txid: string

    Returns Promise<WormholeMessageId[]>

  • provides access to the static attributes of the PlatformContext class

    -

    Returns PlatformUtils<P>

\ No newline at end of file diff --git a/docs/classes/_wormhole_foundation_sdk.index.PlatformNativeSigner.html b/docs/classes/_wormhole_foundation_sdk.index.PlatformNativeSigner.html deleted file mode 100644 index 0567a4548..000000000 --- a/docs/classes/_wormhole_foundation_sdk.index.PlatformNativeSigner.html +++ /dev/null @@ -1,3 +0,0 @@ -PlatformNativeSigner | Wormhole TS SDK - v0.7.0

Class PlatformNativeSigner<NS, N, C>Abstract

A PlatformNativeSigner should allow wrapping and unwrapping of a platform specific Signer -so that the underlying native signer may be used by unwrapping it where needed

-

Type Parameters

  • NS extends NativeSigner
  • N extends Network = Network
  • C extends Chain = Chain
\ No newline at end of file diff --git a/docs/classes/_wormhole_foundation_sdk.index.Signature.html b/docs/classes/_wormhole_foundation_sdk.index.Signature.html deleted file mode 100644 index 27f8bbbaa..000000000 --- a/docs/classes/_wormhole_foundation_sdk.index.Signature.html +++ /dev/null @@ -1,2 +0,0 @@ -Signature | Wormhole TS SDK - v0.7.0

Signature represents the secp256k1 signature of a Guardian

-
\ No newline at end of file diff --git a/docs/classes/_wormhole_foundation_sdk.index.UniversalAddress.html b/docs/classes/_wormhole_foundation_sdk.index.UniversalAddress.html deleted file mode 100644 index a30d278d3..000000000 --- a/docs/classes/_wormhole_foundation_sdk.index.UniversalAddress.html +++ /dev/null @@ -1,3 +0,0 @@ -UniversalAddress | Wormhole TS SDK - v0.7.0

The UniversalAddress represents an address that has been parsed into its -byte representation and possibly modified to ensure it is exactly 32 bytes long

-

Implements

\ No newline at end of file diff --git a/docs/classes/_wormhole_foundation_sdk.index.routes.AutomaticRoute.html b/docs/classes/_wormhole_foundation_sdk.index.routes.AutomaticRoute.html deleted file mode 100644 index 938e2ed4e..000000000 --- a/docs/classes/_wormhole_foundation_sdk.index.routes.AutomaticRoute.html +++ /dev/null @@ -1,3 +0,0 @@ -AutomaticRoute | Wormhole TS SDK - v0.7.0

Class AutomaticRoute<N, OP, VP, R>Abstract

AutomaticRoute is used whenever a relayer is delivering the -Attestation to the destination chain

-

Type Parameters

  • N extends Network
  • OP extends Options = Options
  • VP extends ValidatedTransferParams<OP> = ValidatedTransferParams<OP>
  • R extends Receipt = Receipt

Hierarchy

  • Route<N, OP, VP, R>
    • AutomaticRoute
\ No newline at end of file diff --git a/docs/classes/_wormhole_foundation_sdk.index.routes.FinalizableRoute.html b/docs/classes/_wormhole_foundation_sdk.index.routes.FinalizableRoute.html deleted file mode 100644 index 4f3e518ab..000000000 --- a/docs/classes/_wormhole_foundation_sdk.index.routes.FinalizableRoute.html +++ /dev/null @@ -1,3 +0,0 @@ -FinalizableRoute | Wormhole TS SDK - v0.7.0

Class FinalizableRoute<N, OP, VP, R>Abstract

FinalizableRoute is used whenever the route has a step after -completion that needs to be done

-

Type Parameters

  • N extends Network
  • OP extends Options = Options
  • VP extends ValidatedTransferParams<OP> = ValidatedTransferParams<OP>
  • R extends Receipt = Receipt

Hierarchy

  • Route<N, OP, VP, R>
    • FinalizableRoute
\ No newline at end of file diff --git a/docs/classes/_wormhole_foundation_sdk.index.routes.ManualRoute.html b/docs/classes/_wormhole_foundation_sdk.index.routes.ManualRoute.html deleted file mode 100644 index 212ce89d5..000000000 --- a/docs/classes/_wormhole_foundation_sdk.index.routes.ManualRoute.html +++ /dev/null @@ -1,3 +0,0 @@ -ManualRoute | Wormhole TS SDK - v0.7.0

Manual route is used whenever a manual delivery of the Attestation -is necessary

-

Type Parameters

  • N extends Network
  • OP extends Options = Options
  • VP extends ValidatedTransferParams<OP> = ValidatedTransferParams<OP>
  • R extends Receipt = Receipt

Hierarchy

  • Route<N, OP, VP, R>
    • ManualRoute
\ No newline at end of file diff --git a/docs/classes/_wormhole_foundation_sdk_algorand.AlgorandPlatform.html b/docs/classes/_wormhole_foundation_sdk_algorand.AlgorandPlatform.html index 6e8dd1aa9..27391187c 100644 --- a/docs/classes/_wormhole_foundation_sdk_algorand.AlgorandPlatform.html +++ b/docs/classes/_wormhole_foundation_sdk_algorand.AlgorandPlatform.html @@ -1,10 +1 @@ -AlgorandPlatform | Wormhole TS SDK - v0.7.0

PlatformContext is an instance of the class that represents a specific Platform

-

Type Parameters

  • N extends Network

Hierarchy (view full)

Implements

Methods

  • Create a new Protocol Client instance by protocol name using the RPC connection to determine the network

    -

    Type Parameters

    • PN extends keyof WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">

    Parameters

    • protocol: PN
    • rpc: any

    Returns Promise<ProtocolInstance<"Algorand", PN, N>>

  • Get the underlying ProtocolInitializer to construct yourself

    -

    Type Parameters

    • PN extends keyof WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">

    Parameters

    • protocol: PN

    Returns ProtocolInitializer<"Algorand", PN, "Mainnet" | "Testnet" | "Devnet", "Algorand">

  • Look up transaction logs and parse out Wormhole messages

    -

    Type Parameters

    • C extends "Algorand"

    Parameters

    • chain: C
    • rpc: any
    • txid: string

    Returns Promise<WormholeMessageId[]>

  • provides access to the static attributes of the PlatformContext class

    -

    Returns PlatformUtils<"Algorand">

\ No newline at end of file +AlgorandPlatform | Wormhole TS SDK - v1.13.2

Type Parameters

  • N extends Network

Hierarchy

Implements

\ No newline at end of file diff --git a/docs/classes/_wormhole_foundation_sdk_connect.ChainContext.html b/docs/classes/_wormhole_foundation_sdk_connect.ChainContext.html deleted file mode 100644 index bac0bef33..000000000 --- a/docs/classes/_wormhole_foundation_sdk_connect.ChainContext.html +++ /dev/null @@ -1,98 +0,0 @@ -ChainContext | Wormhole TS SDK - v0.7.0

A ChainContext provides a consistent interface for interacting with a chain. -It holds the configuration for the chain and cached RPC and protocol clients.

-

Type Parameters

  • N extends Network
  • C extends Chain = Chain
  • P extends Platform = ChainToPlatform<C>

Properties

getAutomaticCircleBridge: (() => Promise<AutomaticCircleBridge<N, C>>)

Get the Automatic Circle Bridge protocol client for this chain

-

Type declaration

Returns

the Automatic Circle Bridge protocol client for this chain

-
getAutomaticTokenBridge: (() => Promise<AutomaticTokenBridge<N, C>>)

Get the Automatic Token Bridge protocol client for this chain

-

Type declaration

Returns

the Automatic Token Bridge protocol client for this chain

-
getCircleBridge: (() => Promise<CircleBridge<N, C>>)

Get the Circle Bridge protocol client for this chain

-

Type declaration

Returns

the Circle Bridge protocol client for this chain

-
getIbcBridge: (() => Promise<IbcBridge<N, C>>)

Get the IBC Bridge protocol client for this chain

-

Type declaration

Returns

the IBC Bridge protocol client for this chain

-
getPorticoBridge: (() => Promise<PorticoBridge<N, C>>)

Get the Portico Bridge protocol client for this chain

-

Type declaration

Returns

the Portico Bridge protocol client for this chain

-
getTokenBridge: (() => Promise<TokenBridge<N, C>>)

Get the Token Bridge protocol client for this chain

-

Type declaration

Returns

the Token Bridge protocol client for this chain

-
getWormholeCore: (() => Promise<WormholeCore<N, C>>)

Get the Wormhole Core protocol client for this chain

-

Type declaration

Returns

the Wormhole Core protocol client for this chain

-
supportsAutomaticCircleBridge: (() => boolean)

Check to see if the Automatic Circle Bridge protocol is supported by this chain

-

Type declaration

    • (): boolean
    • Returns boolean

Returns

a boolean indicating if this chain supports the Automatic Circle Bridge protocol

-
supportsAutomaticTokenBridge: (() => boolean)

Check to see if the Automatic Token Bridge protocol is supported by this chain

-

Type declaration

    • (): boolean
    • Returns boolean

Returns

a boolean indicating if this chain supports the Automatic Token Bridge protocol

-
supportsCircleBridge: (() => boolean)

Check to see if the Circle Bridge protocol is supported by this chain

-

Type declaration

    • (): boolean
    • Returns boolean

Returns

a boolean indicating if this chain supports the Circle Bridge protocol

-
supportsIbcBridge: (() => boolean)

Check to see if the IBC Bridge protocol is supported by this chain

-

Type declaration

    • (): boolean
    • Returns boolean

Returns

a boolean indicating if this chain supports the IBC Bridge protocol

-
supportsPorticoBridge: (() => boolean)

Check to see if the Portico Bridge protocol is supported by this chain

-

Type declaration

    • (): boolean
    • Returns boolean

Returns

a boolean indicating if this chain supports the Portico Bridge protocol

-
supportsTokenBridge: (() => boolean)

Check to see if the Token Bridge protocol is supported by this chain

-

Type declaration

    • (): boolean
    • Returns boolean

Returns

a boolean indicating if this chain supports the Token Bridge protocol

-
supportsWormholeCore: (() => boolean)

Check to see if the Wormhole Core protocol is supported by this chain

-

Type declaration

    • (): boolean
    • Returns boolean

Returns

a boolean indicating if this chain supports the Wormhole Core protocol

-

Methods

  • Get the balance of a token for a given address

    -

    Parameters

    • walletAddr: string

      the address to get the balance for

      -
    • token: TokenAddress<C>

      the token to get the balance for

      -

    Returns Promise<null | bigint>

    the balance of the token for the address

    -
  • Get the number of decimals for a token

    -

    Parameters

    Returns Promise<number>

    the number of decimals for the token

    -
  • Get the latest block number seen by the chain according to the RPC

    -

    Returns Promise<number>

    the latest block number

    -
  • Get the latest finalized block number seen by the chain according to the RPC

    -

    Returns Promise<number>

    the latest finalized block number

    -
  • Get the token id of the wrapped token for the native gas token

    -

    Returns Promise<TokenId<C>>

    the wrapped token for the native gas token

    -
  • Construct a protocol client for the given protocol

    -

    Note: If no contracts are passed, we assume the default contracts should be used -and that the protocol client is cacheable

    -

    Type Parameters

    • PN extends keyof WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">

    Parameters

    • protocolName: PN

      The name of the protocol to construct a client for

      -
    • Optional contracts: Contracts
    • Optional rpc: any

    Returns Promise<ProtocolInstance<P, PN, N, C>>

    An instance of the protocol client that implements the protocol interface for the chain

    -
  • Get an RPC connection for this chain, uses the configuration passed in -the initial constructor

    -

    Returns Promise<any>

    the RPC connection for this chain

    -
  • Get the token data from the local cache if available

    -

    Parameters

    • symbol: string

      the symbol of the token to get

      -

    Returns undefined | Token

    the token data if available

    -
  • Get the token account for a given address and token

    -

    Parameters

    Returns Promise<ChainAddress<C>>

    the token account for the address and token

    -

    Remarks

    This is really only useful in the context of Solana but in order -to provide a consistent interface, we provide it here.

    -
  • Parse the Wormhole Core messages from a transaction

    -

    Parameters

    • txid: string

      the transaction to parse

      -

    Returns Promise<WormholeMessageId[]>

    the Wormhole Core messages emitted by the transaction

    -
  • Send a transaction and wait for it to be confirmed

    -

    Parameters

    • stxns: any[]

      the signed transaction to send

      -

    Returns Promise<string[]>

    the transaction hashes of the sent transactions

    -
  • Check to see if a given protocol is supported by this chain -by checking if it is registered in the platform and the configuration -is available and correct

    -

    Parameters

    • protocolName: keyof WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">

      the name of the Protocol to check for support

      -

    Returns boolean

    a boolean indicating if this protocol is supported

    -
\ No newline at end of file diff --git a/docs/classes/_wormhole_foundation_sdk_connect.PlatformContext.html b/docs/classes/_wormhole_foundation_sdk_connect.PlatformContext.html deleted file mode 100644 index 0f92c1212..000000000 --- a/docs/classes/_wormhole_foundation_sdk_connect.PlatformContext.html +++ /dev/null @@ -1,14 +0,0 @@ -PlatformContext | Wormhole TS SDK - v0.7.0

PlatformContext is an instance of the class that represents a specific Platform

-

Type Parameters

  • N extends Network
  • P extends Platform

Methods

  • Create a new Chain context object

    -

    Type Parameters

    • C extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

    Parameters

    • chain: C
    • Optional rpc: any

    Returns ChainContext<N, C, ChainToPlatform<C>>

  • Create a new Protocol Client instance by protocol name using the RPC connection to determine the network

    -

    Type Parameters

    • PN extends keyof WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">

    Parameters

    • protocol: PN
    • rpc: any

    Returns Promise<ProtocolInstance<P, PN, N>>

  • Get the underlying ProtocolInitializer to construct yourself

    -

    Type Parameters

    • PN extends keyof WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">

    Parameters

    • protocol: PN

    Returns ProtocolInitializer<P, PN, "Mainnet" | "Testnet" | "Devnet", PlatformToChains<P>>

  • Create a new RPC Connection

    -

    Type Parameters

    • C extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

    Parameters

    • chain: C

    Returns any

  • Look up transaction logs and parse out Wormhole messages

    -

    Type Parameters

    • C extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

    Parameters

    • chain: C
    • rpc: any
    • txid: string

    Returns Promise<WormholeMessageId[]>

  • provides access to the static attributes of the PlatformContext class

    -

    Returns PlatformUtils<P>

\ No newline at end of file diff --git a/docs/classes/_wormhole_foundation_sdk_connect.PlatformNativeSigner.html b/docs/classes/_wormhole_foundation_sdk_connect.PlatformNativeSigner.html deleted file mode 100644 index 1c3499303..000000000 --- a/docs/classes/_wormhole_foundation_sdk_connect.PlatformNativeSigner.html +++ /dev/null @@ -1,3 +0,0 @@ -PlatformNativeSigner | Wormhole TS SDK - v0.7.0

Class PlatformNativeSigner<NS, N, C>Abstract

A PlatformNativeSigner should allow wrapping and unwrapping of a platform specific Signer -so that the underlying native signer may be used by unwrapping it where needed

-

Type Parameters

  • NS extends NativeSigner
  • N extends Network = Network
  • C extends Chain = Chain
\ No newline at end of file diff --git a/docs/classes/_wormhole_foundation_sdk_connect.Signature.html b/docs/classes/_wormhole_foundation_sdk_connect.Signature.html deleted file mode 100644 index b7ca39ed0..000000000 --- a/docs/classes/_wormhole_foundation_sdk_connect.Signature.html +++ /dev/null @@ -1,2 +0,0 @@ -Signature | Wormhole TS SDK - v0.7.0

Signature represents the secp256k1 signature of a Guardian

-
\ No newline at end of file diff --git a/docs/classes/_wormhole_foundation_sdk_connect.UniversalAddress.html b/docs/classes/_wormhole_foundation_sdk_connect.UniversalAddress.html deleted file mode 100644 index 1ecfa871c..000000000 --- a/docs/classes/_wormhole_foundation_sdk_connect.UniversalAddress.html +++ /dev/null @@ -1,3 +0,0 @@ -UniversalAddress | Wormhole TS SDK - v0.7.0

The UniversalAddress represents an address that has been parsed into its -byte representation and possibly modified to ensure it is exactly 32 bytes long

-

Implements

\ No newline at end of file diff --git a/docs/classes/_wormhole_foundation_sdk_connect.routes.AutomaticRoute.html b/docs/classes/_wormhole_foundation_sdk_connect.routes.AutomaticRoute.html index 273d7a58b..06580e5ef 100644 --- a/docs/classes/_wormhole_foundation_sdk_connect.routes.AutomaticRoute.html +++ b/docs/classes/_wormhole_foundation_sdk_connect.routes.AutomaticRoute.html @@ -1,3 +1,3 @@ -AutomaticRoute | Wormhole TS SDK - v0.7.0

AutomaticRoute is used whenever a relayer is delivering the +AutomaticRoute | Wormhole TS SDK - v1.13.2

AutomaticRoute is used whenever a relayer is delivering the Attestation to the destination chain

-

Type Parameters

  • N extends Network
  • OP extends Options = Options
  • VP extends ValidatedTransferParams<OP> = ValidatedTransferParams<OP>
  • R extends Receipt = Receipt

Hierarchy

  • Route<N, OP, VP, R>
    • AutomaticRoute
\ No newline at end of file +

Type Parameters

  • N extends Network
  • OP extends Options = Options
  • VP extends ValidatedTransferParams<OP> = ValidatedTransferParams<OP>
  • R extends Receipt = Receipt

Hierarchy

  • Route<N, OP, VP, R>
    • AutomaticRoute
\ No newline at end of file diff --git a/docs/classes/_wormhole_foundation_sdk_connect.routes.FinalizableRoute.html b/docs/classes/_wormhole_foundation_sdk_connect.routes.FinalizableRoute.html index 831bdb618..42b83256d 100644 --- a/docs/classes/_wormhole_foundation_sdk_connect.routes.FinalizableRoute.html +++ b/docs/classes/_wormhole_foundation_sdk_connect.routes.FinalizableRoute.html @@ -1,3 +1,3 @@ -FinalizableRoute | Wormhole TS SDK - v0.7.0

FinalizableRoute is used whenever the route has a step after +FinalizableRoute | Wormhole TS SDK - v1.13.2

FinalizableRoute is used whenever the route has a step after completion that needs to be done

-

Type Parameters

  • N extends Network
  • OP extends Options = Options
  • VP extends ValidatedTransferParams<OP> = ValidatedTransferParams<OP>
  • R extends Receipt = Receipt

Hierarchy

  • Route<N, OP, VP, R>
    • FinalizableRoute
\ No newline at end of file +

Type Parameters

  • N extends Network
  • OP extends Options = Options
  • VP extends ValidatedTransferParams<OP> = ValidatedTransferParams<OP>
  • R extends Receipt = Receipt

Hierarchy

  • Route<N, OP, VP, R>
    • FinalizableRoute
\ No newline at end of file diff --git a/docs/classes/_wormhole_foundation_sdk_connect.routes.ManualRoute.html b/docs/classes/_wormhole_foundation_sdk_connect.routes.ManualRoute.html index 230ffcf35..8d85bd74d 100644 --- a/docs/classes/_wormhole_foundation_sdk_connect.routes.ManualRoute.html +++ b/docs/classes/_wormhole_foundation_sdk_connect.routes.ManualRoute.html @@ -1,3 +1,3 @@ -ManualRoute | Wormhole TS SDK - v0.7.0

Manual route is used whenever a manual delivery of the Attestation +ManualRoute | Wormhole TS SDK - v1.13.2

Manual route is used whenever a manual delivery of the Attestation is necessary

-

Type Parameters

  • N extends Network
  • OP extends Options = Options
  • VP extends ValidatedTransferParams<OP> = ValidatedTransferParams<OP>
  • R extends Receipt = Receipt

Hierarchy

  • Route<N, OP, VP, R>
    • ManualRoute
\ No newline at end of file +

Type Parameters

  • N extends Network
  • OP extends Options = Options
  • VP extends ValidatedTransferParams<OP> = ValidatedTransferParams<OP>
  • R extends Receipt = Receipt

Hierarchy

  • Route<N, OP, VP, R>
    • ManualRoute
\ No newline at end of file diff --git a/docs/classes/_wormhole_foundation_sdk_cosmwasm.CosmwasmPlatform.html b/docs/classes/_wormhole_foundation_sdk_cosmwasm.CosmwasmPlatform.html index fe1f75331..364d34f84 100644 --- a/docs/classes/_wormhole_foundation_sdk_cosmwasm.CosmwasmPlatform.html +++ b/docs/classes/_wormhole_foundation_sdk_cosmwasm.CosmwasmPlatform.html @@ -1,10 +1 @@ -CosmwasmPlatform | Wormhole TS SDK - v0.7.0

PlatformContext is an instance of the class that represents a specific Platform

-

Type Parameters

  • N extends Network

Hierarchy (view full)

Implements

Methods

  • Create a new Protocol Client instance by protocol name using the RPC connection to determine the network

    -

    Type Parameters

    • PN extends keyof WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Solana" | "Algorand" | "Near" | "Sui" | "Aptos" | "Btc" | "Cosmoshub" | "Evmos" | "Injective" | "Kujira" | "Osmosis" | "Sei" | "Terra" | "Terra2" | "Wormchain" | "Xpla" | "Dymension" | "Neutron" | "Stargaze" | "Celestia" | "Seda" | "Provenance" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Base" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">

    Parameters

    • protocol: PN
    • rpc: any

    Returns Promise<ProtocolInstance<"Cosmwasm", PN, N>>

  • Get the underlying ProtocolInitializer to construct yourself

    -

    Type Parameters

    • PN extends keyof WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Solana" | "Algorand" | "Near" | "Sui" | "Aptos" | "Btc" | "Cosmoshub" | "Evmos" | "Injective" | "Kujira" | "Osmosis" | "Sei" | "Terra" | "Terra2" | "Wormchain" | "Xpla" | "Dymension" | "Neutron" | "Stargaze" | "Celestia" | "Seda" | "Provenance" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Base" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">

    Parameters

    • protocol: PN

    Returns ProtocolInitializer<"Cosmwasm", PN, "Mainnet" | "Testnet" | "Devnet", "Cosmoshub" | "Evmos" | "Injective" | "Kujira" | "Osmosis" | "Sei" | "Terra" | "Terra2" | "Wormchain" | "Xpla" | "Dymension" | "Neutron" | "Stargaze" | "Celestia" | "Seda" | "Provenance">

  • Look up transaction logs and parse out Wormhole messages

    -

    Type Parameters

    • C extends "Cosmoshub" | "Evmos" | "Injective" | "Kujira" | "Osmosis" | "Sei" | "Terra" | "Terra2" | "Wormchain" | "Xpla" | "Dymension" | "Neutron" | "Stargaze" | "Celestia" | "Seda" | "Provenance"

    Parameters

    • chain: C
    • rpc: any
    • txid: string

    Returns Promise<WormholeMessageId[]>

  • provides access to the static attributes of the PlatformContext class

    -

    Returns PlatformUtils<"Cosmwasm">

\ No newline at end of file +CosmwasmPlatform | Wormhole TS SDK - v1.13.2

Type Parameters

  • N extends Network

Hierarchy

Implements

\ No newline at end of file diff --git a/docs/classes/_wormhole_foundation_sdk_definitions.ChainContext.html b/docs/classes/_wormhole_foundation_sdk_definitions.ChainContext.html index 70ed7dc9a..93a7e7555 100644 --- a/docs/classes/_wormhole_foundation_sdk_definitions.ChainContext.html +++ b/docs/classes/_wormhole_foundation_sdk_definitions.ChainContext.html @@ -1,6 +1,6 @@ -ChainContext | Wormhole TS SDK - v0.7.0

A ChainContext provides a consistent interface for interacting with a chain. +ChainContext | Wormhole TS SDK - v1.13.2

A ChainContext provides a consistent interface for interacting with a chain. It holds the configuration for the chain and cached RPC and protocol clients.

-

Type Parameters

  • N extends Network
  • C extends Chain = Chain
  • P extends Platform = ChainToPlatform<C>

Hierarchy

  • ChainContext

    Methods

    Type Parameters

    • N extends Network
    • C extends Chain = Chain
    • P extends Platform = ChainToPlatform<C>

    Methods

    • Get the balance of a token for a given address

      +
    • Get the balance of a token for a given address

      Parameters

      • walletAddr: string

        the address to get the balance for

        -
      • token: TokenAddress<C>

        the token to get the balance for

        +
      • token: TokenAddress<C>

        the token to get the balance for

      Returns Promise<null | bigint>

      the balance of the token for the address

      -
    • Get the number of decimals for a token

      -

      Parameters

    • Get the number of decimals for a token

      +

      Parameters

      Returns Promise<number>

      the number of decimals for the token

      -
    • Get the IBC Bridge protocol client for this chain

      +
    • Get the latest block number seen by the chain according to the RPC

      +
    • Get the latest block number seen by the chain according to the RPC

      Returns Promise<number>

      the latest block number

      -
    • Get the latest finalized block number seen by the chain according to the RPC

      +
    • Get the latest finalized block number seen by the chain according to the RPC

      Returns Promise<number>

      the latest finalized block number

      -
    • Get the token id of the wrapped token for the native gas token

      +
    • Construct a protocol client for the given protocol

      +
    • Construct a protocol client for the given protocol

      Note: If no contracts are passed, we assume the default contracts should be used and that the protocol client is cacheable

      -

      Type Parameters

      • PN extends keyof WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">

      Parameters

      • protocolName: PN

        The name of the protocol to construct a client for

        +

        Type Parameters

        Parameters

        • protocolName: PN

          The name of the protocol to construct a client for

        • Optional contracts: Contracts
        • Optional rpc: any

        Returns Promise<ProtocolInstance<P, PN, N, C>>

        An instance of the protocol client that implements the protocol interface for the chain

        -
    • Get an RPC connection for this chain, uses the configuration passed in +

    • Get an RPC connection for this chain, uses the configuration passed in the initial constructor

      Returns Promise<any>

      the RPC connection for this chain

      -
    • Get the token data from the local cache if available

      -

      Parameters

      • symbol: string

        the symbol of the token to get

        -

      Returns undefined | Token

      the token data if available

      -
    • Get the token account for a given address and token

      -

      Parameters

    • Get the token data from the local cache if available

      +

      Parameters

      • symbol: TokenSymbol

        the symbol of the token to get

        +

      Returns any

      the token data if available

      +
    • Get the token account for a given address and token

      +

      Parameters

      Returns Promise<ChainAddress<C>>

      the token account for the address and token

      Remarks

      This is really only useful in the context of Solana but in order to provide a consistent interface, we provide it here.

      -
    • Send a transaction and wait for it to be confirmed

      +
    • Send a transaction and wait for it to be confirmed

      Parameters

      • stxns: any[]

        the signed transaction to send

      Returns Promise<string[]>

      the transaction hashes of the sent transactions

      -
    • Check to see if the Automatic Circle Bridge protocol is supported by this chain

      +
    • Check to see if the Automatic Circle Bridge protocol is supported by this chain

      Returns boolean

      a boolean indicating if this chain supports the Automatic Circle Bridge protocol

      -
    • Check to see if the Automatic Token Bridge protocol is supported by this chain

      +
    • Check to see if the Automatic Token Bridge protocol is supported by this chain

      Returns boolean

      a boolean indicating if this chain supports the Automatic Token Bridge protocol

      -
    • Check to see if the Circle Bridge protocol is supported by this chain

      +
    • Check to see if the Circle Bridge protocol is supported by this chain

      Returns boolean

      a boolean indicating if this chain supports the Circle Bridge protocol

      -
    • Check to see if the IBC Bridge protocol is supported by this chain

      +
    • Check to see if the IBC Bridge protocol is supported by this chain

      Returns boolean

      a boolean indicating if this chain supports the IBC Bridge protocol

      -
    • Check to see if the Portico Bridge protocol is supported by this chain

      +
    • Check to see if the Portico Bridge protocol is supported by this chain

      Returns boolean

      a boolean indicating if this chain supports the Portico Bridge protocol

      -
    • Check to see if a given protocol is supported by this chain +

    • Check to see if a given protocol is supported by this chain by checking if it is registered in the platform and the configuration is available and correct

      -

      Parameters

      • protocolName: keyof WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">

        the name of the Protocol to check for support

        +

        Parameters

        Returns boolean

        a boolean indicating if this protocol is supported

        -
    • Check to see if the Token Bridge protocol is supported by this chain

      +
    • Check to see if the Token Bridge protocol is supported by this chain

      Returns boolean

      a boolean indicating if this chain supports the Token Bridge protocol

      -
    • Check to see if the Wormhole Core protocol is supported by this chain

      +
    • Check to see if the Wormhole Core protocol is supported by this chain

      Returns boolean

      a boolean indicating if this chain supports the Wormhole Core protocol

      -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/classes/_wormhole_foundation_sdk_definitions.PlatformContext.html b/docs/classes/_wormhole_foundation_sdk_definitions.PlatformContext.html index a02891c43..512fb818c 100644 --- a/docs/classes/_wormhole_foundation_sdk_definitions.PlatformContext.html +++ b/docs/classes/_wormhole_foundation_sdk_definitions.PlatformContext.html @@ -1,14 +1,14 @@ -PlatformContext | Wormhole TS SDK - v0.7.0

    PlatformContext is an instance of the class that represents a specific Platform

    -

    Type Parameters

    • N extends Network
    • P extends Platform

    Hierarchy

    • PlatformContext

      Methods

      getChain +PlatformContext | Wormhole TS SDK - v1.13.2

      PlatformContext is an instance of the class that represents a specific Platform

      +

      Type Parameters

      • N extends Network
      • P extends Platform

      Methods

      • Create a new Chain context object

        -

        Type Parameters

        • C extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Parameters

        • chain: C
        • Optional rpc: any

        Returns ChainContext<N, C, ChainToPlatform<C>>

      • Create a new Protocol Client instance by protocol name using the RPC connection to determine the network

        -

        Type Parameters

        • PN extends keyof WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">

        Parameters

        • protocol: PN
        • rpc: any

        Returns Promise<ProtocolInstance<P, PN, N>>

      • Get the underlying ProtocolInitializer to construct yourself

        -

        Type Parameters

        • PN extends keyof WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">

        Parameters

        • protocol: PN

        Returns ProtocolInitializer<P, PN, "Mainnet" | "Testnet" | "Devnet", PlatformToChains<P>>

      • Create a new RPC Connection

        -

        Type Parameters

        • C extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Parameters

        • chain: C

        Returns any

      • Look up transaction logs and parse out Wormhole messages

        -

        Type Parameters

        • C extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Parameters

        • chain: C
        • rpc: any
        • txid: string

        Returns Promise<WormholeMessageId[]>

      \ No newline at end of file +

      Methods

      • Create a new Chain context object

        +

        Type Parameters

        • C extends PlatformToChains<P>

        Parameters

        • chain: C
        • Optional rpc: any

        Returns ChainContext<N, C, ChainToPlatform<C>>

      • Create a new Protocol Client instance by protocol name using the RPC connection to determine the network

        +

        Type Parameters

        Parameters

        • protocol: PN
        • rpc: any

        Returns Promise<ProtocolInstance<P, PN, N>>

      • Create a new RPC Connection

        +

        Type Parameters

        • C extends PlatformToChains<P>

        Parameters

        • chain: C

        Returns any

      • Look up transaction logs and parse out Wormhole messages

        +

        Type Parameters

        • C extends PlatformToChains<P>

        Parameters

        • chain: C
        • rpc: any
        • txid: string

        Returns Promise<WormholeMessageId[]>

      \ No newline at end of file diff --git a/docs/classes/_wormhole_foundation_sdk_definitions.PlatformNativeSigner.html b/docs/classes/_wormhole_foundation_sdk_definitions.PlatformNativeSigner.html index bd8aa64cf..4b1cf1082 100644 --- a/docs/classes/_wormhole_foundation_sdk_definitions.PlatformNativeSigner.html +++ b/docs/classes/_wormhole_foundation_sdk_definitions.PlatformNativeSigner.html @@ -1,3 +1,3 @@ -PlatformNativeSigner | Wormhole TS SDK - v0.7.0

      A PlatformNativeSigner should allow wrapping and unwrapping of a platform specific Signer +PlatformNativeSigner | Wormhole TS SDK - v1.13.2

      A PlatformNativeSigner should allow wrapping and unwrapping of a platform specific Signer so that the underlying native signer may be used by unwrapping it where needed

      -

      Type Parameters

      • NS extends NativeSigner
      • N extends Network = Network
      • C extends Chain = Chain
      \ No newline at end of file +

      Type Parameters

      • NS extends NativeSigner
      • N extends Network = Network
      • C extends Chain = Chain
      \ No newline at end of file diff --git a/docs/classes/_wormhole_foundation_sdk_definitions.Signature.html b/docs/classes/_wormhole_foundation_sdk_definitions.Signature.html index 0832006de..7547f417c 100644 --- a/docs/classes/_wormhole_foundation_sdk_definitions.Signature.html +++ b/docs/classes/_wormhole_foundation_sdk_definitions.Signature.html @@ -1,2 +1,2 @@ -Signature | Wormhole TS SDK - v0.7.0

      Signature represents the secp256k1 signature of a Guardian

      -
      \ No newline at end of file +Signature | Wormhole TS SDK - v1.13.2

      Signature represents the secp256k1 signature of a Guardian

      +
      \ No newline at end of file diff --git a/docs/classes/_wormhole_foundation_sdk_definitions.UniversalAddress.html b/docs/classes/_wormhole_foundation_sdk_definitions.UniversalAddress.html index 83fc21191..5cf7e2a78 100644 --- a/docs/classes/_wormhole_foundation_sdk_definitions.UniversalAddress.html +++ b/docs/classes/_wormhole_foundation_sdk_definitions.UniversalAddress.html @@ -1,3 +1,3 @@ -UniversalAddress | Wormhole TS SDK - v0.7.0

      The UniversalAddress represents an address that has been parsed into its +UniversalAddress | Wormhole TS SDK - v1.13.2

      The UniversalAddress represents an address that has been parsed into its byte representation and possibly modified to ensure it is exactly 32 bytes long

      -

      Implements

      \ No newline at end of file +

      Implements

      \ No newline at end of file diff --git a/docs/classes/_wormhole_foundation_sdk_evm.EvmChain.html b/docs/classes/_wormhole_foundation_sdk_evm.EvmChain.html index 467d18d14..03960dd7b 100644 --- a/docs/classes/_wormhole_foundation_sdk_evm.EvmChain.html +++ b/docs/classes/_wormhole_foundation_sdk_evm.EvmChain.html @@ -1,97 +1,2 @@ -EvmChain | Wormhole TS SDK - v0.7.0

      A ChainContext for the EVM platform

      -

      Type Parameters

      • N extends Network = Network
      • C extends Chain = EvmChains

      Hierarchy (view full)

      Properties

      getAutomaticCircleBridge: (() => Promise<AutomaticCircleBridge<N, C>>)

      Get the Automatic Circle Bridge protocol client for this chain

      -

      Type declaration

      Returns

      the Automatic Circle Bridge protocol client for this chain

      -
      getAutomaticTokenBridge: (() => Promise<AutomaticTokenBridge<N, C>>)

      Get the Automatic Token Bridge protocol client for this chain

      -

      Type declaration

      Returns

      the Automatic Token Bridge protocol client for this chain

      -
      getCircleBridge: (() => Promise<CircleBridge<N, C>>)

      Get the Circle Bridge protocol client for this chain

      -

      Type declaration

      Returns

      the Circle Bridge protocol client for this chain

      -
      getIbcBridge: (() => Promise<IbcBridge<N, C>>)

      Get the IBC Bridge protocol client for this chain

      -

      Type declaration

      Returns

      the IBC Bridge protocol client for this chain

      -
      getPorticoBridge: (() => Promise<PorticoBridge<N, C>>)

      Get the Portico Bridge protocol client for this chain

      -

      Type declaration

      Returns

      the Portico Bridge protocol client for this chain

      -
      getTokenBridge: (() => Promise<TokenBridge<N, C>>)

      Get the Token Bridge protocol client for this chain

      -

      Type declaration

      Returns

      the Token Bridge protocol client for this chain

      -
      getWormholeCore: (() => Promise<WormholeCore<N, C>>)

      Get the Wormhole Core protocol client for this chain

      -

      Type declaration

      Returns

      the Wormhole Core protocol client for this chain

      -
      supportsAutomaticCircleBridge: (() => boolean)

      Check to see if the Automatic Circle Bridge protocol is supported by this chain

      -

      Type declaration

        • (): boolean
        • Returns boolean

      Returns

      a boolean indicating if this chain supports the Automatic Circle Bridge protocol

      -
      supportsAutomaticTokenBridge: (() => boolean)

      Check to see if the Automatic Token Bridge protocol is supported by this chain

      -

      Type declaration

        • (): boolean
        • Returns boolean

      Returns

      a boolean indicating if this chain supports the Automatic Token Bridge protocol

      -
      supportsCircleBridge: (() => boolean)

      Check to see if the Circle Bridge protocol is supported by this chain

      -

      Type declaration

        • (): boolean
        • Returns boolean

      Returns

      a boolean indicating if this chain supports the Circle Bridge protocol

      -
      supportsIbcBridge: (() => boolean)

      Check to see if the IBC Bridge protocol is supported by this chain

      -

      Type declaration

        • (): boolean
        • Returns boolean

      Returns

      a boolean indicating if this chain supports the IBC Bridge protocol

      -
      supportsPorticoBridge: (() => boolean)

      Check to see if the Portico Bridge protocol is supported by this chain

      -

      Type declaration

        • (): boolean
        • Returns boolean

      Returns

      a boolean indicating if this chain supports the Portico Bridge protocol

      -
      supportsTokenBridge: (() => boolean)

      Check to see if the Token Bridge protocol is supported by this chain

      -

      Type declaration

        • (): boolean
        • Returns boolean

      Returns

      a boolean indicating if this chain supports the Token Bridge protocol

      -
      supportsWormholeCore: (() => boolean)

      Check to see if the Wormhole Core protocol is supported by this chain

      -

      Type declaration

        • (): boolean
        • Returns boolean

      Returns

      a boolean indicating if this chain supports the Wormhole Core protocol

      -

      Methods

      • Get the balance of a token for a given address

        -

        Parameters

        • walletAddr: string

          the address to get the balance for

          -
        • token: TokenAddress<C>

          the token to get the balance for

          -

        Returns Promise<null | bigint>

        the balance of the token for the address

        -
      • Get the number of decimals for a token

        -

        Parameters

        Returns Promise<number>

        the number of decimals for the token

        -
      • Get the latest block number seen by the chain according to the RPC

        -

        Returns Promise<number>

        the latest block number

        -
      • Get the latest finalized block number seen by the chain according to the RPC

        -

        Returns Promise<number>

        the latest finalized block number

        -
      • Get the token id of the wrapped token for the native gas token

        -

        Returns Promise<TokenId<C>>

        the wrapped token for the native gas token

        -
      • Construct a protocol client for the given protocol

        -

        Note: If no contracts are passed, we assume the default contracts should be used -and that the protocol client is cacheable

        -

        Type Parameters

        • PN extends keyof WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Algorand" | "Aptos" | "Solana" | "Sui" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">

        Parameters

        • protocolName: PN

          The name of the protocol to construct a client for

          -
        • Optional contracts: Contracts
        • Optional rpc: any

        Returns Promise<ProtocolInstance<ChainToPlatform<C>, PN, N, C>>

        An instance of the protocol client that implements the protocol interface for the chain

        -
      • Get an RPC connection for this chain, uses the configuration passed in -the initial constructor

        -

        Returns Promise<any>

        the RPC connection for this chain

        -
      • Get the token data from the local cache if available

        -

        Parameters

        • symbol: string

          the symbol of the token to get

          -

        Returns undefined | Token

        the token data if available

        -
      • Get the token account for a given address and token

        -

        Parameters

        Returns Promise<ChainAddress<C>>

        the token account for the address and token

        -

        Remarks

        This is really only useful in the context of Solana but in order -to provide a consistent interface, we provide it here.

        -
      • Parse the Wormhole Core messages from a transaction

        -

        Parameters

        • txid: string

          the transaction to parse

          -

        Returns Promise<WormholeMessageId[]>

        the Wormhole Core messages emitted by the transaction

        -
      • Send a transaction and wait for it to be confirmed

        -

        Parameters

        • stxns: any[]

          the signed transaction to send

          -

        Returns Promise<string[]>

        the transaction hashes of the sent transactions

        -
      • Check to see if a given protocol is supported by this chain -by checking if it is registered in the platform and the configuration -is available and correct

        -

        Parameters

        • protocolName: keyof WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Algorand" | "Aptos" | "Solana" | "Sui" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">

          the name of the Protocol to check for support

          -

        Returns boolean

        a boolean indicating if this protocol is supported

        -
      \ No newline at end of file +EvmChain | Wormhole TS SDK - v1.13.2

      A ChainContext for the EVM platform

      +

      Type Parameters

      Hierarchy

      • unknown<N, C>
        • EvmChain
      \ No newline at end of file diff --git a/docs/classes/_wormhole_foundation_sdk_evm.EvmPlatform.html b/docs/classes/_wormhole_foundation_sdk_evm.EvmPlatform.html index a34d4f2bd..7530dc4b1 100644 --- a/docs/classes/_wormhole_foundation_sdk_evm.EvmPlatform.html +++ b/docs/classes/_wormhole_foundation_sdk_evm.EvmPlatform.html @@ -1,10 +1 @@ -EvmPlatform | Wormhole TS SDK - v0.7.0

      PlatformContext is an instance of the class that represents a specific Platform

      -

      Type Parameters

      • N extends Network

      Hierarchy (view full)

      Implements

      Methods

      • Create a new Protocol Client instance by protocol name using the RPC connection to determine the network

        -

        Type Parameters

        • PN extends keyof WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Algorand" | "Aptos" | "Solana" | "Sui" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">

        Parameters

        • protocol: PN
        • rpc: any

        Returns Promise<ProtocolInstance<"Evm", PN, N>>

      • Get the underlying ProtocolInitializer to construct yourself

        -

        Type Parameters

        • PN extends keyof WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Algorand" | "Aptos" | "Solana" | "Sui" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">

        Parameters

        • protocol: PN

        Returns ProtocolInitializer<"Evm", PN, "Mainnet" | "Testnet" | "Devnet", "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Arbitrum" | "Optimism" | "Gnosis" | "Base" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">

      • Look up transaction logs and parse out Wormhole messages

        -

        Type Parameters

        • C extends "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Arbitrum" | "Optimism" | "Gnosis" | "Base" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Parameters

        • chain: C
        • rpc: any
        • txid: string

        Returns Promise<WormholeMessageId[]>

      • provides access to the static attributes of the PlatformContext class

        -

        Returns PlatformUtils<"Evm">

      \ No newline at end of file +EvmPlatform | Wormhole TS SDK - v1.13.2

      Type Parameters

      • N extends Network

      Hierarchy

      Implements

      \ No newline at end of file diff --git a/docs/classes/_wormhole_foundation_sdk_evm.EvmUnsignedTransaction.html b/docs/classes/_wormhole_foundation_sdk_evm.EvmUnsignedTransaction.html index e9214ce15..d125cd381 100644 --- a/docs/classes/_wormhole_foundation_sdk_evm.EvmUnsignedTransaction.html +++ b/docs/classes/_wormhole_foundation_sdk_evm.EvmUnsignedTransaction.html @@ -1,2 +1,2 @@ -EvmUnsignedTransaction | Wormhole TS SDK - v0.7.0

      An unsigned transaction for the EVM platform

      -

      Type Parameters

      Implements

      \ No newline at end of file +EvmUnsignedTransaction | Wormhole TS SDK - v1.13.2

      An unsigned transaction for the EVM platform

      +

      Type Parameters

      Implements

      • unknown<N, C>
      \ No newline at end of file diff --git a/docs/classes/_wormhole_foundation_sdk_solana.SolanaPlatform.html b/docs/classes/_wormhole_foundation_sdk_solana.SolanaPlatform.html index 393b15cd4..c620b357f 100644 --- a/docs/classes/_wormhole_foundation_sdk_solana.SolanaPlatform.html +++ b/docs/classes/_wormhole_foundation_sdk_solana.SolanaPlatform.html @@ -1,10 +1 @@ -SolanaPlatform | Wormhole TS SDK - v0.7.0

      PlatformContext is an instance of the class that represents a specific Platform

      -

      Type Parameters

      • N extends Network

      Hierarchy (view full)

      Implements

      Methods

      • Create a new Protocol Client instance by protocol name using the RPC connection to determine the network

        -

        Type Parameters

        • PN extends keyof WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">

        Parameters

        • protocol: PN
        • rpc: any

        Returns Promise<ProtocolInstance<"Solana", PN, N>>

      • Get the underlying ProtocolInitializer to construct yourself

        -

        Type Parameters

        • PN extends keyof WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">

        Parameters

        • protocol: PN

        Returns ProtocolInitializer<"Solana", PN, "Mainnet" | "Testnet" | "Devnet", "Solana" | "Pythnet">

      • Look up transaction logs and parse out Wormhole messages

        -

        Type Parameters

        • C extends "Solana" | "Pythnet"

        Parameters

        • chain: C
        • rpc: any
        • txid: string

        Returns Promise<WormholeMessageId[]>

      • provides access to the static attributes of the PlatformContext class

        -

        Returns PlatformUtils<"Solana">

      \ No newline at end of file +SolanaPlatform | Wormhole TS SDK - v1.13.2

      Type Parameters

      • N extends Network

      Hierarchy

      Implements

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk.index.amount.denoise.html b/docs/functions/_wormhole_foundation_sdk.index.amount.denoise.html deleted file mode 100644 index 8e03c040c..000000000 --- a/docs/functions/_wormhole_foundation_sdk.index.amount.denoise.html +++ /dev/null @@ -1,6 +0,0 @@ -denoise | Wormhole TS SDK - v0.7.0
      • Removes potential floating point noise from input amount beyond given decimal level -denoise(9.535695950000001, 9) -> 9.535695950

        -

        Parameters

        • amount: string | number

          The string or number to denoise

          -
        • decimals: number

          The number of decimals for the token this amount is of

          -

        Returns number

        A number, with no floating point noise

        -
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk.index.amount.display.html b/docs/functions/_wormhole_foundation_sdk.index.amount.display.html deleted file mode 100644 index 844a9ebca..000000000 --- a/docs/functions/_wormhole_foundation_sdk.index.amount.display.html +++ /dev/null @@ -1,5 +0,0 @@ -display | Wormhole TS SDK - v0.7.0
      • Formats an Amount as a human-readable string

        -

        Parameters

        • amount: amount.Amount

          An Amount

          -
        • Optional precision: number

          Number of decimal places to render

          -

        Returns string

        A string representing the Amount as a fixed point number

        -
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk.index.amount.fmt.html b/docs/functions/_wormhole_foundation_sdk.index.amount.fmt.html deleted file mode 100644 index 2375616cf..000000000 --- a/docs/functions/_wormhole_foundation_sdk.index.amount.fmt.html +++ /dev/null @@ -1,4 +0,0 @@ -fmt | Wormhole TS SDK - v0.7.0
      • fmt formats a bigint amount to a string with the given number of decimals

        -

        Parameters

        • amount: bigint

          bigint amount

          -
        • decimals: number

          number of decimals

          -

        Returns string

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk.index.amount.fromBaseUnits.html b/docs/functions/_wormhole_foundation_sdk.index.amount.fromBaseUnits.html deleted file mode 100644 index d283e8ad3..000000000 --- a/docs/functions/_wormhole_foundation_sdk.index.amount.fromBaseUnits.html +++ /dev/null @@ -1,5 +0,0 @@ -fromBaseUnits | Wormhole TS SDK - v0.7.0
      • Directly creates an Amount given the base units and decimal level

        -

        Parameters

        • amount: bigint

          Amount expressed as base units

          -
        • decimals: number

          The number of decimals for the token this amount is of

          -

        Returns amount.Amount

        An Amount, expressed as base units and decimals

        -
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk.index.amount.parse.html b/docs/functions/_wormhole_foundation_sdk.index.amount.parse.html deleted file mode 100644 index c5b6636dd..000000000 --- a/docs/functions/_wormhole_foundation_sdk.index.amount.parse.html +++ /dev/null @@ -1,5 +0,0 @@ -parse | Wormhole TS SDK - v0.7.0
      • Parses a string or number into an Amount, given a decimal level

        -

        Parameters

        • amount: string | number

          The string or number to parse

          -
        • decimals: number

          The number of decimals for the token this amount is of

          -

        Returns amount.Amount

        An Amount, expressed as base units and decimals

        -
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk.index.amount.scale.html b/docs/functions/_wormhole_foundation_sdk.index.amount.scale.html deleted file mode 100644 index c267d8091..000000000 --- a/docs/functions/_wormhole_foundation_sdk.index.amount.scale.html +++ /dev/null @@ -1,7 +0,0 @@ -scale | Wormhole TS SDK - v0.7.0
      • Utility function to scale some amount to a given number of decimals

        -

        This is useful for things like the TokenBridge, where we want to scale -the amount from some the over-the-wire 8 decimals

        -

        Parameters

        • amount: amount.Amount

          the amount to scale

          -
        • toDecimals: number

          the number of decimals to scale to

          -

        Returns amount.Amount

        the scaled amount

        -
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk.index.amount.truncate.html b/docs/functions/_wormhole_foundation_sdk.index.amount.truncate.html deleted file mode 100644 index ec27b99ad..000000000 --- a/docs/functions/_wormhole_foundation_sdk.index.amount.truncate.html +++ /dev/null @@ -1,7 +0,0 @@ -truncate | Wormhole TS SDK - v0.7.0
      • A utility function to truncate an amount to some max decimal

        -

        This is useful for things like the TokenBridge, where we want to truncate -the amount to represent a maximum of 8 decimals

        -

        Parameters

        • amount: amount.Amount

          the Amount to truncate

          -
        • maxDecimals: number

          the max number of decimals we want to keep, zeroing out the rest

          -

        Returns amount.Amount

        the truncated Amount

        -
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk.index.amount.units.html b/docs/functions/_wormhole_foundation_sdk.index.amount.units.html deleted file mode 100644 index 45cf1a867..000000000 --- a/docs/functions/_wormhole_foundation_sdk.index.amount.units.html +++ /dev/null @@ -1,4 +0,0 @@ -units | Wormhole TS SDK - v0.7.0
      • Returns the base units from an Amount, as a bigint

        -

        Parameters

        Returns bigint

        A bigint, representing the base units for the Amount

        -
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk.index.amount.whole.html b/docs/functions/_wormhole_foundation_sdk.index.amount.whole.html deleted file mode 100644 index 460794be8..000000000 --- a/docs/functions/_wormhole_foundation_sdk.index.amount.whole.html +++ /dev/null @@ -1,4 +0,0 @@ -whole | Wormhole TS SDK - v0.7.0
      • Returns the decimal amount as a number (may lose precision)

        -

        Parameters

        Returns number

        A number, representing the decimal amount for the Amount

        -
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk.index.api.getTransactionStatus.html b/docs/functions/_wormhole_foundation_sdk.index.api.getTransactionStatus.html deleted file mode 100644 index 4f427882f..000000000 --- a/docs/functions/_wormhole_foundation_sdk.index.api.getTransactionStatus.html +++ /dev/null @@ -1,6 +0,0 @@ -getTransactionStatus | Wormhole TS SDK - v0.7.0
      • Gets the status for a transaction given WormholeMessageId or null if the VAA is not available yet.

        -

        Parameters

        • rpcUrl: string

          the url of the wormholescan API

          -
        • whm: WormholeMessageId

          the WormholeMessageId

          -

        Returns Promise<api.TransactionStatus | null>

        a TransactionStatus or null if it's not available yet

        -

        Throws

        Errors if the service throws an unrecoverable error (e.g. 500)

        -
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk.index.api.getVaaBytes.html b/docs/functions/_wormhole_foundation_sdk.index.api.getVaaBytes.html deleted file mode 100644 index 1f9bbd436..000000000 --- a/docs/functions/_wormhole_foundation_sdk.index.api.getVaaBytes.html +++ /dev/null @@ -1,6 +0,0 @@ -getVaaBytes | Wormhole TS SDK - v0.7.0
      • Gets the bytes of a VAA for a given WormholeMessageId or null if the VAA is not available yet.

        -

        Parameters

        • apiUrl: string

          the url of the wormholescan API

          -
        • whm: WormholeMessageId

          the WormholeMessageId

          -

        Returns Promise<Uint8Array | null>

        a Uint8Array containing the VAA or null if it's not available yet

        -

        Throws

        Errors if the service throws an unrecoverable error (e.g. 500)

        -
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk.index.blindDeserializePayload.html b/docs/functions/_wormhole_foundation_sdk.index.blindDeserializePayload.html deleted file mode 100644 index f2cf6622b..000000000 --- a/docs/functions/_wormhole_foundation_sdk.index.blindDeserializePayload.html +++ /dev/null @@ -1,5 +0,0 @@ -blindDeserializePayload | Wormhole TS SDK - v0.7.0
      • Blindly deserialize a payload from a Uint8Array

        -

        Parameters

        • data: Byteish

          the data to deserialize

          -

        Returns readonly (readonly ["AutomaticCircleBridge:DepositWithPayload", {
            caller: UniversalAddress;
            mintRecipient: UniversalAddress;
            nonce: bigint;
            payload: Uint8Array;
            sourceDomain: number;
            targetDomain: number;
            token: {
                address: UniversalAddress;
                amount: bigint;
            };
        }] | readonly ["AutomaticCircleBridge:TransferWithRelay", {
            caller: UniversalAddress;
            mintRecipient: UniversalAddress;
            nonce: bigint;
            payload: {
                targetRecipient: UniversalAddress;
                targetRelayerFee: bigint;
                toNativeTokenAmount: bigint;
            };
            sourceDomain: number;
            targetDomain: number;
            token: {
                address: UniversalAddress;
                amount: bigint;
            };
        }] | readonly ["CircleBridge:Message", {
            destinationCaller: UniversalAddress;
            destinationDomain: number;
            nonce: bigint;
            payload: {
                amount: bigint;
                burnToken: UniversalAddress;
                messageSender: UniversalAddress;
                mintRecipient: UniversalAddress;
            };
            recipient: UniversalAddress;
            sender: UniversalAddress;
            sourceDomain: number;
        }] | readonly ["PorticoBridge:Transfer", {
            bridgeNonce: number;
            feeTierFinish: number;
            feeTierStart: number;
            flags: Bitset<readonly ["shouldWrapNative", "shouldUnwrapNative"]>;
            padding: Uint8Array;
            recipientChain: number;
        }] | readonly ["AutomaticTokenBridge:TransferWithRelay", {
            from: UniversalAddress;
            payload: {
                targetRecipient: UniversalAddress;
                targetRelayerFee: bigint;
                toNativeTokenAmount: bigint;
            };
            to: {
                address: UniversalAddress;
                chain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            };
            token: {
                address: UniversalAddress;
                amount: bigint;
                chain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            };
        }] | readonly ["TokenBridge:Transfer", {
            fee: bigint;
            to: {
                address: UniversalAddress;
                chain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            };
            token: {
                address: UniversalAddress;
                amount: bigint;
                chain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            };
        }] | readonly ["TokenBridge:AttestMeta", {
            decimals: number;
            name: string;
            symbol: string;
            token: {
                address: UniversalAddress;
                chain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            };
        }] | readonly ["TokenBridge:TransferWithPayload", {
            from: UniversalAddress;
            payload: Uint8Array;
            to: {
                address: UniversalAddress;
                chain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            };
            token: {
                address: UniversalAddress;
                amount: bigint;
                chain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            };
        }] | readonly ["WormholeCore:UpgradeContract", {
            action: "UpgradeContract";
            chain: null | "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            newContract: UniversalAddress;
            protocol: "WormholeCore";
        }] | readonly ["WormholeCore:GuardianSetUpgrade", {
            action: "GuardianSetUpgrade";
            chain: null | "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            guardianSet: number;
            guardians: readonly Uint8Array[];
            protocol: "WormholeCore";
        }] | readonly ["WormholeCore:SetMessageFee", {
            action: "SetMessageFee";
            chain: null | "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            messageFee: bigint;
            protocol: "WormholeCore";
        }] | readonly ["WormholeCore:TransferFees", {
            action: "TransferFees";
            amount: bigint;
            chain: null | "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            protocol: "WormholeCore";
            recipient: UniversalAddress;
        }] | readonly ["WormholeCore:RecoverChainId", {
            action: "RecoverChainId";
            chain: null | "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            evmChainId: bigint;
            newChainId: "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Arbitrum" | "Optimism" | "Gnosis" | "Base" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            protocol: "WormholeCore";
        }] | readonly ["TokenBridge:UpgradeContract", {
            action: "UpgradeContract";
            chain: null | "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            newContract: UniversalAddress;
            protocol: "TokenBridge";
        }] | readonly ["TokenBridge:RecoverChainId", {
            action: "RecoverChainId";
            chain: null | "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            evmChainId: bigint;
            newChainId: "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Arbitrum" | "Optimism" | "Gnosis" | "Base" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            protocol: "TokenBridge";
        }] | readonly ["TokenBridge:RegisterChain", {
            action: "RegisterChain";
            chain: null | "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            foreignAddress: UniversalAddress;
            foreignChain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            protocol: "TokenBridge";
        }] | readonly ["NftBridge:UpgradeContract", {
            action: "UpgradeContract";
            chain: null | "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            newContract: UniversalAddress;
            protocol: "NftBridge";
        }] | readonly ["NftBridge:RecoverChainId", {
            action: "RecoverChainId";
            chain: null | "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            evmChainId: bigint;
            newChainId: "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Arbitrum" | "Optimism" | "Gnosis" | "Base" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            protocol: "NftBridge";
        }] | readonly ["NftBridge:RegisterChain", {
            action: "RegisterChain";
            chain: null | "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            foreignAddress: UniversalAddress;
            foreignChain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            protocol: "NftBridge";
        }] | readonly ["Relayer:UpgradeContract", {
            action: "UpgradeContract";
            chain: null | "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            newContract: UniversalAddress;
            protocol: "Relayer";
        }] | readonly ["Relayer:RegisterChain", {
            action: "RegisterChain";
            chain: null | "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            foreignAddress: UniversalAddress;
            foreignChain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            protocol: "Relayer";
        }] | readonly ["Relayer:UpdateDefaultProvider", {
            action: "UpdateDefaultProvider";
            chain: null | "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            defaultProvider: UniversalAddress;
            protocol: "Relayer";
        }] | readonly ["CircleBridge:UpgradeContract", {
            action: "UpgradeContract";
            chain: null | "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            newContract: UniversalAddress;
            protocol: "CircleBridge";
        }] | readonly ["CircleBridge:UpdateFinality", {
            action: "UpdateFinality";
            chain: null | "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            finality: number;
            protocol: "CircleBridge";
        }] | readonly ["CircleBridge:RegisterEmitterAndDomain", {
            action: "RegisterEmitterAndDomain";
            chain: null | "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            domain: number;
            emitterAddress: UniversalAddress;
            emitterChain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            protocol: "CircleBridge";
        }] | readonly ["Relayer:DeliveryInstruction", {
            executionInfo: {
                gasLimit: bigint;
                targetChainRefundPerGasUnused: bigint;
            };
            extraReceiverValue: bigint;
            messageKeys: readonly ({
                chain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
                emitterAddress: UniversalAddress;
                keyType: "VAA";
                sequence: bigint;
            } | {
                domain: number;
                keyType: "CCTP";
                nonce: bigint;
            })[];
            payload: Uint8Array;
            refund: {
                address: UniversalAddress;
                chain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            };
            refundDeliveryProvider: UniversalAddress;
            requestedReceiverValue: bigint;
            senderAddress: UniversalAddress;
            sourceDeliveryProvider: UniversalAddress;
            target: {
                address: UniversalAddress;
                chain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            };
        }] | readonly ["Relayer:RedeliveryInstruction", {
            deliveryVaaKey: {
                chain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
                emitterAddress: UniversalAddress;
                sequence: bigint;
            };
            newEncodedExecutionInfo: {
                gasLimit: bigint;
                targetChainRefundPerGasUnused: bigint;
            };
            newRequestedReceiverValue: bigint;
            newSenderAddress: UniversalAddress;
            newSourceDeliveryProvider: UniversalAddress;
            targetChain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
        }])[]

        an array of all possible deserialized payloads

        -

        Throws

        if the data is not a valid payload

        -
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk.index.canonicalAddress.html b/docs/functions/_wormhole_foundation_sdk.index.canonicalAddress.html deleted file mode 100644 index 1d473e0de..000000000 --- a/docs/functions/_wormhole_foundation_sdk.index.canonicalAddress.html +++ /dev/null @@ -1,2 +0,0 @@ -canonicalAddress | Wormhole TS SDK - v0.7.0
      • Utility function to return the string representation of a ChainAddress or TokenId

        -

        Parameters

        • ca: ChainAddress | TokenId<"Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">

        Returns string

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk.index.createVAA.html b/docs/functions/_wormhole_foundation_sdk.index.createVAA.html deleted file mode 100644 index 0d7ac2954..000000000 --- a/docs/functions/_wormhole_foundation_sdk.index.createVAA.html +++ /dev/null @@ -1,6 +0,0 @@ -createVAA | Wormhole TS SDK - v0.7.0
      • Create a VAA from a payload literal and a set of dynamic properties.

        -

        Type Parameters

        • PL extends PayloadLiteral

        Parameters

        • payloadLiteral: PL

          The payload literal to create a VAA for.

          -
        • vaaData: LayoutToType<StartFilterItemsOfLayout<[{
              binary: "uint";
              custom: 1;
              name: "version";
              omit: true;
              size: 1;
          }, {
              binary: "uint";
              name: "guardianSet";
              size: 4;
          }, {
              binary: "array";
              layout: readonly [{
                  binary: "uint";
                  name: "guardianIndex";
                  size: 1;
              }, {
                  binary: "bytes";
                  custom: {
                      from: ((val) => {
                          r: bigint;
                          s: bigint;
                          v: number;
                      });
                      to: ((val) => Signature);
                  };
                  layout: readonly [{
                      binary: "uint";
                      name: "r";
                      size: 32;
                  }, {
                      binary: "uint";
                      name: "s";
                      size: 32;
                  }, {
                      binary: "uint";
                      name: "v";
                      size: 1;
                  }];
                  name: "signature";
              }];
              lengthSize: 1;
              name: "signatures";
          }, {
              binary: "uint";
              name: "timestamp";
              size: 4;
          }], false>>

          The dynamic properties to include in the VAA.

          -

        Returns VAA<PL>

        A VAA with the given payload literal and dynamic properties.

        -

        Throws

        If the dynamic properties do not match the payload literal.

        -
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk.index.decimals.nativeDecimals.html b/docs/functions/_wormhole_foundation_sdk.index.decimals.nativeDecimals.html deleted file mode 100644 index 5ca041f7a..000000000 --- a/docs/functions/_wormhole_foundation_sdk.index.decimals.nativeDecimals.html +++ /dev/null @@ -1,2 +0,0 @@ -nativeDecimals | Wormhole TS SDK - v0.7.0
      • Number of decimals for the native token on a given platform

        -

        Type Parameters

        • K1 extends "Evm" | "Solana" | "Cosmwasm" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near"

        Parameters

        • args_0: K1

        Returns {
            Algorand: 6;
            Aptos: 8;
            Btc: 8;
            Cosmwasm: 6;
            Evm: 18;
            Near: 12;
            Solana: 9;
            Sui: 9;
        }[K1 extends bigint
            ? `bigint(${K1<K1>})`
            : K1 extends boolean
                ? `boolean(${K1<K1>})`
                : K1]

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk.index.deserialize.html b/docs/functions/_wormhole_foundation_sdk.index.deserialize.html deleted file mode 100644 index 779886f22..000000000 --- a/docs/functions/_wormhole_foundation_sdk.index.deserialize.html +++ /dev/null @@ -1,6 +0,0 @@ -deserialize | Wormhole TS SDK - v0.7.0
      • deserialize a VAA from a Uint8Array

        -

        Type Parameters

        • T extends PayloadLiteral | PayloadDiscriminator<LayoutLiteral, false>

        Parameters

        • payloadDet: T

          The payload literal or discriminator to use for deserialization

          -
        • data: Byteish

          the data to deserialize

          -

        Returns DistributiveVAA<ExtractLiteral<T>>

        a VAA object with the given payload literal or discriminator

        -

        Throws

        if the data is not a valid VAA

        -
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk.index.deserializePayload.html b/docs/functions/_wormhole_foundation_sdk.index.deserializePayload.html deleted file mode 100644 index 4493585fd..000000000 --- a/docs/functions/_wormhole_foundation_sdk.index.deserializePayload.html +++ /dev/null @@ -1,7 +0,0 @@ -deserializePayload | Wormhole TS SDK - v0.7.0
      • deserialize a payload from a Uint8Array

        -

        Type Parameters

        • T extends PayloadLiteral | PayloadDiscriminator<LayoutLiteral, false>

        Parameters

        • payloadDet: T

          the payload literal or discriminator to use for deserialization

          -
        • data: Byteish

          the data to deserialize

          -
        • Optional offset: number

          the offset to start deserializing from

          -

        Returns DeserializePayloadReturn<T>

        the deserialized payload

        -

        Throws

        if the data is not a valid payload

        -
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk.index.encoding.stripPrefix.html b/docs/functions/_wormhole_foundation_sdk.index.encoding.stripPrefix.html deleted file mode 100644 index 3998108af..000000000 --- a/docs/functions/_wormhole_foundation_sdk.index.encoding.stripPrefix.html +++ /dev/null @@ -1,2 +0,0 @@ -stripPrefix | Wormhole TS SDK - v0.7.0
      • Utility method to strip a given prefix, frequently used to remove '0x' from an address

        -

        Parameters

        • prefix: string
        • str: string

        Returns string

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk.index.exhaustiveDeserialize.html b/docs/functions/_wormhole_foundation_sdk.index.exhaustiveDeserialize.html deleted file mode 100644 index d9a3051ed..000000000 --- a/docs/functions/_wormhole_foundation_sdk.index.exhaustiveDeserialize.html +++ /dev/null @@ -1,5 +0,0 @@ -exhaustiveDeserialize | Wormhole TS SDK - v0.7.0
      • Attempt to deserialize a payload from a Uint8Array using all registered layouts

        -

        Parameters

        • data: Byteish

          the data to deserialize

          -

        Returns readonly (readonly ["AutomaticCircleBridge:DepositWithPayload", {
            caller: UniversalAddress;
            mintRecipient: UniversalAddress;
            nonce: bigint;
            payload: Uint8Array;
            sourceDomain: number;
            targetDomain: number;
            token: {
                address: UniversalAddress;
                amount: bigint;
            };
        }] | readonly ["AutomaticCircleBridge:TransferWithRelay", {
            caller: UniversalAddress;
            mintRecipient: UniversalAddress;
            nonce: bigint;
            payload: {
                targetRecipient: UniversalAddress;
                targetRelayerFee: bigint;
                toNativeTokenAmount: bigint;
            };
            sourceDomain: number;
            targetDomain: number;
            token: {
                address: UniversalAddress;
                amount: bigint;
            };
        }] | readonly ["CircleBridge:Message", {
            destinationCaller: UniversalAddress;
            destinationDomain: number;
            nonce: bigint;
            payload: {
                amount: bigint;
                burnToken: UniversalAddress;
                messageSender: UniversalAddress;
                mintRecipient: UniversalAddress;
            };
            recipient: UniversalAddress;
            sender: UniversalAddress;
            sourceDomain: number;
        }] | readonly ["PorticoBridge:Transfer", {
            bridgeNonce: number;
            feeTierFinish: number;
            feeTierStart: number;
            flags: Bitset<readonly ["shouldWrapNative", "shouldUnwrapNative"]>;
            padding: Uint8Array;
            recipientChain: number;
        }] | readonly ["AutomaticTokenBridge:TransferWithRelay", {
            from: UniversalAddress;
            payload: {
                targetRecipient: UniversalAddress;
                targetRelayerFee: bigint;
                toNativeTokenAmount: bigint;
            };
            to: {
                address: UniversalAddress;
                chain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            };
            token: {
                address: UniversalAddress;
                amount: bigint;
                chain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            };
        }] | readonly ["TokenBridge:Transfer", {
            fee: bigint;
            to: {
                address: UniversalAddress;
                chain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            };
            token: {
                address: UniversalAddress;
                amount: bigint;
                chain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            };
        }] | readonly ["TokenBridge:AttestMeta", {
            decimals: number;
            name: string;
            symbol: string;
            token: {
                address: UniversalAddress;
                chain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            };
        }] | readonly ["TokenBridge:TransferWithPayload", {
            from: UniversalAddress;
            payload: Uint8Array;
            to: {
                address: UniversalAddress;
                chain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            };
            token: {
                address: UniversalAddress;
                amount: bigint;
                chain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            };
        }] | readonly ["WormholeCore:UpgradeContract", {
            action: "UpgradeContract";
            chain: null | "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            newContract: UniversalAddress;
            protocol: "WormholeCore";
        }] | readonly ["WormholeCore:GuardianSetUpgrade", {
            action: "GuardianSetUpgrade";
            chain: null | "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            guardianSet: number;
            guardians: readonly Uint8Array[];
            protocol: "WormholeCore";
        }] | readonly ["WormholeCore:SetMessageFee", {
            action: "SetMessageFee";
            chain: null | "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            messageFee: bigint;
            protocol: "WormholeCore";
        }] | readonly ["WormholeCore:TransferFees", {
            action: "TransferFees";
            amount: bigint;
            chain: null | "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            protocol: "WormholeCore";
            recipient: UniversalAddress;
        }] | readonly ["WormholeCore:RecoverChainId", {
            action: "RecoverChainId";
            chain: null | "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            evmChainId: bigint;
            newChainId: "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Arbitrum" | "Optimism" | "Gnosis" | "Base" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            protocol: "WormholeCore";
        }] | readonly ["TokenBridge:UpgradeContract", {
            action: "UpgradeContract";
            chain: null | "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            newContract: UniversalAddress;
            protocol: "TokenBridge";
        }] | readonly ["TokenBridge:RecoverChainId", {
            action: "RecoverChainId";
            chain: null | "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            evmChainId: bigint;
            newChainId: "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Arbitrum" | "Optimism" | "Gnosis" | "Base" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            protocol: "TokenBridge";
        }] | readonly ["TokenBridge:RegisterChain", {
            action: "RegisterChain";
            chain: null | "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            foreignAddress: UniversalAddress;
            foreignChain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            protocol: "TokenBridge";
        }] | readonly ["NftBridge:UpgradeContract", {
            action: "UpgradeContract";
            chain: null | "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            newContract: UniversalAddress;
            protocol: "NftBridge";
        }] | readonly ["NftBridge:RecoverChainId", {
            action: "RecoverChainId";
            chain: null | "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            evmChainId: bigint;
            newChainId: "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Arbitrum" | "Optimism" | "Gnosis" | "Base" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            protocol: "NftBridge";
        }] | readonly ["NftBridge:RegisterChain", {
            action: "RegisterChain";
            chain: null | "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            foreignAddress: UniversalAddress;
            foreignChain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            protocol: "NftBridge";
        }] | readonly ["Relayer:UpgradeContract", {
            action: "UpgradeContract";
            chain: null | "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            newContract: UniversalAddress;
            protocol: "Relayer";
        }] | readonly ["Relayer:RegisterChain", {
            action: "RegisterChain";
            chain: null | "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            foreignAddress: UniversalAddress;
            foreignChain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            protocol: "Relayer";
        }] | readonly ["Relayer:UpdateDefaultProvider", {
            action: "UpdateDefaultProvider";
            chain: null | "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            defaultProvider: UniversalAddress;
            protocol: "Relayer";
        }] | readonly ["CircleBridge:UpgradeContract", {
            action: "UpgradeContract";
            chain: null | "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            newContract: UniversalAddress;
            protocol: "CircleBridge";
        }] | readonly ["CircleBridge:UpdateFinality", {
            action: "UpdateFinality";
            chain: null | "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            finality: number;
            protocol: "CircleBridge";
        }] | readonly ["CircleBridge:RegisterEmitterAndDomain", {
            action: "RegisterEmitterAndDomain";
            chain: null | "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            domain: number;
            emitterAddress: UniversalAddress;
            emitterChain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            protocol: "CircleBridge";
        }] | readonly ["Relayer:DeliveryInstruction", {
            executionInfo: {
                gasLimit: bigint;
                targetChainRefundPerGasUnused: bigint;
            };
            extraReceiverValue: bigint;
            messageKeys: readonly ({
                chain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
                emitterAddress: UniversalAddress;
                keyType: "VAA";
                sequence: bigint;
            } | {
                domain: number;
                keyType: "CCTP";
                nonce: bigint;
            })[];
            payload: Uint8Array;
            refund: {
                address: UniversalAddress;
                chain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            };
            refundDeliveryProvider: UniversalAddress;
            requestedReceiverValue: bigint;
            senderAddress: UniversalAddress;
            sourceDeliveryProvider: UniversalAddress;
            target: {
                address: UniversalAddress;
                chain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            };
        }] | readonly ["Relayer:RedeliveryInstruction", {
            deliveryVaaKey: {
                chain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
                emitterAddress: UniversalAddress;
                sequence: bigint;
            };
            newEncodedExecutionInfo: {
                gasLimit: bigint;
                targetChainRefundPerGasUnused: bigint;
            };
            newRequestedReceiverValue: bigint;
            newSenderAddress: UniversalAddress;
            newSourceDeliveryProvider: UniversalAddress;
            targetChain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
        }])[]

        an array of all possible deserialized payloads

        -

        Throws

        if the data is not a valid payload

        -
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk.index.finality.blockTime.html b/docs/functions/_wormhole_foundation_sdk.index.finality.blockTime.html deleted file mode 100644 index cc8959d82..000000000 --- a/docs/functions/_wormhole_foundation_sdk.index.finality.blockTime.html +++ /dev/null @@ -1,2 +0,0 @@ -blockTime | Wormhole TS SDK - v0.7.0
      • The amount of time between block production, in milliseconds

        -

        Type Parameters

        • K1 extends "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Parameters

        • args_0: K1

        Returns {
            Acala: 12000;
            Algorand: 3300;
            Aptos: 4000;
            Arbitrum: 260;
            ArbitrumSepolia: 260;
            Aurora: 3000;
            Avalanche: 2000;
            Base: 2000;
            BaseSepolia: 2000;
            Bsc: 3000;
            Btc: 600000;
            Celestia: 5000;
            Celo: 5000;
            Cosmoshub: 5000;
            Dymension: 5000;
            Ethereum: 15000;
            Evmos: 2000;
            Fantom: 2500;
            Gnosis: 5000;
            Holesky: 15000;
            Injective: 2500;
            Karura: 12000;
            Klaytn: 1000;
            Kujira: 3000;
            Mantle: 2000;
            Moonbeam: 12000;
            Near: 1500;
            Neon: 30000;
            Neutron: 5000;
            Oasis: 6000;
            Optimism: 2000;
            OptimismSepolia: 2000;
            Osmosis: 6000;
            Polygon: 2000;
            PolygonSepolia: 2000;
            Pythnet: 400;
            Rootstock: 30000;
            Scroll: 4000;
            Seda: 7500;
            Sei: 400;
            Sepolia: 15000;
            Solana: 400;
            Stargaze: 5000;
            Sui: 3000;
            Terra: 6000;
            Terra2: 6000;
            Wormchain: 5000;
            Xpla: 5000;
        }[K1 extends bigint
            ? `bigint(${K1<K1>})`
            : K1 extends boolean
                ? `boolean(${K1<K1>})`
                : K1]

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk.index.finality.consistencyLevelToBlock.html b/docs/functions/_wormhole_foundation_sdk.index.finality.consistencyLevelToBlock.html deleted file mode 100644 index 5cca5c537..000000000 --- a/docs/functions/_wormhole_foundation_sdk.index.finality.consistencyLevelToBlock.html +++ /dev/null @@ -1,4 +0,0 @@ -consistencyLevelToBlock | Wormhole TS SDK - v0.7.0
      • Estimate the block number that a VAA might be available -for a given chain, initial block where the tx was submitted -and consistency level

        -

        Parameters

        • chain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"
        • consistencyLevel: number
        • Optional fromBlock: bigint

        Returns bigint

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk.index.finality.finalityThreshold.html b/docs/functions/_wormhole_foundation_sdk.index.finality.finalityThreshold.html deleted file mode 100644 index dc4c78fd1..000000000 --- a/docs/functions/_wormhole_foundation_sdk.index.finality.finalityThreshold.html +++ /dev/null @@ -1,3 +0,0 @@ -finalityThreshold | Wormhole TS SDK - v0.7.0
      • The number of blocks before a transaction may be considered "final" and -will not be rolled back

        -

        Type Parameters

        • K1 extends "Solana" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Xpla" | "Base" | "Sei" | "Berachain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Dymension" | "Provenance"

        Parameters

        • args_0: K1

        Returns {
            Acala: 1;
            Algorand: 0;
            Aptos: 0;
            Arbitrum: 4096;
            Avalanche: 0;
            Base: 512;
            Berachain: 0;
            Bsc: 15;
            Celestia: 0;
            Celo: 1;
            Cosmoshub: 0;
            Dymension: 0;
            Ethereum: 64;
            Evmos: 0;
            Fantom: 1;
            Injective: 0;
            Karura: 1;
            Klaytn: 0;
            Kujira: 0;
            Moonbeam: 1;
            Near: 0;
            Neutron: 0;
            Oasis: 1;
            Optimism: 512;
            Osmosis: 0;
            Polygon: 32;
            Provenance: 0;
            Sei: 0;
            Solana: 32;
            Stargaze: 0;
            Sui: 0;
            Terra: 0;
            Terra2: 0;
            Xpla: 0;
        }[K1 extends bigint
            ? `bigint(${K1<K1>})`
            : K1 extends boolean
                ? `boolean(${K1<K1>})`
                : K1]

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk.index.getContracts.html b/docs/functions/_wormhole_foundation_sdk.index.getContracts.html deleted file mode 100644 index 286d80234..000000000 --- a/docs/functions/_wormhole_foundation_sdk.index.getContracts.html +++ /dev/null @@ -1,5 +0,0 @@ -getContracts | Wormhole TS SDK - v0.7.0
      • Get the contracts for a given network and chain

        -

        Parameters

        • n: "Mainnet" | "Testnet" | "Devnet"

          the network to get contracts for

          -
        • c: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

          the chain to get contracts for

          -

        Returns Contracts

        the contracts for the given network and chain

        -
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk.index.loadPlatforms.html b/docs/functions/_wormhole_foundation_sdk.index.loadPlatforms.html index 09bc922db..c91aa1f38 100644 --- a/docs/functions/_wormhole_foundation_sdk.index.loadPlatforms.html +++ b/docs/functions/_wormhole_foundation_sdk.index.loadPlatforms.html @@ -1,5 +1,5 @@ -loadPlatforms | Wormhole TS SDK - v0.7.0
      • load the platforms and their protocols by +loadPlatforms | Wormhole TS SDK - v1.13.2

        • load the platforms and their protocols by first calling the import function for each platform then calling the import function for each protocol

          -

          Parameters

          • loaders: PlatformLoader<"Evm" | "Solana" | "Cosmwasm" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near">[]

            the list of PlatformLoaders to load

            -

          Returns Promise<PlatformDefinition<Platform>[]>

        \ No newline at end of file +

        Parameters

        • loaders: PlatformLoader<Platform>[]

          the list of PlatformLoaders to load

          +

        Returns Promise<PlatformDefinition<Platform>[]>

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk.index.loadProtocols.html b/docs/functions/_wormhole_foundation_sdk.index.loadProtocols.html index 220bf3a4e..9011730a8 100644 --- a/docs/functions/_wormhole_foundation_sdk.index.loadProtocols.html +++ b/docs/functions/_wormhole_foundation_sdk.index.loadProtocols.html @@ -1,6 +1,6 @@ -loadProtocols | Wormhole TS SDK - v0.7.0
      • loads the protocols for a given platform by calling the import function for each protocol +loadProtocols | Wormhole TS SDK - v1.13.2

        • loads the protocols for a given platform by calling the import function for each protocol if a list of protocols is provided, only those protocols will be loaded

          -

          Type Parameters

          • P extends "Evm" | "Solana" | "Cosmwasm" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near"

          Parameters

          • platform: PlatformDefinition<P>

            the PlatformDefinition to load the protocols for

            -
          • Optional protocols: (keyof WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">)[]

            the list of protocols to load

            +

            Type Parameters

            • P extends Platform

            Parameters

            • platform: PlatformDefinition<P>

              the PlatformDefinition to load the protocols for

              +
            • Optional protocols: ProtocolName[]

              the list of protocols to load

            Returns Promise<void>

            Throws

            if any of the protocols fail to load

            -
        \ No newline at end of file +
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk.index.nativeTokenId.html b/docs/functions/_wormhole_foundation_sdk.index.nativeTokenId.html deleted file mode 100644 index 5f207ebc8..000000000 --- a/docs/functions/_wormhole_foundation_sdk.index.nativeTokenId.html +++ /dev/null @@ -1,2 +0,0 @@ -nativeTokenId | Wormhole TS SDK - v0.7.0
      • Utility to create a TokenId with the address set to the string "native"

        -

        Type Parameters

        • C extends "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Parameters

        • chain: C

        Returns TokenId<C>

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk.index.registerProtocol.html b/docs/functions/_wormhole_foundation_sdk.index.registerProtocol.html deleted file mode 100644 index 7192c0a21..000000000 --- a/docs/functions/_wormhole_foundation_sdk.index.registerProtocol.html +++ /dev/null @@ -1,2 +0,0 @@ -registerProtocol | Wormhole TS SDK - v0.7.0
      • registerProtocol sets the Platform specific implementation of a given Protocol interface

        -

        Type Parameters

        • P extends "Evm" | "Solana" | "Cosmwasm" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near"
        • PN extends keyof WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">
        • PI extends ProtocolInitializer<P, PN, "Mainnet" | "Testnet" | "Devnet", PlatformToChains<P>> = ProtocolInitializer<P, PN, "Mainnet" | "Testnet" | "Devnet", PlatformToChains<P>>

        Parameters

        • platform: P
        • protocol: PN
        • ctr: PI

        Returns void

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk.index.resolveWrappedToken.html b/docs/functions/_wormhole_foundation_sdk.index.resolveWrappedToken.html deleted file mode 100644 index c6b3f146b..000000000 --- a/docs/functions/_wormhole_foundation_sdk.index.resolveWrappedToken.html +++ /dev/null @@ -1,3 +0,0 @@ -resolveWrappedToken | Wormhole TS SDK - v0.7.0
      • Given a token id, address, or the const string 'native' return -a TokenId representing either the token itself or the wrapped version

        -

        Type Parameters

        • N extends "Mainnet" | "Testnet" | "Devnet"
        • C extends "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Parameters

        Returns [boolean, TokenId<C>]

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk.index.routes.checkAndCompleteTransfer.html b/docs/functions/_wormhole_foundation_sdk.index.routes.checkAndCompleteTransfer.html deleted file mode 100644 index 021e7b99f..000000000 --- a/docs/functions/_wormhole_foundation_sdk.index.routes.checkAndCompleteTransfer.html +++ /dev/null @@ -1,13 +0,0 @@ -checkAndCompleteTransfer | Wormhole TS SDK - v0.7.0
      • track the transfer until the destination is initiated

        -

        Type Parameters

        • N extends "Mainnet" | "Testnet" | "Devnet"

        Parameters

        • route: Route<N, Options, ValidatedTransferParams<Options>, Receipt>

          The route that can be used to track the receipt

          -
        • receipt: Receipt

          The receipt to track

          -
        • Optional destinationSigner: Signer<N>

          The signer for the destination chain if

          -
        • Optional timeout: number
        • Optional log: {
              (...data): void;
              (message?, ...optionalParams): void;
          }
            • (...data): void
            • Parameters

              • Rest ...data: any[]

              Returns void

            • (message?, ...optionalParams): void
            • Prints to stdout with newline. Multiple arguments can be passed, with the -first used as the primary message and all additional used as substitution -values similar to printf(3) (the arguments are all passed to util.format()).

              -
              const count = 5;
              console.log('count: %d', count);
              // Prints: count: 5, to stdout
              console.log('count:', count);
              // Prints: count: 5, to stdout -
              -

              See util.format() for more information.

              -

              Parameters

              • Optional message: any
              • Rest ...optionalParams: any[]

              Returns void

              Since

              v0.1.100

              -

        Returns Promise<CreatedTransferReceipt | SourceInitiatedTransferReceipt | FailedTransferReceipt | SourceFinalizedTransferReceipt | AttestedTransferReceipt | RedeemedTransferReceipt | CompletedTransferReceipt>

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk.index.rpc.rpcAddress.html b/docs/functions/_wormhole_foundation_sdk.index.rpc.rpcAddress.html deleted file mode 100644 index 2ea632deb..000000000 --- a/docs/functions/_wormhole_foundation_sdk.index.rpc.rpcAddress.html +++ /dev/null @@ -1,2 +0,0 @@ -rpcAddress | Wormhole TS SDK - v0.7.0
      • Default RPC Addresses by network and chain

        -

        Parameters

        • network: "Mainnet" | "Testnet" | "Devnet"
        • chain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Returns "" | "https://rpc.ankr.com/eth" | "https://api.mainnet-beta.solana.com" | "https://bscrpc.com" | "https://eth-goerli.public.blastapi.io" | "https://data-seed-prebsc-1-s3.binance.org:8545" | "https://api.devnet.solana.com" | "http://eth-devnet:8545" | "http://eth-devnet2:8545" | "http://solana-devnet:8899"

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk.index.serialize.html b/docs/functions/_wormhole_foundation_sdk.index.serialize.html deleted file mode 100644 index b06d36917..000000000 --- a/docs/functions/_wormhole_foundation_sdk.index.serialize.html +++ /dev/null @@ -1,5 +0,0 @@ -serialize | Wormhole TS SDK - v0.7.0
      • serialize a VAA to a Uint8Array

        -

        Type Parameters

        • PL extends PayloadLiteral

        Parameters

        • vaa: VAA<PL>

          the VAA to serialize

          -

        Returns Uint8Array

        a Uint8Array representation of the VAA

        -

        Throws

        if the VAA is not valid

        -
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk.index.serializePayload.html b/docs/functions/_wormhole_foundation_sdk.index.serializePayload.html deleted file mode 100644 index dbe3876fd..000000000 --- a/docs/functions/_wormhole_foundation_sdk.index.serializePayload.html +++ /dev/null @@ -1,5 +0,0 @@ -serializePayload | Wormhole TS SDK - v0.7.0
      • serialize a VAA payload to a Uint8Array

        -

        Type Parameters

        • PL extends PayloadLiteral

        Parameters

        • payloadLiteral: PL

          The payload literal to use for serialization

          -
        • payload: Payload<PL>

          The dynamic properties to include in the payload

          -

        Returns Uint8Array

        a Uint8Array representation of the VAA Payload

        -
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk.index.toNative.html b/docs/functions/_wormhole_foundation_sdk.index.toNative.html deleted file mode 100644 index f2f664c5e..000000000 --- a/docs/functions/_wormhole_foundation_sdk.index.toNative.html +++ /dev/null @@ -1,2 +0,0 @@ -toNative | Wormhole TS SDK - v0.7.0
      • Parse an address into its NativeAddress representation

        -

        Type Parameters

        • C extends "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Parameters

        Returns NativeAddress<C>

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_base.amount.denoise.html b/docs/functions/_wormhole_foundation_sdk_base.amount.denoise.html index f9ff5d312..0b2dfff17 100644 --- a/docs/functions/_wormhole_foundation_sdk_base.amount.denoise.html +++ b/docs/functions/_wormhole_foundation_sdk_base.amount.denoise.html @@ -1,6 +1,6 @@ -denoise | Wormhole TS SDK - v0.7.0
      • Removes potential floating point noise from input amount beyond given decimal level +denoise | Wormhole TS SDK - v1.13.2

        • Removes potential floating point noise from input amount beyond given decimal level denoise(9.535695950000001, 9) -> 9.535695950

          Parameters

          • amount: string | number

            The string or number to denoise

          • decimals: number

            The number of decimals for the token this amount is of

          Returns number

          A number, with no floating point noise

          -
        \ No newline at end of file +
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_base.amount.display.html b/docs/functions/_wormhole_foundation_sdk_base.amount.display.html index 1835e7f20..d26410cc9 100644 --- a/docs/functions/_wormhole_foundation_sdk_base.amount.display.html +++ b/docs/functions/_wormhole_foundation_sdk_base.amount.display.html @@ -1,5 +1,5 @@ -display | Wormhole TS SDK - v0.7.0
      • Formats an Amount as a human-readable string

        -

        Parameters

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_base.amount.fmt.html b/docs/functions/_wormhole_foundation_sdk_base.amount.fmt.html index e77963ec7..b09dc122e 100644 --- a/docs/functions/_wormhole_foundation_sdk_base.amount.fmt.html +++ b/docs/functions/_wormhole_foundation_sdk_base.amount.fmt.html @@ -1,4 +1,4 @@ -fmt | Wormhole TS SDK - v0.7.0
      • fmt formats a bigint amount to a string with the given number of decimals

        +fmt | Wormhole TS SDK - v1.13.2
        • fmt formats a bigint amount to a string with the given number of decimals

          Parameters

          • amount: bigint

            bigint amount

          • decimals: number

            number of decimals

            -

          Returns string

        \ No newline at end of file +

      Returns string

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_base.amount.fromBaseUnits.html b/docs/functions/_wormhole_foundation_sdk_base.amount.fromBaseUnits.html index 4ddac1d6e..804d0dd05 100644 --- a/docs/functions/_wormhole_foundation_sdk_base.amount.fromBaseUnits.html +++ b/docs/functions/_wormhole_foundation_sdk_base.amount.fromBaseUnits.html @@ -1,5 +1,5 @@ -fromBaseUnits | Wormhole TS SDK - v0.7.0
      • Directly creates an Amount given the base units and decimal level

        +fromBaseUnits | Wormhole TS SDK - v1.13.2
        • Directly creates an Amount given the base units and decimal level

          Parameters

          • amount: bigint

            Amount expressed as base units

          • decimals: number

            The number of decimals for the token this amount is of

            -

          Returns amount.Amount

          An Amount, expressed as base units and decimals

          -
        \ No newline at end of file +

      Returns Amount

      An Amount, expressed as base units and decimals

      +
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_base.amount.parse.html b/docs/functions/_wormhole_foundation_sdk_base.amount.parse.html index e306f6a09..fb161bf11 100644 --- a/docs/functions/_wormhole_foundation_sdk_base.amount.parse.html +++ b/docs/functions/_wormhole_foundation_sdk_base.amount.parse.html @@ -1,5 +1,5 @@ -parse | Wormhole TS SDK - v0.7.0
      • Parses a string or number into an Amount, given a decimal level

        +parse | Wormhole TS SDK - v1.13.2
        • Parses a string or number into an Amount, given a decimal level

          Parameters

          • amount: string | number

            The string or number to parse

          • decimals: number

            The number of decimals for the token this amount is of

            -

          Returns amount.Amount

          An Amount, expressed as base units and decimals

          -
        \ No newline at end of file +

      Returns Amount

      An Amount, expressed as base units and decimals

      +
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_base.amount.scale.html b/docs/functions/_wormhole_foundation_sdk_base.amount.scale.html index 806d2ed4b..c421efb1f 100644 --- a/docs/functions/_wormhole_foundation_sdk_base.amount.scale.html +++ b/docs/functions/_wormhole_foundation_sdk_base.amount.scale.html @@ -1,7 +1,7 @@ -scale | Wormhole TS SDK - v0.7.0
      • Utility function to scale some amount to a given number of decimals

        +scale | Wormhole TS SDK - v1.13.2
        • Utility function to scale some amount to a given number of decimals

          This is useful for things like the TokenBridge, where we want to scale the amount from some the over-the-wire 8 decimals

          -

          Parameters

        \ No newline at end of file +

      Returns Amount

      the scaled amount

      +
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_base.amount.truncate.html b/docs/functions/_wormhole_foundation_sdk_base.amount.truncate.html index db0cfde11..f740e7b55 100644 --- a/docs/functions/_wormhole_foundation_sdk_base.amount.truncate.html +++ b/docs/functions/_wormhole_foundation_sdk_base.amount.truncate.html @@ -1,7 +1,7 @@ -truncate | Wormhole TS SDK - v0.7.0
      • A utility function to truncate an amount to some max decimal

        +truncate | Wormhole TS SDK - v1.13.2
        • A utility function to truncate an amount to some max decimal

          This is useful for things like the TokenBridge, where we want to truncate the amount to represent a maximum of 8 decimals

          -

          Parameters

        \ No newline at end of file +

      Returns Amount

      the truncated Amount

      +
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_base.amount.units.html b/docs/functions/_wormhole_foundation_sdk_base.amount.units.html index eac64e133..aa17dc055 100644 --- a/docs/functions/_wormhole_foundation_sdk_base.amount.units.html +++ b/docs/functions/_wormhole_foundation_sdk_base.amount.units.html @@ -1,4 +1,4 @@ -units | Wormhole TS SDK - v0.7.0
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_base.amount.whole.html b/docs/functions/_wormhole_foundation_sdk_base.amount.whole.html index 48a43870a..b5d4290c4 100644 --- a/docs/functions/_wormhole_foundation_sdk_base.amount.whole.html +++ b/docs/functions/_wormhole_foundation_sdk_base.amount.whole.html @@ -1,4 +1,4 @@ -whole | Wormhole TS SDK - v0.7.0
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_base.decimals.nativeDecimals.html b/docs/functions/_wormhole_foundation_sdk_base.decimals.nativeDecimals.html index 795366e5c..1d6bec0b1 100644 --- a/docs/functions/_wormhole_foundation_sdk_base.decimals.nativeDecimals.html +++ b/docs/functions/_wormhole_foundation_sdk_base.decimals.nativeDecimals.html @@ -1,2 +1,2 @@ -nativeDecimals | Wormhole TS SDK - v0.7.0
      • Number of decimals for the native token on a given platform

        -

        Type Parameters

        • K1 extends "Solana" | "Algorand" | "Near" | "Sui" | "Aptos" | "Btc" | "Evm" | "Cosmwasm"

        Parameters

        • Rest ...args: [K1]

        Returns ObjectFromMappingEntries<readonly [readonly ["Evm", 18], readonly ["Solana", 9], readonly ["Sui", 9], readonly ["Aptos", 8], readonly ["Cosmwasm", 6], readonly ["Algorand", 6], readonly ["Btc", 8], readonly ["Near", 12]], 1>[ToExtPropKey<K1>]

      \ No newline at end of file +nativeDecimals | Wormhole TS SDK - v1.13.2
      • Number of decimals for the native token on a given platform

        +

        Type Parameters

        • const K1 extends "Solana" | "Algorand" | "Near" | "Sui" | "Aptos" | "Btc" | "Evm" | "Cosmwasm"

        Parameters

        • Rest ...args: readonly [K1]

        Returns ObjectFromMappingEntries<readonly [readonly ["Evm", 18], readonly ["Solana", 9], readonly ["Sui", 9], readonly ["Aptos", 8], readonly ["Cosmwasm", 6], readonly ["Algorand", 6], readonly ["Btc", 8], readonly ["Near", 12]], 1>[ToExtPropKey<K1>]

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_base.encoding.stripPrefix.html b/docs/functions/_wormhole_foundation_sdk_base.encoding.stripPrefix.html index fe6dd3793..43eb20255 100644 --- a/docs/functions/_wormhole_foundation_sdk_base.encoding.stripPrefix.html +++ b/docs/functions/_wormhole_foundation_sdk_base.encoding.stripPrefix.html @@ -1,2 +1,2 @@ -stripPrefix | Wormhole TS SDK - v0.7.0
      • Utility method to strip a given prefix, frequently used to remove '0x' from an address

        -

        Parameters

        • prefix: string
        • str: string

        Returns string

      \ No newline at end of file +stripPrefix | Wormhole TS SDK - v1.13.2
      • Utility method to strip a given prefix, frequently used to remove '0x' from an address

        +

        Parameters

        • prefix: string
        • str: string

        Returns string

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_base.finality.blockTime.html b/docs/functions/_wormhole_foundation_sdk_base.finality.blockTime.html index d40ecb948..9c97b79c1 100644 --- a/docs/functions/_wormhole_foundation_sdk_base.finality.blockTime.html +++ b/docs/functions/_wormhole_foundation_sdk_base.finality.blockTime.html @@ -1,2 +1,2 @@ -blockTime | Wormhole TS SDK - v0.7.0
      • The amount of time between block production, in milliseconds

        -

        Type Parameters

        • K1 extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Parameters

        • Rest ...args: [K1]

        Returns ObjectFromMappingEntries<readonly [readonly ["Acala", 12000], readonly ["Algorand", 3300], readonly ["Aptos", 4000], readonly ["Arbitrum", 260], readonly ["ArbitrumSepolia", 260], readonly ["Aurora", 3000], readonly ["Avalanche", 2000], readonly ["Base", 2000], readonly ["BaseSepolia", 2000], readonly ["Bsc", 3000], readonly ["Celo", 5000], readonly ["Cosmoshub", 5000], readonly ["Ethereum", 15000], readonly ["Evmos", 2000], readonly ["Fantom", 2500], readonly ["Gnosis", 5000], readonly ["Holesky", 15000], readonly ["Injective", 2500], readonly ["Karura", 12000], readonly ["Klaytn", 1000], readonly ["Kujira", 3000], readonly ["Moonbeam", 12000], readonly ["Near", 1500], readonly ["Neon", 30000], readonly ["Oasis", 6000], readonly ["Optimism", 2000], readonly ["OptimismSepolia", 2000], readonly ["Osmosis", 6000], readonly ["Polygon", 2000], readonly ["PolygonSepolia", 2000], readonly ["Rootstock", 30000], readonly ["Sei", 400], readonly ["Sepolia", 15000], readonly ["Solana", 400], readonly ["Sui", 3000], readonly ["Scroll", 4000], readonly ["Mantle", 2000], readonly ["Terra", 6000], readonly ["Terra2", 6000], readonly ["Xpla", 5000], readonly ["Wormchain", 5000], readonly ["Btc", 600000], readonly ["Pythnet", 400], readonly ["Dymension", 5000], readonly ["Celestia", 5000], readonly ["Neutron", 5000], readonly ["Stargaze", 5000], readonly ["Seda", 7500]], 1>[ToExtPropKey<K1>]

      \ No newline at end of file +blockTime | Wormhole TS SDK - v1.13.2
      • The amount of time between block production, in milliseconds

        +

        Type Parameters

        • const K1 extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Berachain" | "Unichain" | "Worldchain" | "Ink" | "Monad" | "Movement" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Parameters

        • Rest ...args: readonly [K1]

        Returns ObjectFromMappingEntries<readonly [readonly ["Acala", 12000], readonly ["Algorand", 3300], readonly ["Aptos", 4000], readonly ["Arbitrum", 260], readonly ["ArbitrumSepolia", 260], readonly ["Aurora", 3000], readonly ["Avalanche", 2000], readonly ["Base", 2000], readonly ["BaseSepolia", 2000], readonly ["Blast", 2000], readonly ["Bsc", 3000], readonly ["Celo", 5000], readonly ["Cosmoshub", 5000], readonly ["Ethereum", 15000], readonly ["Evmos", 2000], readonly ["Fantom", 2500], readonly ["Gnosis", 5000], readonly ["Holesky", 15000], readonly ["Injective", 2500], readonly ["Karura", 12000], readonly ["Klaytn", 1000], readonly ["Kujira", 3000], readonly ["Mantle", 2000], readonly ["Moonbeam", 12000], readonly ["Monad", 1000], readonly ["Near", 1500], readonly ["Neon", 30000], readonly ["Oasis", 6000], readonly ["Optimism", 2000], readonly ["OptimismSepolia", 2000], readonly ["Osmosis", 6000], readonly ["Polygon", 2000], readonly ["PolygonSepolia", 2000], readonly ["Scroll", 3000], readonly ["Sei", 400], readonly ["Sepolia", 15000], readonly ["Solana", 400], readonly ["Sui", 3000], readonly ["Terra", 6000], readonly ["Terra2", 6000], readonly ["Unichain", 1000], readonly ["Xpla", 5000], readonly ["Xlayer", 3000], readonly ["Worldchain", 2000], readonly ["Ink", 1000], readonly ["Wormchain", 5000], readonly ["Btc", 600000], readonly ["Pythnet", 400], readonly ["Dymension", 5000], readonly ["Celestia", 5000], readonly ["Neutron", 5000], readonly ["Stargaze", 5000], readonly ["Seda", 7500], readonly ["Berachain", 2000], readonly ["Movement", 4000]], 1>[ToExtPropKey<K1>]

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_base.finality.consistencyLevelToBlock.html b/docs/functions/_wormhole_foundation_sdk_base.finality.consistencyLevelToBlock.html index 5e43be004..bd9a96364 100644 --- a/docs/functions/_wormhole_foundation_sdk_base.finality.consistencyLevelToBlock.html +++ b/docs/functions/_wormhole_foundation_sdk_base.finality.consistencyLevelToBlock.html @@ -1,4 +1,4 @@ -consistencyLevelToBlock | Wormhole TS SDK - v0.7.0
      • Estimate the block number that a VAA might be available +consistencyLevelToBlock | Wormhole TS SDK - v1.13.2

        • Estimate the block number that a VAA might be available for a given chain, initial block where the tx was submitted and consistency level

          -

          Parameters

          • chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"
          • consistencyLevel: number
          • fromBlock: bigint = ...

          Returns bigint

        \ No newline at end of file +

        Parameters

        • chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Movement" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"
        • consistencyLevel: number
        • fromBlock: bigint = ...

        Returns bigint

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_base.finality.estimateFinalityTime.html b/docs/functions/_wormhole_foundation_sdk_base.finality.estimateFinalityTime.html new file mode 100644 index 000000000..cb03a0d40 --- /dev/null +++ b/docs/functions/_wormhole_foundation_sdk_base.finality.estimateFinalityTime.html @@ -0,0 +1,4 @@ +estimateFinalityTime | Wormhole TS SDK - v1.13.2
      • Estimates the time required for a transaction to be considered "final"

        +

        Parameters

        • chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Movement" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

          The chain to estimate finality time for

          +

        Returns number

        The estimated time in milliseconds

        +
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_base.finality.finalityThreshold.html b/docs/functions/_wormhole_foundation_sdk_base.finality.finalityThreshold.html index f2fac09f2..740d32fb9 100644 --- a/docs/functions/_wormhole_foundation_sdk_base.finality.finalityThreshold.html +++ b/docs/functions/_wormhole_foundation_sdk_base.finality.finalityThreshold.html @@ -1,3 +1,3 @@ -finalityThreshold | Wormhole TS SDK - v0.7.0
      • The number of blocks before a transaction may be considered "final" and +finalityThreshold | Wormhole TS SDK - v1.13.2

        • The number of blocks before a transaction may be considered "final" and will not be rolled back

          -

          Type Parameters

          • K1 extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Xpla" | "Base" | "Sei" | "Berachain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Dymension" | "Provenance"

          Parameters

          • Rest ...args: [K1]

          Returns ObjectFromMappingEntries<readonly [readonly ["Solana", 32], readonly ["Ethereum", 64], readonly ["Bsc", 15], readonly ["Optimism", 512], readonly ["Base", 512], readonly ["Arbitrum", 4096], readonly ["Polygon", 32], readonly ["Fantom", 1], readonly ["Celo", 1], readonly ["Moonbeam", 1], readonly ["Karura", 1], readonly ["Acala", 1], readonly ["Oasis", 1], readonly ["Avalanche", 0], readonly ["Sui", 0], readonly ["Algorand", 0], readonly ["Aptos", 0], readonly ["Klaytn", 0], readonly ["Sei", 0], readonly ["Near", 0], readonly ["Osmosis", 0], readonly ["Terra", 0], readonly ["Terra2", 0], readonly ["Xpla", 0], readonly ["Injective", 0], readonly ["Berachain", 0], readonly ["Cosmoshub", 0], readonly ["Evmos", 0], readonly ["Kujira", 0], readonly ["Neutron", 0], readonly ["Celestia", 0], readonly ["Stargaze", 0], readonly ["Dymension", 0], readonly ["Provenance", 0]], 1>[ToExtPropKey<K1>]

        \ No newline at end of file +

        Type Parameters

        • const K1 extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Xpla" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Movement" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "PolygonSepolia"

        Parameters

        • Rest ...args: readonly [K1]

        Returns ObjectFromMappingEntries<readonly [readonly ["Solana", 32], readonly ["Ethereum", 72], readonly ["Bsc", 15], readonly ["Optimism", 512], readonly ["Base", 512], readonly ["Arbitrum", 4096], readonly ["Blast", 512], readonly ["Xlayer", 300], readonly ["Scroll", 300], readonly ["Mantle", 512], readonly ["Worldchain", 512], readonly ["Polygon", 32], readonly ["Fantom", 1], readonly ["Celo", 1], readonly ["Moonbeam", 1], readonly ["Karura", 1], readonly ["Acala", 1], readonly ["Oasis", 1], readonly ["Avalanche", 0], readonly ["Sui", 0], readonly ["Algorand", 0], readonly ["Aptos", 0], readonly ["Movement", 0], readonly ["Klaytn", 0], readonly ["Sei", 0], readonly ["Near", 0], readonly ["Osmosis", 0], readonly ["Terra", 0], readonly ["Terra2", 0], readonly ["Xpla", 0], readonly ["Injective", 0], readonly ["Berachain", 1], readonly ["Seievm", 1], readonly ["Snaxchain", 512], readonly ["Unichain", 1024], readonly ["Ink", 512], readonly ["HyperEVM", 1], readonly ["Monad", 1], readonly ["Cosmoshub", 0], readonly ["Evmos", 0], readonly ["Kujira", 0], readonly ["Neutron", 0], readonly ["Celestia", 0], readonly ["Stargaze", 0], readonly ["Dymension", 0], readonly ["Provenance", 0], readonly ["Noble", 0], readonly ["Sepolia", 72], readonly ["ArbitrumSepolia", 4096], readonly ["BaseSepolia", 512], readonly ["OptimismSepolia", 512], readonly ["PolygonSepolia", 32]], 1>[ToExtPropKey<K1>]

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_base.rpc.rpcAddress.html b/docs/functions/_wormhole_foundation_sdk_base.rpc.rpcAddress.html index e6e22c40e..25d090bb2 100644 --- a/docs/functions/_wormhole_foundation_sdk_base.rpc.rpcAddress.html +++ b/docs/functions/_wormhole_foundation_sdk_base.rpc.rpcAddress.html @@ -1,2 +1,2 @@ -rpcAddress | Wormhole TS SDK - v0.7.0
      • Default RPC Addresses by network and chain

        -

        Parameters

        • network: "Mainnet" | "Testnet" | "Devnet"
        • chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Returns "https://rpc.ankr.com/eth" | "https://api.mainnet-beta.solana.com" | "https://bscrpc.com" | "https://eth-goerli.public.blastapi.io" | "https://data-seed-prebsc-1-s3.binance.org:8545" | "https://api.devnet.solana.com" | "http://eth-devnet:8545" | "http://eth-devnet2:8545" | "http://solana-devnet:8899" | ""

      \ No newline at end of file +rpcAddress | Wormhole TS SDK - v1.13.2
      • Default RPC Addresses by network and chain

        +

        Parameters

        • network: "Mainnet" | "Testnet" | "Devnet"
        • chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Movement" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Returns "https://rpc.ankr.com/eth" | "https://api.mainnet-beta.solana.com" | "https://rpc.ankr.com/polygon" | "https://bscrpc.com" | "https://rpc.ankr.com/avalanche" | "https://rpcapi.fantom.network" | "https://rpc.ankr.com/celo" | "https://rpc.ankr.com/moonbeam" | "https://rpc.mainnet.sui.io" | "https://fullnode.mainnet.aptoslabs.com/v1" | "https://arb1.arbitrum.io/rpc" | "https://mainnet.optimism.io" | "https://mainnet.base.org" | "https://osmosis-rpc.polkachu.com" | "https://cosmos-rpc.publicnode.com:443" | "https://evmos-rpc.polkachu.com" | "https://sentry.tm.injective.network" | "https://wormchain-rpc.quickapi.com" | "https://dimension-rpc.xpla.dev" | "https://sei-rpc.polkachu.com/" | "https://mainnet-api.algonode.cloud" | "https://terra-classic-rpc.publicnode.com" | "https://terra-rpc.polkachu.com" | "https://eth-rpc-karura.aca-api.network" | "https://eth-rpc-acala.aca-api.network" | "https://emerald.oasis.dev" | "https://dymension-rpc.polkachu.com/" | "https://stargaze-rpc.polkachu.com/" | "https://celestia-rpc.polkachu.com/" | "https://neutron-rpc.polkachu.com/" | "https://rpc.blast.io" | "https://rpc.provenance.io/" | "https://noble-rpc.polkachu.com/" | "https://rpc.linea.build" | "https://rpc.ankr.com/scroll" | "https://xlayerrpc.okx.com/" | "https://rpc.ankr.com/gnosis" | "https://rpc.mantle.xyz" | "https://rpc.ankr.com/klaytn" | "https://mainnet.snaxchain.io" | "https://rpc.berachain.com" | "https://mainnet.unichain.org" | "https://worldchain-mainnet.g.alchemy.com/public" | "https://rpc-qnd.inkonchain.com" | "https://eth-sepolia.public.blastapi.io" | "https://rpc-mumbai.polygon.technology" | "https://data-seed-prebsc-1-s3.binance.org:8545" | "https://api.avax-test.network/ext/bc/C/rpc" | "https://rpc.testnet.fantom.network" | "https://alfajores-forno.celo-testnet.org" | "https://api.devnet.solana.com" | "https://testnet.emerald.oasis.io" | "https://rpc.api.moonbase.moonbeam.network" | "https://fullnode.testnet.sui.io" | "https://fullnode.testnet.aptoslabs.com/v1" | "https://sei-testnet-rpc.polkachu.com" | "https://arbitrum-goerli.public.blastapi.io" | "https://optimism-goerli.public.blastapi.io" | "https://base-goerli.public.blastapi.io" | "https://testnet.sentry.tm.injective.network" | "https://rpc.testnet.osmosis.zone" | "https://rpc.sentry-02.theta-testnet.polypore.xyz" | "https://evmos-testnet-rpc.polkachu.com" | "https://gateway.testnet.xlabs.xyz/" | "https://cube-rpc.xpla.dev" | "https://ethereum-sepolia.publicnode.com" | "https://testnet-api.algonode.cloud" | "https://bombay.stakesystems.io" | "https://terra-testnet-rpc.polkachu.com" | "https://sepolia-rollup.arbitrum.io/rpc" | "https://sepolia.optimism.io" | "https://sepolia.base.org" | "https://rpc-amoy.polygon.technology/" | "https://mantle-sepolia.drpc.org" | "https://eth-rpc-karura-testnet.aca-staging.network" | "https://eth-rpc-acala-testnet.aca-staging.network" | "https://sepolia.blast.io" | "https://bepolia.rpc.berachain.com/" | "https://evm-rpc-testnet.sei-apis.com/" | "https://rpc.sepolia.linea.build" | "https://testrpc.xlayer.tech/" | "https://rpc.ankr.com/scroll_sepolia_testnet" | "https://rpc.chiadochain.net" | "https://rpc.ankr.com/klaytn_testnet" | "https://testnet.snaxchain.io" | "https://sepolia.unichain.org" | "https://worldchain-sepolia.g.alchemy.com/public" | "https://rpc-qnd-sepolia.inkonchain.com" | "https://api.hyperliquid-testnet.xyz/evm" | "https://testnet-rpc.monad.xyz" | "https://noble-testnet-rpc.polkachu.com/" | "https://aptos.testnet.bardock.movementlabs.xyz/v1" | "http://eth-devnet:8545" | "http://eth-devnet2:8545" | "http://solana-devnet:8899" | ""

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_connect.amount.denoise.html b/docs/functions/_wormhole_foundation_sdk_connect.amount.denoise.html deleted file mode 100644 index ac583d50d..000000000 --- a/docs/functions/_wormhole_foundation_sdk_connect.amount.denoise.html +++ /dev/null @@ -1,6 +0,0 @@ -denoise | Wormhole TS SDK - v0.7.0
      • Removes potential floating point noise from input amount beyond given decimal level -denoise(9.535695950000001, 9) -> 9.535695950

        -

        Parameters

        • amount: string | number

          The string or number to denoise

          -
        • decimals: number

          The number of decimals for the token this amount is of

          -

        Returns number

        A number, with no floating point noise

        -
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_connect.amount.display.html b/docs/functions/_wormhole_foundation_sdk_connect.amount.display.html deleted file mode 100644 index 5756e3aa5..000000000 --- a/docs/functions/_wormhole_foundation_sdk_connect.amount.display.html +++ /dev/null @@ -1,5 +0,0 @@ -display | Wormhole TS SDK - v0.7.0
      • Formats an Amount as a human-readable string

        -

        Parameters

        • amount: amount.Amount

          An Amount

          -
        • Optional precision: number

          Number of decimal places to render

          -

        Returns string

        A string representing the Amount as a fixed point number

        -
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_connect.amount.fmt.html b/docs/functions/_wormhole_foundation_sdk_connect.amount.fmt.html deleted file mode 100644 index 37ddc1373..000000000 --- a/docs/functions/_wormhole_foundation_sdk_connect.amount.fmt.html +++ /dev/null @@ -1,4 +0,0 @@ -fmt | Wormhole TS SDK - v0.7.0
      • fmt formats a bigint amount to a string with the given number of decimals

        -

        Parameters

        • amount: bigint

          bigint amount

          -
        • decimals: number

          number of decimals

          -

        Returns string

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_connect.amount.fromBaseUnits.html b/docs/functions/_wormhole_foundation_sdk_connect.amount.fromBaseUnits.html deleted file mode 100644 index c8bdc0631..000000000 --- a/docs/functions/_wormhole_foundation_sdk_connect.amount.fromBaseUnits.html +++ /dev/null @@ -1,5 +0,0 @@ -fromBaseUnits | Wormhole TS SDK - v0.7.0
      • Directly creates an Amount given the base units and decimal level

        -

        Parameters

        • amount: bigint

          Amount expressed as base units

          -
        • decimals: number

          The number of decimals for the token this amount is of

          -

        Returns amount.Amount

        An Amount, expressed as base units and decimals

        -
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_connect.amount.parse.html b/docs/functions/_wormhole_foundation_sdk_connect.amount.parse.html deleted file mode 100644 index f5103a27f..000000000 --- a/docs/functions/_wormhole_foundation_sdk_connect.amount.parse.html +++ /dev/null @@ -1,5 +0,0 @@ -parse | Wormhole TS SDK - v0.7.0
      • Parses a string or number into an Amount, given a decimal level

        -

        Parameters

        • amount: string | number

          The string or number to parse

          -
        • decimals: number

          The number of decimals for the token this amount is of

          -

        Returns amount.Amount

        An Amount, expressed as base units and decimals

        -
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_connect.amount.scale.html b/docs/functions/_wormhole_foundation_sdk_connect.amount.scale.html deleted file mode 100644 index ac0fe36bf..000000000 --- a/docs/functions/_wormhole_foundation_sdk_connect.amount.scale.html +++ /dev/null @@ -1,7 +0,0 @@ -scale | Wormhole TS SDK - v0.7.0
      • Utility function to scale some amount to a given number of decimals

        -

        This is useful for things like the TokenBridge, where we want to scale -the amount from some the over-the-wire 8 decimals

        -

        Parameters

        • amount: amount.Amount

          the amount to scale

          -
        • toDecimals: number

          the number of decimals to scale to

          -

        Returns amount.Amount

        the scaled amount

        -
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_connect.amount.truncate.html b/docs/functions/_wormhole_foundation_sdk_connect.amount.truncate.html deleted file mode 100644 index 55c335da9..000000000 --- a/docs/functions/_wormhole_foundation_sdk_connect.amount.truncate.html +++ /dev/null @@ -1,7 +0,0 @@ -truncate | Wormhole TS SDK - v0.7.0
      • A utility function to truncate an amount to some max decimal

        -

        This is useful for things like the TokenBridge, where we want to truncate -the amount to represent a maximum of 8 decimals

        -

        Parameters

        • amount: amount.Amount

          the Amount to truncate

          -
        • maxDecimals: number

          the max number of decimals we want to keep, zeroing out the rest

          -

        Returns amount.Amount

        the truncated Amount

        -
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_connect.amount.units.html b/docs/functions/_wormhole_foundation_sdk_connect.amount.units.html deleted file mode 100644 index 60a6ec5a6..000000000 --- a/docs/functions/_wormhole_foundation_sdk_connect.amount.units.html +++ /dev/null @@ -1,4 +0,0 @@ -units | Wormhole TS SDK - v0.7.0
      • Returns the base units from an Amount, as a bigint

        -

        Parameters

        Returns bigint

        A bigint, representing the base units for the Amount

        -
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_connect.amount.whole.html b/docs/functions/_wormhole_foundation_sdk_connect.amount.whole.html deleted file mode 100644 index 87095ec00..000000000 --- a/docs/functions/_wormhole_foundation_sdk_connect.amount.whole.html +++ /dev/null @@ -1,4 +0,0 @@ -whole | Wormhole TS SDK - v0.7.0
      • Returns the decimal amount as a number (may lose precision)

        -

        Parameters

        Returns number

        A number, representing the decimal amount for the Amount

        -
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_connect.api.getTransactionStatus.html b/docs/functions/_wormhole_foundation_sdk_connect.api.getTransactionStatus.html index b5e1a5e08..553c313d6 100644 --- a/docs/functions/_wormhole_foundation_sdk_connect.api.getTransactionStatus.html +++ b/docs/functions/_wormhole_foundation_sdk_connect.api.getTransactionStatus.html @@ -1,6 +1,6 @@ -getTransactionStatus | Wormhole TS SDK - v0.7.0
      • Gets the status for a transaction given WormholeMessageId or null if the VAA is not available yet.

        +getTransactionStatus | Wormhole TS SDK - v1.13.2
        • Gets the status for a transaction given WormholeMessageId or null if the VAA is not available yet.

          Parameters

          • rpcUrl: string

            the url of the wormholescan API

            -
          • whm: WormholeMessageId

            the WormholeMessageId

            -

          Returns Promise<api.TransactionStatus | null>

          a TransactionStatus or null if it's not available yet

          +
      • whm: WormholeMessageId

        the WormholeMessageId

        +

      Returns Promise<TransactionStatus | null>

      a TransactionStatus or null if it's not available yet

      Throws

      Errors if the service throws an unrecoverable error (e.g. 500)

      -
      \ No newline at end of file +
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_connect.api.getVaaBytes.html b/docs/functions/_wormhole_foundation_sdk_connect.api.getVaaBytes.html index 1054e153a..0701282ac 100644 --- a/docs/functions/_wormhole_foundation_sdk_connect.api.getVaaBytes.html +++ b/docs/functions/_wormhole_foundation_sdk_connect.api.getVaaBytes.html @@ -1,6 +1,6 @@ -getVaaBytes | Wormhole TS SDK - v0.7.0
      • Gets the bytes of a VAA for a given WormholeMessageId or null if the VAA is not available yet.

        +getVaaBytes | Wormhole TS SDK - v1.13.2
        • Gets the bytes of a VAA for a given WormholeMessageId or null if the VAA is not available yet.

          Parameters

          • apiUrl: string

            the url of the wormholescan API

            -
          • whm: WormholeMessageId

            the WormholeMessageId

            +
          • whm: WormholeMessageId

            the WormholeMessageId

          Returns Promise<Uint8Array | null>

          a Uint8Array containing the VAA or null if it's not available yet

          Throws

          Errors if the service throws an unrecoverable error (e.g. 500)

          -
        \ No newline at end of file +
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_connect.blindDeserializePayload.html b/docs/functions/_wormhole_foundation_sdk_connect.blindDeserializePayload.html deleted file mode 100644 index d62483a5b..000000000 --- a/docs/functions/_wormhole_foundation_sdk_connect.blindDeserializePayload.html +++ /dev/null @@ -1,5 +0,0 @@ -blindDeserializePayload | Wormhole TS SDK - v0.7.0
      • Blindly deserialize a payload from a Uint8Array

        -

        Parameters

        • data: Byteish

          the data to deserialize

          -

        Returns readonly (readonly ["AutomaticCircleBridge:DepositWithPayload", {
            caller: UniversalAddress;
            mintRecipient: UniversalAddress;
            nonce: bigint;
            payload: Uint8Array;
            sourceDomain: number;
            targetDomain: number;
            token: {
                address: UniversalAddress;
                amount: bigint;
            };
        }] | readonly ["AutomaticCircleBridge:TransferWithRelay", {
            caller: UniversalAddress;
            mintRecipient: UniversalAddress;
            nonce: bigint;
            payload: {
                targetRecipient: UniversalAddress;
                targetRelayerFee: bigint;
                toNativeTokenAmount: bigint;
            };
            sourceDomain: number;
            targetDomain: number;
            token: {
                address: UniversalAddress;
                amount: bigint;
            };
        }] | readonly ["CircleBridge:Message", {
            destinationCaller: UniversalAddress;
            destinationDomain: number;
            nonce: bigint;
            payload: {
                amount: bigint;
                burnToken: UniversalAddress;
                messageSender: UniversalAddress;
                mintRecipient: UniversalAddress;
            };
            recipient: UniversalAddress;
            sender: UniversalAddress;
            sourceDomain: number;
        }] | readonly ["PorticoBridge:Transfer", {
            bridgeNonce: number;
            feeTierFinish: number;
            feeTierStart: number;
            flags: Bitset<readonly ["shouldWrapNative", "shouldUnwrapNative"]>;
            padding: Uint8Array;
            recipientChain: number;
        }] | readonly ["AutomaticTokenBridge:TransferWithRelay", {
            from: UniversalAddress;
            payload: {
                targetRecipient: UniversalAddress;
                targetRelayerFee: bigint;
                toNativeTokenAmount: bigint;
            };
            to: {
                address: UniversalAddress;
                chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            };
            token: {
                address: UniversalAddress;
                amount: bigint;
                chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            };
        }] | readonly ["TokenBridge:Transfer", {
            fee: bigint;
            to: {
                address: UniversalAddress;
                chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            };
            token: {
                address: UniversalAddress;
                amount: bigint;
                chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            };
        }] | readonly ["TokenBridge:AttestMeta", {
            decimals: number;
            name: string;
            symbol: string;
            token: {
                address: UniversalAddress;
                chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            };
        }] | readonly ["TokenBridge:TransferWithPayload", {
            from: UniversalAddress;
            payload: Uint8Array;
            to: {
                address: UniversalAddress;
                chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            };
            token: {
                address: UniversalAddress;
                amount: bigint;
                chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            };
        }] | readonly ["WormholeCore:UpgradeContract", {
            action: "UpgradeContract";
            chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            newContract: UniversalAddress;
            protocol: "WormholeCore";
        }] | readonly ["WormholeCore:GuardianSetUpgrade", {
            action: "GuardianSetUpgrade";
            chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            guardianSet: number;
            guardians: readonly Uint8Array[];
            protocol: "WormholeCore";
        }] | readonly ["WormholeCore:SetMessageFee", {
            action: "SetMessageFee";
            chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            messageFee: bigint;
            protocol: "WormholeCore";
        }] | readonly ["WormholeCore:TransferFees", {
            action: "TransferFees";
            amount: bigint;
            chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            protocol: "WormholeCore";
            recipient: UniversalAddress;
        }] | readonly ["WormholeCore:RecoverChainId", {
            action: "RecoverChainId";
            chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            evmChainId: bigint;
            newChainId: "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Arbitrum" | "Optimism" | "Gnosis" | "Base" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            protocol: "WormholeCore";
        }] | readonly ["TokenBridge:UpgradeContract", {
            action: "UpgradeContract";
            chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            newContract: UniversalAddress;
            protocol: "TokenBridge";
        }] | readonly ["TokenBridge:RecoverChainId", {
            action: "RecoverChainId";
            chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            evmChainId: bigint;
            newChainId: "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Arbitrum" | "Optimism" | "Gnosis" | "Base" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            protocol: "TokenBridge";
        }] | readonly ["TokenBridge:RegisterChain", {
            action: "RegisterChain";
            chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            foreignAddress: UniversalAddress;
            foreignChain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            protocol: "TokenBridge";
        }] | readonly ["NftBridge:UpgradeContract", {
            action: "UpgradeContract";
            chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            newContract: UniversalAddress;
            protocol: "NftBridge";
        }] | readonly ["NftBridge:RecoverChainId", {
            action: "RecoverChainId";
            chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            evmChainId: bigint;
            newChainId: "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Arbitrum" | "Optimism" | "Gnosis" | "Base" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            protocol: "NftBridge";
        }] | readonly ["NftBridge:RegisterChain", {
            action: "RegisterChain";
            chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            foreignAddress: UniversalAddress;
            foreignChain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            protocol: "NftBridge";
        }] | readonly ["Relayer:UpgradeContract", {
            action: "UpgradeContract";
            chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            newContract: UniversalAddress;
            protocol: "Relayer";
        }] | readonly ["Relayer:RegisterChain", {
            action: "RegisterChain";
            chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            foreignAddress: UniversalAddress;
            foreignChain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            protocol: "Relayer";
        }] | readonly ["Relayer:UpdateDefaultProvider", {
            action: "UpdateDefaultProvider";
            chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            defaultProvider: UniversalAddress;
            protocol: "Relayer";
        }] | readonly ["CircleBridge:UpgradeContract", {
            action: "UpgradeContract";
            chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            newContract: UniversalAddress;
            protocol: "CircleBridge";
        }] | readonly ["CircleBridge:UpdateFinality", {
            action: "UpdateFinality";
            chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            finality: number;
            protocol: "CircleBridge";
        }] | readonly ["CircleBridge:RegisterEmitterAndDomain", {
            action: "RegisterEmitterAndDomain";
            chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            domain: number;
            emitterAddress: UniversalAddress;
            emitterChain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            protocol: "CircleBridge";
        }] | readonly ["Relayer:DeliveryInstruction", {
            executionInfo: {
                gasLimit: bigint;
                targetChainRefundPerGasUnused: bigint;
            };
            extraReceiverValue: bigint;
            messageKeys: readonly ({
                chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
                emitterAddress: UniversalAddress;
                keyType: "VAA";
                sequence: bigint;
            } | {
                domain: number;
                keyType: "CCTP";
                nonce: bigint;
            })[];
            payload: Uint8Array;
            refund: {
                address: UniversalAddress;
                chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            };
            refundDeliveryProvider: UniversalAddress;
            requestedReceiverValue: bigint;
            senderAddress: UniversalAddress;
            sourceDeliveryProvider: UniversalAddress;
            target: {
                address: UniversalAddress;
                chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            };
        }] | readonly ["Relayer:RedeliveryInstruction", {
            deliveryVaaKey: {
                chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
                emitterAddress: UniversalAddress;
                sequence: bigint;
            };
            newEncodedExecutionInfo: {
                gasLimit: bigint;
                targetChainRefundPerGasUnused: bigint;
            };
            newRequestedReceiverValue: bigint;
            newSenderAddress: UniversalAddress;
            newSourceDeliveryProvider: UniversalAddress;
            targetChain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
        }])[]

        an array of all possible deserialized payloads

        -

        Throws

        if the data is not a valid payload

        -
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_connect.canonicalAddress.html b/docs/functions/_wormhole_foundation_sdk_connect.canonicalAddress.html deleted file mode 100644 index 564546eb6..000000000 --- a/docs/functions/_wormhole_foundation_sdk_connect.canonicalAddress.html +++ /dev/null @@ -1,2 +0,0 @@ -canonicalAddress | Wormhole TS SDK - v0.7.0
      • Utility function to return the string representation of a ChainAddress or TokenId

        -

        Parameters

        • ca: ChainAddress | TokenId<"Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">

        Returns string

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_connect.createVAA.html b/docs/functions/_wormhole_foundation_sdk_connect.createVAA.html deleted file mode 100644 index 6bdcfcf54..000000000 --- a/docs/functions/_wormhole_foundation_sdk_connect.createVAA.html +++ /dev/null @@ -1,6 +0,0 @@ -createVAA | Wormhole TS SDK - v0.7.0
      • Create a VAA from a payload literal and a set of dynamic properties.

        -

        Type Parameters

        • PL extends PayloadLiteral

        Parameters

        • payloadLiteral: PL

          The payload literal to create a VAA for.

          -
        • vaaData: LayoutToType<StartFilterItemsOfLayout<[{
              binary: "uint";
              custom: 1;
              name: "version";
              omit: true;
              size: 1;
          }, {
              binary: "uint";
              name: "guardianSet";
              size: 4;
          }, {
              binary: "array";
              layout: readonly [{
                  binary: "uint";
                  name: "guardianIndex";
                  size: 1;
              }, {
                  binary: "bytes";
                  custom: {
                      from: ((val) => {
                          r: bigint;
                          s: bigint;
                          v: number;
                      });
                      to: ((val) => Signature);
                  };
                  layout: readonly [{
                      binary: "uint";
                      name: "r";
                      size: 32;
                  }, {
                      binary: "uint";
                      name: "s";
                      size: 32;
                  }, {
                      binary: "uint";
                      name: "v";
                      size: 1;
                  }];
                  name: "signature";
              }];
              lengthSize: 1;
              name: "signatures";
          }, {
              binary: "uint";
              name: "timestamp";
              size: 4;
          }], false>>

          The dynamic properties to include in the VAA.

          -

        Returns VAA<PL>

        A VAA with the given payload literal and dynamic properties.

        -

        Throws

        If the dynamic properties do not match the payload literal.

        -
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_connect.decimals.nativeDecimals.html b/docs/functions/_wormhole_foundation_sdk_connect.decimals.nativeDecimals.html deleted file mode 100644 index 0722a27c3..000000000 --- a/docs/functions/_wormhole_foundation_sdk_connect.decimals.nativeDecimals.html +++ /dev/null @@ -1,2 +0,0 @@ -nativeDecimals | Wormhole TS SDK - v0.7.0
      • Number of decimals for the native token on a given platform

        -

        Type Parameters

        • K1 extends "Solana" | "Algorand" | "Near" | "Sui" | "Aptos" | "Btc" | "Evm" | "Cosmwasm"

        Parameters

        • args_0: K1

        Returns {
            Algorand: 6;
            Aptos: 8;
            Btc: 8;
            Cosmwasm: 6;
            Evm: 18;
            Near: 12;
            Solana: 9;
            Sui: 9;
        }[K1 extends bigint
            ? `bigint(${K1<K1>})`
            : K1 extends boolean
                ? `boolean(${K1<K1>})`
                : K1]

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_connect.deserialize.html b/docs/functions/_wormhole_foundation_sdk_connect.deserialize.html deleted file mode 100644 index 3ba4a6ab0..000000000 --- a/docs/functions/_wormhole_foundation_sdk_connect.deserialize.html +++ /dev/null @@ -1,6 +0,0 @@ -deserialize | Wormhole TS SDK - v0.7.0
      • deserialize a VAA from a Uint8Array

        -

        Type Parameters

        • T extends PayloadLiteral | PayloadDiscriminator<LayoutLiteral, false>

        Parameters

        • payloadDet: T

          The payload literal or discriminator to use for deserialization

          -
        • data: Byteish

          the data to deserialize

          -

        Returns DistributiveVAA<ExtractLiteral<T>>

        a VAA object with the given payload literal or discriminator

        -

        Throws

        if the data is not a valid VAA

        -
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_connect.deserializePayload.html b/docs/functions/_wormhole_foundation_sdk_connect.deserializePayload.html deleted file mode 100644 index e6a4ab14b..000000000 --- a/docs/functions/_wormhole_foundation_sdk_connect.deserializePayload.html +++ /dev/null @@ -1,7 +0,0 @@ -deserializePayload | Wormhole TS SDK - v0.7.0
      • deserialize a payload from a Uint8Array

        -

        Type Parameters

        • T extends PayloadLiteral | PayloadDiscriminator<LayoutLiteral, false>

        Parameters

        • payloadDet: T

          the payload literal or discriminator to use for deserialization

          -
        • data: Byteish

          the data to deserialize

          -
        • Optional offset: number

          the offset to start deserializing from

          -

        Returns DeserializePayloadReturn<T>

        the deserialized payload

        -

        Throws

        if the data is not a valid payload

        -
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_connect.encoding.stripPrefix.html b/docs/functions/_wormhole_foundation_sdk_connect.encoding.stripPrefix.html deleted file mode 100644 index 961b754cc..000000000 --- a/docs/functions/_wormhole_foundation_sdk_connect.encoding.stripPrefix.html +++ /dev/null @@ -1,2 +0,0 @@ -stripPrefix | Wormhole TS SDK - v0.7.0
      • Utility method to strip a given prefix, frequently used to remove '0x' from an address

        -

        Parameters

        • prefix: string
        • str: string

        Returns string

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_connect.exhaustiveDeserialize.html b/docs/functions/_wormhole_foundation_sdk_connect.exhaustiveDeserialize.html deleted file mode 100644 index dcb88877d..000000000 --- a/docs/functions/_wormhole_foundation_sdk_connect.exhaustiveDeserialize.html +++ /dev/null @@ -1,5 +0,0 @@ -exhaustiveDeserialize | Wormhole TS SDK - v0.7.0
      • Attempt to deserialize a payload from a Uint8Array using all registered layouts

        -

        Parameters

        • data: Byteish

          the data to deserialize

          -

        Returns readonly (readonly ["AutomaticCircleBridge:DepositWithPayload", {
            caller: UniversalAddress;
            mintRecipient: UniversalAddress;
            nonce: bigint;
            payload: Uint8Array;
            sourceDomain: number;
            targetDomain: number;
            token: {
                address: UniversalAddress;
                amount: bigint;
            };
        }] | readonly ["AutomaticCircleBridge:TransferWithRelay", {
            caller: UniversalAddress;
            mintRecipient: UniversalAddress;
            nonce: bigint;
            payload: {
                targetRecipient: UniversalAddress;
                targetRelayerFee: bigint;
                toNativeTokenAmount: bigint;
            };
            sourceDomain: number;
            targetDomain: number;
            token: {
                address: UniversalAddress;
                amount: bigint;
            };
        }] | readonly ["CircleBridge:Message", {
            destinationCaller: UniversalAddress;
            destinationDomain: number;
            nonce: bigint;
            payload: {
                amount: bigint;
                burnToken: UniversalAddress;
                messageSender: UniversalAddress;
                mintRecipient: UniversalAddress;
            };
            recipient: UniversalAddress;
            sender: UniversalAddress;
            sourceDomain: number;
        }] | readonly ["PorticoBridge:Transfer", {
            bridgeNonce: number;
            feeTierFinish: number;
            feeTierStart: number;
            flags: Bitset<readonly ["shouldWrapNative", "shouldUnwrapNative"]>;
            padding: Uint8Array;
            recipientChain: number;
        }] | readonly ["AutomaticTokenBridge:TransferWithRelay", {
            from: UniversalAddress;
            payload: {
                targetRecipient: UniversalAddress;
                targetRelayerFee: bigint;
                toNativeTokenAmount: bigint;
            };
            to: {
                address: UniversalAddress;
                chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            };
            token: {
                address: UniversalAddress;
                amount: bigint;
                chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            };
        }] | readonly ["TokenBridge:Transfer", {
            fee: bigint;
            to: {
                address: UniversalAddress;
                chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            };
            token: {
                address: UniversalAddress;
                amount: bigint;
                chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            };
        }] | readonly ["TokenBridge:AttestMeta", {
            decimals: number;
            name: string;
            symbol: string;
            token: {
                address: UniversalAddress;
                chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            };
        }] | readonly ["TokenBridge:TransferWithPayload", {
            from: UniversalAddress;
            payload: Uint8Array;
            to: {
                address: UniversalAddress;
                chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            };
            token: {
                address: UniversalAddress;
                amount: bigint;
                chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            };
        }] | readonly ["WormholeCore:UpgradeContract", {
            action: "UpgradeContract";
            chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            newContract: UniversalAddress;
            protocol: "WormholeCore";
        }] | readonly ["WormholeCore:GuardianSetUpgrade", {
            action: "GuardianSetUpgrade";
            chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            guardianSet: number;
            guardians: readonly Uint8Array[];
            protocol: "WormholeCore";
        }] | readonly ["WormholeCore:SetMessageFee", {
            action: "SetMessageFee";
            chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            messageFee: bigint;
            protocol: "WormholeCore";
        }] | readonly ["WormholeCore:TransferFees", {
            action: "TransferFees";
            amount: bigint;
            chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            protocol: "WormholeCore";
            recipient: UniversalAddress;
        }] | readonly ["WormholeCore:RecoverChainId", {
            action: "RecoverChainId";
            chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            evmChainId: bigint;
            newChainId: "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Arbitrum" | "Optimism" | "Gnosis" | "Base" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            protocol: "WormholeCore";
        }] | readonly ["TokenBridge:UpgradeContract", {
            action: "UpgradeContract";
            chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            newContract: UniversalAddress;
            protocol: "TokenBridge";
        }] | readonly ["TokenBridge:RecoverChainId", {
            action: "RecoverChainId";
            chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            evmChainId: bigint;
            newChainId: "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Arbitrum" | "Optimism" | "Gnosis" | "Base" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            protocol: "TokenBridge";
        }] | readonly ["TokenBridge:RegisterChain", {
            action: "RegisterChain";
            chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            foreignAddress: UniversalAddress;
            foreignChain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            protocol: "TokenBridge";
        }] | readonly ["NftBridge:UpgradeContract", {
            action: "UpgradeContract";
            chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            newContract: UniversalAddress;
            protocol: "NftBridge";
        }] | readonly ["NftBridge:RecoverChainId", {
            action: "RecoverChainId";
            chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            evmChainId: bigint;
            newChainId: "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Arbitrum" | "Optimism" | "Gnosis" | "Base" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            protocol: "NftBridge";
        }] | readonly ["NftBridge:RegisterChain", {
            action: "RegisterChain";
            chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            foreignAddress: UniversalAddress;
            foreignChain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            protocol: "NftBridge";
        }] | readonly ["Relayer:UpgradeContract", {
            action: "UpgradeContract";
            chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            newContract: UniversalAddress;
            protocol: "Relayer";
        }] | readonly ["Relayer:RegisterChain", {
            action: "RegisterChain";
            chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            foreignAddress: UniversalAddress;
            foreignChain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            protocol: "Relayer";
        }] | readonly ["Relayer:UpdateDefaultProvider", {
            action: "UpdateDefaultProvider";
            chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            defaultProvider: UniversalAddress;
            protocol: "Relayer";
        }] | readonly ["CircleBridge:UpgradeContract", {
            action: "UpgradeContract";
            chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            newContract: UniversalAddress;
            protocol: "CircleBridge";
        }] | readonly ["CircleBridge:UpdateFinality", {
            action: "UpdateFinality";
            chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            finality: number;
            protocol: "CircleBridge";
        }] | readonly ["CircleBridge:RegisterEmitterAndDomain", {
            action: "RegisterEmitterAndDomain";
            chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            domain: number;
            emitterAddress: UniversalAddress;
            emitterChain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            protocol: "CircleBridge";
        }] | readonly ["Relayer:DeliveryInstruction", {
            executionInfo: {
                gasLimit: bigint;
                targetChainRefundPerGasUnused: bigint;
            };
            extraReceiverValue: bigint;
            messageKeys: readonly ({
                chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
                emitterAddress: UniversalAddress;
                keyType: "VAA";
                sequence: bigint;
            } | {
                domain: number;
                keyType: "CCTP";
                nonce: bigint;
            })[];
            payload: Uint8Array;
            refund: {
                address: UniversalAddress;
                chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            };
            refundDeliveryProvider: UniversalAddress;
            requestedReceiverValue: bigint;
            senderAddress: UniversalAddress;
            sourceDeliveryProvider: UniversalAddress;
            target: {
                address: UniversalAddress;
                chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
            };
        }] | readonly ["Relayer:RedeliveryInstruction", {
            deliveryVaaKey: {
                chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
                emitterAddress: UniversalAddress;
                sequence: bigint;
            };
            newEncodedExecutionInfo: {
                gasLimit: bigint;
                targetChainRefundPerGasUnused: bigint;
            };
            newRequestedReceiverValue: bigint;
            newSenderAddress: UniversalAddress;
            newSourceDeliveryProvider: UniversalAddress;
            targetChain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
        }])[]

        an array of all possible deserialized payloads

        -

        Throws

        if the data is not a valid payload

        -
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_connect.finality.blockTime.html b/docs/functions/_wormhole_foundation_sdk_connect.finality.blockTime.html deleted file mode 100644 index 139422e70..000000000 --- a/docs/functions/_wormhole_foundation_sdk_connect.finality.blockTime.html +++ /dev/null @@ -1,2 +0,0 @@ -blockTime | Wormhole TS SDK - v0.7.0
      • The amount of time between block production, in milliseconds

        -

        Type Parameters

        • K1 extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Parameters

        • args_0: K1

        Returns {
            Acala: 12000;
            Algorand: 3300;
            Aptos: 4000;
            Arbitrum: 260;
            ArbitrumSepolia: 260;
            Aurora: 3000;
            Avalanche: 2000;
            Base: 2000;
            BaseSepolia: 2000;
            Bsc: 3000;
            Btc: 600000;
            Celestia: 5000;
            Celo: 5000;
            Cosmoshub: 5000;
            Dymension: 5000;
            Ethereum: 15000;
            Evmos: 2000;
            Fantom: 2500;
            Gnosis: 5000;
            Holesky: 15000;
            Injective: 2500;
            Karura: 12000;
            Klaytn: 1000;
            Kujira: 3000;
            Mantle: 2000;
            Moonbeam: 12000;
            Near: 1500;
            Neon: 30000;
            Neutron: 5000;
            Oasis: 6000;
            Optimism: 2000;
            OptimismSepolia: 2000;
            Osmosis: 6000;
            Polygon: 2000;
            PolygonSepolia: 2000;
            Pythnet: 400;
            Rootstock: 30000;
            Scroll: 4000;
            Seda: 7500;
            Sei: 400;
            Sepolia: 15000;
            Solana: 400;
            Stargaze: 5000;
            Sui: 3000;
            Terra: 6000;
            Terra2: 6000;
            Wormchain: 5000;
            Xpla: 5000;
        }[K1 extends bigint
            ? `bigint(${K1<K1>})`
            : K1 extends boolean
                ? `boolean(${K1<K1>})`
                : K1]

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_connect.finality.consistencyLevelToBlock.html b/docs/functions/_wormhole_foundation_sdk_connect.finality.consistencyLevelToBlock.html deleted file mode 100644 index cc6858bed..000000000 --- a/docs/functions/_wormhole_foundation_sdk_connect.finality.consistencyLevelToBlock.html +++ /dev/null @@ -1,4 +0,0 @@ -consistencyLevelToBlock | Wormhole TS SDK - v0.7.0
      • Estimate the block number that a VAA might be available -for a given chain, initial block where the tx was submitted -and consistency level

        -

        Parameters

        • chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"
        • consistencyLevel: number
        • Optional fromBlock: bigint

        Returns bigint

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_connect.finality.finalityThreshold.html b/docs/functions/_wormhole_foundation_sdk_connect.finality.finalityThreshold.html deleted file mode 100644 index 4394b20a2..000000000 --- a/docs/functions/_wormhole_foundation_sdk_connect.finality.finalityThreshold.html +++ /dev/null @@ -1,3 +0,0 @@ -finalityThreshold | Wormhole TS SDK - v0.7.0
      • The number of blocks before a transaction may be considered "final" and -will not be rolled back

        -

        Type Parameters

        • K1 extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Xpla" | "Base" | "Sei" | "Berachain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Dymension" | "Provenance"

        Parameters

        • args_0: K1

        Returns {
            Acala: 1;
            Algorand: 0;
            Aptos: 0;
            Arbitrum: 4096;
            Avalanche: 0;
            Base: 512;
            Berachain: 0;
            Bsc: 15;
            Celestia: 0;
            Celo: 1;
            Cosmoshub: 0;
            Dymension: 0;
            Ethereum: 64;
            Evmos: 0;
            Fantom: 1;
            Injective: 0;
            Karura: 1;
            Klaytn: 0;
            Kujira: 0;
            Moonbeam: 1;
            Near: 0;
            Neutron: 0;
            Oasis: 1;
            Optimism: 512;
            Osmosis: 0;
            Polygon: 32;
            Provenance: 0;
            Sei: 0;
            Solana: 32;
            Stargaze: 0;
            Sui: 0;
            Terra: 0;
            Terra2: 0;
            Xpla: 0;
        }[K1 extends bigint
            ? `bigint(${K1<K1>})`
            : K1 extends boolean
                ? `boolean(${K1<K1>})`
                : K1]

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_connect.getContracts.html b/docs/functions/_wormhole_foundation_sdk_connect.getContracts.html deleted file mode 100644 index 198ce6876..000000000 --- a/docs/functions/_wormhole_foundation_sdk_connect.getContracts.html +++ /dev/null @@ -1,5 +0,0 @@ -getContracts | Wormhole TS SDK - v0.7.0
      • Get the contracts for a given network and chain

        -

        Parameters

        • n: "Mainnet" | "Testnet" | "Devnet"

          the network to get contracts for

          -
        • c: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

          the chain to get contracts for

          -

        Returns Contracts

        the contracts for the given network and chain

        -
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_connect.nativeTokenId.html b/docs/functions/_wormhole_foundation_sdk_connect.nativeTokenId.html deleted file mode 100644 index dd5600b7e..000000000 --- a/docs/functions/_wormhole_foundation_sdk_connect.nativeTokenId.html +++ /dev/null @@ -1,2 +0,0 @@ -nativeTokenId | Wormhole TS SDK - v0.7.0
      • Utility to create a TokenId with the address set to the string "native"

        -

        Type Parameters

        • C extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Parameters

        • chain: C

        Returns TokenId<C>

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_connect.registerProtocol.html b/docs/functions/_wormhole_foundation_sdk_connect.registerProtocol.html deleted file mode 100644 index 363cfa848..000000000 --- a/docs/functions/_wormhole_foundation_sdk_connect.registerProtocol.html +++ /dev/null @@ -1,2 +0,0 @@ -registerProtocol | Wormhole TS SDK - v0.7.0
      • registerProtocol sets the Platform specific implementation of a given Protocol interface

        -

        Type Parameters

        • P extends "Solana" | "Algorand" | "Near" | "Sui" | "Aptos" | "Btc" | "Evm" | "Cosmwasm"
        • PN extends keyof WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">
        • PI extends ProtocolInitializer<P, PN, "Mainnet" | "Testnet" | "Devnet", PlatformToChains<P>> = ProtocolInitializer<P, PN, "Mainnet" | "Testnet" | "Devnet", PlatformToChains<P>>

        Parameters

        • platform: P
        • protocol: PN
        • ctr: PI

        Returns void

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_connect.resolveWrappedToken.html b/docs/functions/_wormhole_foundation_sdk_connect.resolveWrappedToken.html deleted file mode 100644 index ca8d1adbf..000000000 --- a/docs/functions/_wormhole_foundation_sdk_connect.resolveWrappedToken.html +++ /dev/null @@ -1,3 +0,0 @@ -resolveWrappedToken | Wormhole TS SDK - v0.7.0
      • Given a token id, address, or the const string 'native' return -a TokenId representing either the token itself or the wrapped version

        -

        Type Parameters

        • N extends "Mainnet" | "Testnet" | "Devnet"
        • C extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Parameters

        Returns [boolean, TokenId<C>]

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_connect.routes.checkAndCompleteTransfer.html b/docs/functions/_wormhole_foundation_sdk_connect.routes.checkAndCompleteTransfer.html index 1b1a89d55..2a1cee41c 100644 --- a/docs/functions/_wormhole_foundation_sdk_connect.routes.checkAndCompleteTransfer.html +++ b/docs/functions/_wormhole_foundation_sdk_connect.routes.checkAndCompleteTransfer.html @@ -1,7 +1,7 @@ -checkAndCompleteTransfer | Wormhole TS SDK - v0.7.0
      • track the transfer until the destination is initiated

        -

        Type Parameters

        • N extends "Mainnet" | "Testnet" | "Devnet"

        Parameters

        • route: Route<N, Options, ValidatedTransferParams<Options>, Receipt>

          The route that can be used to track the receipt

          +checkAndCompleteTransfer | Wormhole TS SDK - v1.13.2
          • track the transfer until the destination is initiated

            +

            Type Parameters

            • N extends Network

            Parameters

            • route: Route<N, Options, ValidatedTransferParams<Options>, Receipt>

              The route that can be used to track the receipt

            • receipt: Receipt

              The receipt to track

              -
            • Optional destinationSigner: Signer<N>

              The signer for the destination chain if

              +
            • Optional destinationSigner: any

              The signer for the destination chain if

            • timeout: number = ...
            • log: {
                  (...data): void;
                  (message?, ...optionalParams): void;
              } = console.log
                • (...data): void
                • Parameters

                  • Rest ...data: any[]

                  Returns void

                • (message?, ...optionalParams): void
                • Prints to stdout with newline. Multiple arguments can be passed, with the first used as the primary message and all additional used as substitution @@ -10,4 +10,4 @@

                  See util.format() for more information.

                  Parameters

                  • Optional message: any
                  • Rest ...optionalParams: any[]

                  Returns void

                  Since

                  v0.1.100

                  -

            Returns Promise<CreatedTransferReceipt<"Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia", "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"> | SourceInitiatedTransferReceipt<"Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia", "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"> | FailedTransferReceipt<AttestationReceipt, "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia", "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"> | SourceFinalizedTransferReceipt<AttestationReceipt, "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia", "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"> | AttestedTransferReceipt<AttestationReceipt, "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia", "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"> | RedeemedTransferReceipt<AttestationReceipt, "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia", "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"> | CompletedTransferReceipt<AttestationReceipt, "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia", "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">>

          \ No newline at end of file +

      Returns Promise<CreatedTransferReceipt<Chain, Chain> | SourceInitiatedTransferReceipt<Chain, Chain> | FailedTransferReceipt<AttestationReceipt, Chain, Chain> | SourceFinalizedTransferReceipt<AttestationReceipt, Chain, Chain> | InReviewTransferReceipt<AttestationReceipt, Chain, Chain> | AttestedTransferReceipt<AttestationReceipt, Chain, Chain> | RefundedTransferReceipt<AttestationReceipt, Chain, Chain> | RedeemedTransferReceipt<AttestationReceipt, Chain, Chain> | DestinationQueuedTransferReceipt<AttestationReceipt, Chain, Chain> | CompletedTransferReceipt<AttestationReceipt, Chain, Chain>>

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_connect.rpc.rpcAddress.html b/docs/functions/_wormhole_foundation_sdk_connect.rpc.rpcAddress.html deleted file mode 100644 index 3341cb762..000000000 --- a/docs/functions/_wormhole_foundation_sdk_connect.rpc.rpcAddress.html +++ /dev/null @@ -1,2 +0,0 @@ -rpcAddress | Wormhole TS SDK - v0.7.0
      • Default RPC Addresses by network and chain

        -

        Parameters

        • network: "Mainnet" | "Testnet" | "Devnet"
        • chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Returns "" | "https://rpc.ankr.com/eth" | "https://api.mainnet-beta.solana.com" | "https://bscrpc.com" | "https://eth-goerli.public.blastapi.io" | "https://data-seed-prebsc-1-s3.binance.org:8545" | "https://api.devnet.solana.com" | "http://eth-devnet:8545" | "http://eth-devnet2:8545" | "http://solana-devnet:8899"

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_connect.serialize.html b/docs/functions/_wormhole_foundation_sdk_connect.serialize.html deleted file mode 100644 index 54c6fb337..000000000 --- a/docs/functions/_wormhole_foundation_sdk_connect.serialize.html +++ /dev/null @@ -1,5 +0,0 @@ -serialize | Wormhole TS SDK - v0.7.0
      • serialize a VAA to a Uint8Array

        -

        Type Parameters

        • PL extends PayloadLiteral

        Parameters

        • vaa: VAA<PL>

          the VAA to serialize

          -

        Returns Uint8Array

        a Uint8Array representation of the VAA

        -

        Throws

        if the VAA is not valid

        -
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_connect.serializePayload.html b/docs/functions/_wormhole_foundation_sdk_connect.serializePayload.html deleted file mode 100644 index d33893b18..000000000 --- a/docs/functions/_wormhole_foundation_sdk_connect.serializePayload.html +++ /dev/null @@ -1,5 +0,0 @@ -serializePayload | Wormhole TS SDK - v0.7.0
      • serialize a VAA payload to a Uint8Array

        -

        Type Parameters

        • PL extends PayloadLiteral

        Parameters

        • payloadLiteral: PL

          The payload literal to use for serialization

          -
        • payload: Payload<PL>

          The dynamic properties to include in the payload

          -

        Returns Uint8Array

        a Uint8Array representation of the VAA Payload

        -
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_connect.toNative.html b/docs/functions/_wormhole_foundation_sdk_connect.toNative.html deleted file mode 100644 index 71686d984..000000000 --- a/docs/functions/_wormhole_foundation_sdk_connect.toNative.html +++ /dev/null @@ -1,2 +0,0 @@ -toNative | Wormhole TS SDK - v0.7.0
      • Parse an address into its NativeAddress representation

        -

        Type Parameters

        • C extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Parameters

        Returns NativeAddress<C>

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_definitions.blindDeserializePayload.html b/docs/functions/_wormhole_foundation_sdk_definitions.blindDeserializePayload.html index ea3adac10..eff8c4ad3 100644 --- a/docs/functions/_wormhole_foundation_sdk_definitions.blindDeserializePayload.html +++ b/docs/functions/_wormhole_foundation_sdk_definitions.blindDeserializePayload.html @@ -1,5 +1,5 @@ -blindDeserializePayload | Wormhole TS SDK - v0.7.0
      • Blindly deserialize a payload from a Uint8Array

        +blindDeserializePayload | Wormhole TS SDK - v1.13.2
        • Blindly deserialize a payload from a Uint8Array

          Parameters

          • data: Byteish

            the data to deserialize

            -

          Returns readonly (readonly ["AutomaticCircleBridge:DepositWithPayload", {
              caller: UniversalAddress;
              mintRecipient: UniversalAddress;
              nonce: bigint;
              payload: Uint8Array;
              sourceDomain: number;
              targetDomain: number;
              token: {
                  address: UniversalAddress;
                  amount: bigint;
              };
          }] | readonly ["AutomaticCircleBridge:TransferWithRelay", {
              caller: UniversalAddress;
              mintRecipient: UniversalAddress;
              nonce: bigint;
              payload: {
                  targetRecipient: UniversalAddress;
                  targetRelayerFee: bigint;
                  toNativeTokenAmount: bigint;
              };
              sourceDomain: number;
              targetDomain: number;
              token: {
                  address: UniversalAddress;
                  amount: bigint;
              };
          }] | readonly ["CircleBridge:Message", {
              destinationCaller: UniversalAddress;
              destinationDomain: number;
              nonce: bigint;
              payload: {
                  amount: bigint;
                  burnToken: UniversalAddress;
                  messageSender: UniversalAddress;
                  mintRecipient: UniversalAddress;
              };
              recipient: UniversalAddress;
              sender: UniversalAddress;
              sourceDomain: number;
          }] | readonly ["PorticoBridge:Transfer", {
              bridgeNonce: number;
              feeTierFinish: number;
              feeTierStart: number;
              flags: Bitset<readonly ["shouldWrapNative", "shouldUnwrapNative"]>;
              padding: Uint8Array;
              recipientChain: number;
          }] | readonly ["TokenBridge:Transfer", {
              fee: bigint;
              to: {
                  address: UniversalAddress;
                  chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              };
              token: {
                  address: UniversalAddress;
                  amount: bigint;
                  chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              };
          }] | readonly ["TokenBridge:AttestMeta", {
              decimals: number;
              name: string;
              symbol: string;
              token: {
                  address: UniversalAddress;
                  chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              };
          }] | readonly ["TokenBridge:TransferWithPayload", {
              from: UniversalAddress;
              payload: Uint8Array;
              to: {
                  address: UniversalAddress;
                  chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              };
              token: {
                  address: UniversalAddress;
                  amount: bigint;
                  chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              };
          }] | readonly ["AutomaticTokenBridge:TransferWithRelay", {
              from: UniversalAddress;
              payload: {
                  targetRecipient: UniversalAddress;
                  targetRelayerFee: bigint;
                  toNativeTokenAmount: bigint;
              };
              to: {
                  address: UniversalAddress;
                  chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              };
              token: {
                  address: UniversalAddress;
                  amount: bigint;
                  chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              };
          }] | readonly ["WormholeCore:UpgradeContract", {
              action: "UpgradeContract";
              chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              newContract: UniversalAddress;
              protocol: "WormholeCore";
          }] | readonly ["WormholeCore:RecoverChainId", {
              action: "RecoverChainId";
              chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              evmChainId: bigint;
              newChainId: "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Arbitrum" | "Optimism" | "Gnosis" | "Base" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              protocol: "WormholeCore";
          }] | readonly ["WormholeCore:GuardianSetUpgrade", {
              action: "GuardianSetUpgrade";
              chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              guardianSet: number;
              guardians: readonly Uint8Array[];
              protocol: "WormholeCore";
          }] | readonly ["WormholeCore:SetMessageFee", {
              action: "SetMessageFee";
              chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              messageFee: bigint;
              protocol: "WormholeCore";
          }] | readonly ["WormholeCore:TransferFees", {
              action: "TransferFees";
              amount: bigint;
              chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              protocol: "WormholeCore";
              recipient: UniversalAddress;
          }] | readonly ["TokenBridge:UpgradeContract", {
              action: "UpgradeContract";
              chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              newContract: UniversalAddress;
              protocol: "TokenBridge";
          }] | readonly ["TokenBridge:RegisterChain", {
              action: "RegisterChain";
              chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              foreignAddress: UniversalAddress;
              foreignChain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              protocol: "TokenBridge";
          }] | readonly ["TokenBridge:RecoverChainId", {
              action: "RecoverChainId";
              chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              evmChainId: bigint;
              newChainId: "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Arbitrum" | "Optimism" | "Gnosis" | "Base" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              protocol: "TokenBridge";
          }] | readonly ["NftBridge:UpgradeContract", {
              action: "UpgradeContract";
              chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              newContract: UniversalAddress;
              protocol: "NftBridge";
          }] | readonly ["NftBridge:RegisterChain", {
              action: "RegisterChain";
              chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              foreignAddress: UniversalAddress;
              foreignChain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              protocol: "NftBridge";
          }] | readonly ["NftBridge:RecoverChainId", {
              action: "RecoverChainId";
              chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              evmChainId: bigint;
              newChainId: "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Arbitrum" | "Optimism" | "Gnosis" | "Base" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              protocol: "NftBridge";
          }] | readonly ["Relayer:UpgradeContract", {
              action: "UpgradeContract";
              chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              newContract: UniversalAddress;
              protocol: "Relayer";
          }] | readonly ["Relayer:RegisterChain", {
              action: "RegisterChain";
              chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              foreignAddress: UniversalAddress;
              foreignChain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              protocol: "Relayer";
          }] | readonly ["Relayer:UpdateDefaultProvider", {
              action: "UpdateDefaultProvider";
              chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              defaultProvider: UniversalAddress;
              protocol: "Relayer";
          }] | readonly ["CircleBridge:UpgradeContract", {
              action: "UpgradeContract";
              chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              newContract: UniversalAddress;
              protocol: "CircleBridge";
          }] | readonly ["CircleBridge:RegisterEmitterAndDomain", {
              action: "RegisterEmitterAndDomain";
              chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              domain: number;
              emitterAddress: UniversalAddress;
              emitterChain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              protocol: "CircleBridge";
          }] | readonly ["CircleBridge:UpdateFinality", {
              action: "UpdateFinality";
              chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              finality: number;
              protocol: "CircleBridge";
          }] | readonly ["Relayer:DeliveryInstruction", {
              executionInfo: {
                  gasLimit: bigint;
                  targetChainRefundPerGasUnused: bigint;
              };
              extraReceiverValue: bigint;
              messageKeys: readonly ({
                  chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
                  emitterAddress: UniversalAddress;
                  keyType: "VAA";
                  sequence: bigint;
              } | {
                  domain: number;
                  keyType: "CCTP";
                  nonce: bigint;
              })[];
              payload: Uint8Array;
              refund: {
                  address: UniversalAddress;
                  chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              };
              refundDeliveryProvider: UniversalAddress;
              requestedReceiverValue: bigint;
              senderAddress: UniversalAddress;
              sourceDeliveryProvider: UniversalAddress;
              target: {
                  address: UniversalAddress;
                  chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              };
          }] | readonly ["Relayer:RedeliveryInstruction", {
              deliveryVaaKey: {
                  chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
                  emitterAddress: UniversalAddress;
                  sequence: bigint;
              };
              newEncodedExecutionInfo: {
                  gasLimit: bigint;
                  targetChainRefundPerGasUnused: bigint;
              };
              newRequestedReceiverValue: bigint;
              newSenderAddress: UniversalAddress;
              newSourceDeliveryProvider: UniversalAddress;
              targetChain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
          }])[]

          an array of all possible deserialized payloads

          +

      Returns readonly (readonly ["AutomaticCircleBridge:DepositWithPayload", LayoutToType<LayoutOf<LL>>] | readonly ["AutomaticCircleBridge:TransferWithRelay", LayoutToType<LayoutOf<LL>>] | readonly ["PorticoBridge:Transfer", LayoutToType<LayoutOf<LL>>] | readonly ["AutomaticTokenBridge:TransferWithRelay", LayoutToType<LayoutOf<LL>>] | readonly [`WormholeCore:${string}`, LayoutToType<LayoutOf<LL>>] | readonly [`TokenBridge:${string}`, LayoutToType<LayoutOf<LL>>] | readonly [`NftBridge:${string}`, LayoutToType<LayoutOf<LL>>] | readonly [`Relayer:${string}`, LayoutToType<LayoutOf<LL>>] | readonly [`CircleBridge:${string}`, LayoutToType<LayoutOf<LL>>] | readonly [`IbcBridge:${string}`, LayoutToType<LayoutOf<LL>>] | readonly [`IbcReceiver:${string}`, LayoutToType<LayoutOf<LL>>] | readonly [`GlobalAccountant:${string}`, LayoutToType<LayoutOf<LL>>] | readonly [`GeneralPurposeGovernance:${string}`, LayoutToType<LayoutOf<LL>>] | readonly [`WormchainGovernance:${string}`, LayoutToType<LayoutOf<LL>>] | readonly [`GatewayGovernance:${string}`, LayoutToType<LayoutOf<LL>>])[]

      an array of all possible deserialized payloads

      Throws

      if the data is not a valid payload

      -
      \ No newline at end of file +
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_definitions.canonicalAddress.html b/docs/functions/_wormhole_foundation_sdk_definitions.canonicalAddress.html index 25bcaaa02..f747679a0 100644 --- a/docs/functions/_wormhole_foundation_sdk_definitions.canonicalAddress.html +++ b/docs/functions/_wormhole_foundation_sdk_definitions.canonicalAddress.html @@ -1,2 +1,2 @@ -canonicalAddress | Wormhole TS SDK - v0.7.0
      • Utility function to return the string representation of a ChainAddress or TokenId

        -

        Parameters

        • ca: TokenId<"Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"> | ChainAddress

        Returns string

      \ No newline at end of file +canonicalAddress | Wormhole TS SDK - v1.13.2
      • Utility function to return the string representation of a ChainAddress or TokenId

        +

        Parameters

        Returns string

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_definitions.createVAA.html b/docs/functions/_wormhole_foundation_sdk_definitions.createVAA.html index 8faabc4c0..e2d98140e 100644 --- a/docs/functions/_wormhole_foundation_sdk_definitions.createVAA.html +++ b/docs/functions/_wormhole_foundation_sdk_definitions.createVAA.html @@ -1,6 +1,6 @@ -createVAA | Wormhole TS SDK - v0.7.0
      • Create a VAA from a payload literal and a set of dynamic properties.

        +createVAA | Wormhole TS SDK - v1.13.2
        • Create a VAA from a payload literal and a set of dynamic properties.

          Type Parameters

          • PL extends PayloadLiteral

          Parameters

          • payloadLiteral: PL

            The payload literal to create a VAA for.

            -
          • vaaData: LayoutToType<StartFilterItemsOfLayout<[{
                binary: "uint";
                custom: 1;
                name: "version";
                omit: true;
                size: 1;
            }, {
                binary: "uint";
                name: "guardianSet";
                size: 4;
            }, {
                binary: "array";
                layout: readonly [{
                    binary: "uint";
                    name: "guardianIndex";
                    size: 1;
                }, {
                    binary: "bytes";
                    custom: {
                        from: ((val) => {
                            r: bigint;
                            s: bigint;
                            v: number;
                        });
                        to: ((val) => Signature);
                    };
                    layout: readonly [{
                        binary: "uint";
                        name: "r";
                        size: 32;
                    }, {
                        binary: "uint";
                        name: "s";
                        size: 32;
                    }, {
                        binary: "uint";
                        name: "v";
                        size: 1;
                    }];
                    name: "signature";
                }];
                lengthSize: 1;
                name: "signatures";
            }, {
                binary: "uint";
                name: "timestamp";
                size: 4;
            }], false>>

            The dynamic properties to include in the VAA.

            +
          • vaaData: LayoutToType<DynamicItemsOfLayout<[...any[], PayloadLiteralToPayloadItemLayout<PL>]>>

            The dynamic properties to include in the VAA.

          Returns VAA<PL>

          A VAA with the given payload literal and dynamic properties.

          Throws

          If the dynamic properties do not match the payload literal.

          -
        \ No newline at end of file +
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_definitions.deserialize.html b/docs/functions/_wormhole_foundation_sdk_definitions.deserialize.html index acfa2298c..640ba0433 100644 --- a/docs/functions/_wormhole_foundation_sdk_definitions.deserialize.html +++ b/docs/functions/_wormhole_foundation_sdk_definitions.deserialize.html @@ -1,6 +1,6 @@ -deserialize | Wormhole TS SDK - v0.7.0
      • deserialize a VAA from a Uint8Array

        +deserialize | Wormhole TS SDK - v1.13.2
        • deserialize a VAA from a Uint8Array

          Type Parameters

          • T extends PayloadLiteral | PayloadDiscriminator<LayoutLiteral, false>

          Parameters

          • payloadDet: T

            The payload literal or discriminator to use for deserialization

          • data: Byteish

            the data to deserialize

          Returns DistributiveVAA<ExtractLiteral<T>>

          a VAA object with the given payload literal or discriminator

          Throws

          if the data is not a valid VAA

          -
        \ No newline at end of file +
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_definitions.deserializePayload.html b/docs/functions/_wormhole_foundation_sdk_definitions.deserializePayload.html index 56bf0e87a..6140b6bec 100644 --- a/docs/functions/_wormhole_foundation_sdk_definitions.deserializePayload.html +++ b/docs/functions/_wormhole_foundation_sdk_definitions.deserializePayload.html @@ -1,7 +1,7 @@ -deserializePayload | Wormhole TS SDK - v0.7.0
      • deserialize a payload from a Uint8Array

        +deserializePayload | Wormhole TS SDK - v1.13.2
        • deserialize a payload from a Uint8Array

          Type Parameters

          • T extends PayloadLiteral | PayloadDiscriminator<LayoutLiteral, false>

          Parameters

          • payloadDet: T

            the payload literal or discriminator to use for deserialization

          • data: Byteish

            the data to deserialize

          • offset: number = 0

            the offset to start deserializing from

          Returns DeserializePayloadReturn<T>

          the deserialized payload

          Throws

          if the data is not a valid payload

          -
        \ No newline at end of file +
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_definitions.deserializeUnknownVaa.html b/docs/functions/_wormhole_foundation_sdk_definitions.deserializeUnknownVaa.html new file mode 100644 index 000000000..f6d4fca43 --- /dev/null +++ b/docs/functions/_wormhole_foundation_sdk_definitions.deserializeUnknownVaa.html @@ -0,0 +1,5 @@ +deserializeUnknownVaa | Wormhole TS SDK - v1.13.2
      • Allows deserialization of a VAA with a chain id that is not yet known +by the SDK.

        +

        Parameters

        • data: Uint8Array

          The raw VAA to deserialize

          +

        Returns any

        an object with the VAA data and the payload as a Uint8Array

        +
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_definitions.exhaustiveDeserialize.html b/docs/functions/_wormhole_foundation_sdk_definitions.exhaustiveDeserialize.html index 70f80c2dc..10b253404 100644 --- a/docs/functions/_wormhole_foundation_sdk_definitions.exhaustiveDeserialize.html +++ b/docs/functions/_wormhole_foundation_sdk_definitions.exhaustiveDeserialize.html @@ -1,5 +1,5 @@ -exhaustiveDeserialize | Wormhole TS SDK - v0.7.0
      • Attempt to deserialize a payload from a Uint8Array using all registered layouts

        +exhaustiveDeserialize | Wormhole TS SDK - v1.13.2
        • Attempt to deserialize a payload from a Uint8Array using all registered layouts

          Parameters

          • data: Byteish

            the data to deserialize

            -

          Returns readonly (readonly ["AutomaticCircleBridge:DepositWithPayload", {
              caller: UniversalAddress;
              mintRecipient: UniversalAddress;
              nonce: bigint;
              payload: Uint8Array;
              sourceDomain: number;
              targetDomain: number;
              token: {
                  address: UniversalAddress;
                  amount: bigint;
              };
          }] | readonly ["AutomaticCircleBridge:TransferWithRelay", {
              caller: UniversalAddress;
              mintRecipient: UniversalAddress;
              nonce: bigint;
              payload: {
                  targetRecipient: UniversalAddress;
                  targetRelayerFee: bigint;
                  toNativeTokenAmount: bigint;
              };
              sourceDomain: number;
              targetDomain: number;
              token: {
                  address: UniversalAddress;
                  amount: bigint;
              };
          }] | readonly ["CircleBridge:Message", {
              destinationCaller: UniversalAddress;
              destinationDomain: number;
              nonce: bigint;
              payload: {
                  amount: bigint;
                  burnToken: UniversalAddress;
                  messageSender: UniversalAddress;
                  mintRecipient: UniversalAddress;
              };
              recipient: UniversalAddress;
              sender: UniversalAddress;
              sourceDomain: number;
          }] | readonly ["PorticoBridge:Transfer", {
              bridgeNonce: number;
              feeTierFinish: number;
              feeTierStart: number;
              flags: Bitset<readonly ["shouldWrapNative", "shouldUnwrapNative"]>;
              padding: Uint8Array;
              recipientChain: number;
          }] | readonly ["TokenBridge:Transfer", {
              fee: bigint;
              to: {
                  address: UniversalAddress;
                  chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              };
              token: {
                  address: UniversalAddress;
                  amount: bigint;
                  chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              };
          }] | readonly ["TokenBridge:AttestMeta", {
              decimals: number;
              name: string;
              symbol: string;
              token: {
                  address: UniversalAddress;
                  chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              };
          }] | readonly ["TokenBridge:TransferWithPayload", {
              from: UniversalAddress;
              payload: Uint8Array;
              to: {
                  address: UniversalAddress;
                  chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              };
              token: {
                  address: UniversalAddress;
                  amount: bigint;
                  chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              };
          }] | readonly ["AutomaticTokenBridge:TransferWithRelay", {
              from: UniversalAddress;
              payload: {
                  targetRecipient: UniversalAddress;
                  targetRelayerFee: bigint;
                  toNativeTokenAmount: bigint;
              };
              to: {
                  address: UniversalAddress;
                  chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              };
              token: {
                  address: UniversalAddress;
                  amount: bigint;
                  chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              };
          }] | readonly ["WormholeCore:UpgradeContract", {
              action: "UpgradeContract";
              chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              newContract: UniversalAddress;
              protocol: "WormholeCore";
          }] | readonly ["WormholeCore:RecoverChainId", {
              action: "RecoverChainId";
              chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              evmChainId: bigint;
              newChainId: "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Arbitrum" | "Optimism" | "Gnosis" | "Base" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              protocol: "WormholeCore";
          }] | readonly ["WormholeCore:GuardianSetUpgrade", {
              action: "GuardianSetUpgrade";
              chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              guardianSet: number;
              guardians: readonly Uint8Array[];
              protocol: "WormholeCore";
          }] | readonly ["WormholeCore:SetMessageFee", {
              action: "SetMessageFee";
              chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              messageFee: bigint;
              protocol: "WormholeCore";
          }] | readonly ["WormholeCore:TransferFees", {
              action: "TransferFees";
              amount: bigint;
              chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              protocol: "WormholeCore";
              recipient: UniversalAddress;
          }] | readonly ["TokenBridge:UpgradeContract", {
              action: "UpgradeContract";
              chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              newContract: UniversalAddress;
              protocol: "TokenBridge";
          }] | readonly ["TokenBridge:RegisterChain", {
              action: "RegisterChain";
              chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              foreignAddress: UniversalAddress;
              foreignChain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              protocol: "TokenBridge";
          }] | readonly ["TokenBridge:RecoverChainId", {
              action: "RecoverChainId";
              chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              evmChainId: bigint;
              newChainId: "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Arbitrum" | "Optimism" | "Gnosis" | "Base" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              protocol: "TokenBridge";
          }] | readonly ["NftBridge:UpgradeContract", {
              action: "UpgradeContract";
              chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              newContract: UniversalAddress;
              protocol: "NftBridge";
          }] | readonly ["NftBridge:RegisterChain", {
              action: "RegisterChain";
              chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              foreignAddress: UniversalAddress;
              foreignChain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              protocol: "NftBridge";
          }] | readonly ["NftBridge:RecoverChainId", {
              action: "RecoverChainId";
              chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              evmChainId: bigint;
              newChainId: "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Arbitrum" | "Optimism" | "Gnosis" | "Base" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              protocol: "NftBridge";
          }] | readonly ["Relayer:UpgradeContract", {
              action: "UpgradeContract";
              chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              newContract: UniversalAddress;
              protocol: "Relayer";
          }] | readonly ["Relayer:RegisterChain", {
              action: "RegisterChain";
              chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              foreignAddress: UniversalAddress;
              foreignChain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              protocol: "Relayer";
          }] | readonly ["Relayer:UpdateDefaultProvider", {
              action: "UpdateDefaultProvider";
              chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              defaultProvider: UniversalAddress;
              protocol: "Relayer";
          }] | readonly ["CircleBridge:UpgradeContract", {
              action: "UpgradeContract";
              chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              newContract: UniversalAddress;
              protocol: "CircleBridge";
          }] | readonly ["CircleBridge:RegisterEmitterAndDomain", {
              action: "RegisterEmitterAndDomain";
              chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              domain: number;
              emitterAddress: UniversalAddress;
              emitterChain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              protocol: "CircleBridge";
          }] | readonly ["CircleBridge:UpdateFinality", {
              action: "UpdateFinality";
              chain: null | "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              finality: number;
              protocol: "CircleBridge";
          }] | readonly ["Relayer:DeliveryInstruction", {
              executionInfo: {
                  gasLimit: bigint;
                  targetChainRefundPerGasUnused: bigint;
              };
              extraReceiverValue: bigint;
              messageKeys: readonly ({
                  chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
                  emitterAddress: UniversalAddress;
                  keyType: "VAA";
                  sequence: bigint;
              } | {
                  domain: number;
                  keyType: "CCTP";
                  nonce: bigint;
              })[];
              payload: Uint8Array;
              refund: {
                  address: UniversalAddress;
                  chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              };
              refundDeliveryProvider: UniversalAddress;
              requestedReceiverValue: bigint;
              senderAddress: UniversalAddress;
              sourceDeliveryProvider: UniversalAddress;
              target: {
                  address: UniversalAddress;
                  chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
              };
          }] | readonly ["Relayer:RedeliveryInstruction", {
              deliveryVaaKey: {
                  chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
                  emitterAddress: UniversalAddress;
                  sequence: bigint;
              };
              newEncodedExecutionInfo: {
                  gasLimit: bigint;
                  targetChainRefundPerGasUnused: bigint;
              };
              newRequestedReceiverValue: bigint;
              newSenderAddress: UniversalAddress;
              newSourceDeliveryProvider: UniversalAddress;
              targetChain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
          }])[]

          an array of all possible deserialized payloads

          +

      Returns readonly (readonly ["AutomaticCircleBridge:DepositWithPayload", LayoutToType<LayoutOf<LL>>] | readonly ["AutomaticCircleBridge:TransferWithRelay", LayoutToType<LayoutOf<LL>>] | readonly ["PorticoBridge:Transfer", LayoutToType<LayoutOf<LL>>] | readonly ["AutomaticTokenBridge:TransferWithRelay", LayoutToType<LayoutOf<LL>>] | readonly [`WormholeCore:${string}`, LayoutToType<LayoutOf<LL>>] | readonly [`TokenBridge:${string}`, LayoutToType<LayoutOf<LL>>] | readonly [`NftBridge:${string}`, LayoutToType<LayoutOf<LL>>] | readonly [`Relayer:${string}`, LayoutToType<LayoutOf<LL>>] | readonly [`CircleBridge:${string}`, LayoutToType<LayoutOf<LL>>] | readonly [`IbcBridge:${string}`, LayoutToType<LayoutOf<LL>>] | readonly [`IbcReceiver:${string}`, LayoutToType<LayoutOf<LL>>] | readonly [`GlobalAccountant:${string}`, LayoutToType<LayoutOf<LL>>] | readonly [`GeneralPurposeGovernance:${string}`, LayoutToType<LayoutOf<LL>>] | readonly [`WormchainGovernance:${string}`, LayoutToType<LayoutOf<LL>>] | readonly [`GatewayGovernance:${string}`, LayoutToType<LayoutOf<LL>>])[]

      an array of all possible deserialized payloads

      Throws

      if the data is not a valid payload

      -
      \ No newline at end of file +
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_definitions.getContracts.html b/docs/functions/_wormhole_foundation_sdk_definitions.getContracts.html index 9a3665e58..b00adfd1d 100644 --- a/docs/functions/_wormhole_foundation_sdk_definitions.getContracts.html +++ b/docs/functions/_wormhole_foundation_sdk_definitions.getContracts.html @@ -1,5 +1,5 @@ -getContracts | Wormhole TS SDK - v0.7.0
      • Get the contracts for a given network and chain

        -

        Parameters

        • n: "Mainnet" | "Testnet" | "Devnet"

          the network to get contracts for

          -
        • c: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

          the chain to get contracts for

          +getContracts | Wormhole TS SDK - v1.13.2
          • Get the contracts for a given network and chain

            +

            Parameters

            • n: Network

              the network to get contracts for

              +
            • c: Chain

              the chain to get contracts for

            Returns Contracts

            the contracts for the given network and chain

            -
          \ No newline at end of file +
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_definitions.nativeTokenId.html b/docs/functions/_wormhole_foundation_sdk_definitions.nativeTokenId.html index 2fb3cab35..9d8c6bc26 100644 --- a/docs/functions/_wormhole_foundation_sdk_definitions.nativeTokenId.html +++ b/docs/functions/_wormhole_foundation_sdk_definitions.nativeTokenId.html @@ -1,2 +1,2 @@ -nativeTokenId | Wormhole TS SDK - v0.7.0
      • Utility to create a TokenId with the address set to the string "native"

        -

        Type Parameters

        • C extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Parameters

        • chain: C

        Returns TokenId<C>

      \ No newline at end of file +nativeTokenId | Wormhole TS SDK - v1.13.2
      • Utility to create a TokenId with the address set to the string "native"

        +

        Type Parameters

        • C extends Chain

        Parameters

        • chain: C

        Returns TokenId<C>

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_definitions.registerProtocol.html b/docs/functions/_wormhole_foundation_sdk_definitions.registerProtocol.html index 0b866196b..29e11c92a 100644 --- a/docs/functions/_wormhole_foundation_sdk_definitions.registerProtocol.html +++ b/docs/functions/_wormhole_foundation_sdk_definitions.registerProtocol.html @@ -1,2 +1,2 @@ -registerProtocol | Wormhole TS SDK - v0.7.0
      • registerProtocol sets the Platform specific implementation of a given Protocol interface

        -

        Type Parameters

        • P extends "Solana" | "Algorand" | "Near" | "Sui" | "Aptos" | "Btc" | "Evm" | "Cosmwasm"
        • PN extends keyof WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">
        • PI extends ProtocolInitializer<P, PN, "Mainnet" | "Testnet" | "Devnet", PlatformToChains<P>> = ProtocolInitializer<P, PN, "Mainnet" | "Testnet" | "Devnet", PlatformToChains<P>>

        Parameters

        • platform: P
        • protocol: PN
        • ctr: PI

        Returns void

      \ No newline at end of file +registerProtocol | Wormhole TS SDK - v1.13.2
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_definitions.resolveWrappedToken.html b/docs/functions/_wormhole_foundation_sdk_definitions.resolveWrappedToken.html index a504de529..a9e847c72 100644 --- a/docs/functions/_wormhole_foundation_sdk_definitions.resolveWrappedToken.html +++ b/docs/functions/_wormhole_foundation_sdk_definitions.resolveWrappedToken.html @@ -1,3 +1,3 @@ -resolveWrappedToken | Wormhole TS SDK - v0.7.0
      • Given a token id, address, or the const string 'native' return +resolveWrappedToken | Wormhole TS SDK - v1.13.2

        • Given a token id, address, or the const string 'native' return a TokenId representing either the token itself or the wrapped version

          -

          Type Parameters

          • N extends "Mainnet" | "Testnet" | "Devnet"
          • C extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

          Parameters

          Returns [boolean, TokenId<C>]

        \ No newline at end of file +

        Type Parameters

        • N extends Network
        • C extends Chain

        Parameters

        Returns [boolean, TokenId<C>]

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_definitions.serialize.html b/docs/functions/_wormhole_foundation_sdk_definitions.serialize.html index fe80bc682..c996b4941 100644 --- a/docs/functions/_wormhole_foundation_sdk_definitions.serialize.html +++ b/docs/functions/_wormhole_foundation_sdk_definitions.serialize.html @@ -1,5 +1,5 @@ -serialize | Wormhole TS SDK - v0.7.0
      • serialize a VAA to a Uint8Array

        +serialize | Wormhole TS SDK - v1.13.2
        • serialize a VAA to a Uint8Array

          Type Parameters

          • PL extends PayloadLiteral

          Parameters

          • vaa: VAA<PL>

            the VAA to serialize

          Returns Uint8Array

          a Uint8Array representation of the VAA

          Throws

          if the VAA is not valid

          -
        \ No newline at end of file +
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_definitions.serializePayload.html b/docs/functions/_wormhole_foundation_sdk_definitions.serializePayload.html index 12a23a056..7ff1704bb 100644 --- a/docs/functions/_wormhole_foundation_sdk_definitions.serializePayload.html +++ b/docs/functions/_wormhole_foundation_sdk_definitions.serializePayload.html @@ -1,5 +1,5 @@ -serializePayload | Wormhole TS SDK - v0.7.0
      • serialize a VAA payload to a Uint8Array

        +serializePayload | Wormhole TS SDK - v1.13.2
        • serialize a VAA payload to a Uint8Array

          Type Parameters

          • PL extends PayloadLiteral

          Parameters

          • payloadLiteral: PL

            The payload literal to use for serialization

          • payload: Payload<PL>

            The dynamic properties to include in the payload

            -

          Returns Uint8Array

          a Uint8Array representation of the VAA Payload

          -
        \ No newline at end of file +

      Returns any

      a Uint8Array representation of the VAA Payload

      +
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_definitions.toNative.html b/docs/functions/_wormhole_foundation_sdk_definitions.toNative.html index 309e2ee62..376ff37d4 100644 --- a/docs/functions/_wormhole_foundation_sdk_definitions.toNative.html +++ b/docs/functions/_wormhole_foundation_sdk_definitions.toNative.html @@ -1,2 +1,2 @@ -toNative | Wormhole TS SDK - v0.7.0
      • Parse an address into its NativeAddress representation

        -

        Type Parameters

        • C extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Parameters

        Returns NativeAddress<C>

      \ No newline at end of file +toNative | Wormhole TS SDK - v1.13.2
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_solana.createPriorityFeeInstructions.html b/docs/functions/_wormhole_foundation_sdk_solana.createPriorityFeeInstructions.html index aa5060287..06f126a5a 100644 --- a/docs/functions/_wormhole_foundation_sdk_solana.createPriorityFeeInstructions.html +++ b/docs/functions/_wormhole_foundation_sdk_solana.createPriorityFeeInstructions.html @@ -1,8 +1,8 @@ -createPriorityFeeInstructions | Wormhole TS SDK - v0.7.0
      • Parameters

        • connection: Connection

          a Solana/web3.js Connection to the network

          +createPriorityFeeInstructions | Wormhole TS SDK - v1.13.2
          • Parameters

            • connection: Connection

              a Solana/web3.js Connection to the network

            • transaction: VersionedTransaction | Transaction

              the transaction to determine the compute budget for

            • feePercentile: number = DEFAULT_PRIORITY_FEE_PERCENTILE

              the percentile of recent fees to use

            • multiple: number = DEFAULT_PERCENTILE_MULTIPLE

              the multiple to apply to the percentile fee

            • minPriorityFee: number = DEFAULT_MIN_PRIORITY_FEE

              the minimum priority fee to use

            • maxPriorityFee: number = DEFAULT_MAX_PRIORITY_FEE

              the maximum priority fee to use

            Returns Promise<TransactionInstruction[]>

            an array of TransactionInstructions to set the compute budget and priority fee for the transaction

            -
          \ No newline at end of file +
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_solana.determineComputeBudget.html b/docs/functions/_wormhole_foundation_sdk_solana.determineComputeBudget.html index 31bc2effc..3820a1239 100644 --- a/docs/functions/_wormhole_foundation_sdk_solana.determineComputeBudget.html +++ b/docs/functions/_wormhole_foundation_sdk_solana.determineComputeBudget.html @@ -1,5 +1,5 @@ -determineComputeBudget | Wormhole TS SDK - v0.7.0
      • A helper function to determine the compute budget to use for a transaction

        +determineComputeBudget | Wormhole TS SDK - v1.13.2
        • A helper function to determine the compute budget to use for a transaction

          Parameters

          • connection: Connection

            Solana/web3.js Connection to the network

          • transaction: VersionedTransaction | Transaction

            The transaction to determine the compute budget for

          Returns Promise<number>

          the compute budget to use for the transaction

          -
        \ No newline at end of file +
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_solana.determinePriorityFee.html b/docs/functions/_wormhole_foundation_sdk_solana.determinePriorityFee.html index 08ce26ad1..859d1df04 100644 --- a/docs/functions/_wormhole_foundation_sdk_solana.determinePriorityFee.html +++ b/docs/functions/_wormhole_foundation_sdk_solana.determinePriorityFee.html @@ -1,4 +1,4 @@ -determinePriorityFee | Wormhole TS SDK - v0.7.0
      • A helper function to determine the priority fee to use for a transaction

        +determinePriorityFee | Wormhole TS SDK - v1.13.2
        • A helper function to determine the priority fee to use for a transaction

          Parameters

          • connection: Connection

            Solana/web3.js Connection to the network

          • transaction: VersionedTransaction | Transaction

            The transaction to determine the priority fee for

          • percentile: number = DEFAULT_PRIORITY_FEE_PERCENTILE

            The percentile of recent fees to use

            @@ -6,4 +6,4 @@
          • minPriorityFee: number = DEFAULT_MIN_PRIORITY_FEE

            The minimum priority fee to use

          • maxPriorityFee: number = DEFAULT_MAX_PRIORITY_FEE

            The maximum priority fee to use

          Returns Promise<number>

          the priority fee to use according to the recent transactions and the given parameters

          -
        \ No newline at end of file +
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_solana.utils.deriveAddress.html b/docs/functions/_wormhole_foundation_sdk_solana.utils.deriveAddress.html deleted file mode 100644 index 392a13f24..000000000 --- a/docs/functions/_wormhole_foundation_sdk_solana.utils.deriveAddress.html +++ /dev/null @@ -1,5 +0,0 @@ -deriveAddress | Wormhole TS SDK - v0.7.0
      • Find valid program address. See PublicKey.findProgramAddressSync for details.

        -

        Parameters

        • seeds: (Uint8Array | Buffer)[]

          seeds for PDA

          -
        • programId: PublicKeyInitData

          program address

          -

        Returns PublicKey

        PDA

        -
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_solana.utils.getAccountData.html b/docs/functions/_wormhole_foundation_sdk_solana.utils.getAccountData.html index a3905a08e..e3decc99f 100644 --- a/docs/functions/_wormhole_foundation_sdk_solana.utils.getAccountData.html +++ b/docs/functions/_wormhole_foundation_sdk_solana.utils.getAccountData.html @@ -1,4 +1,4 @@ -getAccountData | Wormhole TS SDK - v0.7.0
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_solana.utils.newAccountMeta.html b/docs/functions/_wormhole_foundation_sdk_solana.utils.newAccountMeta.html index 614b854e6..afe5c0004 100644 --- a/docs/functions/_wormhole_foundation_sdk_solana.utils.newAccountMeta.html +++ b/docs/functions/_wormhole_foundation_sdk_solana.utils.newAccountMeta.html @@ -1,5 +1,5 @@ -newAccountMeta | Wormhole TS SDK - v0.7.0
      • Factory to create AccountMeta with isWritable set to true

        +newAccountMeta | Wormhole TS SDK - v1.13.2
        • Factory to create AccountMeta with isWritable set to true

          Parameters

          • pubkey: PublicKeyInitData

            account address

          • isSigner: boolean

            whether account authorized transaction

          Returns AccountMeta

          metadata for writable account

          -
        \ No newline at end of file +
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_solana.utils.newReadOnlyAccountMeta.html b/docs/functions/_wormhole_foundation_sdk_solana.utils.newReadOnlyAccountMeta.html index a482215a6..de1c43fd6 100644 --- a/docs/functions/_wormhole_foundation_sdk_solana.utils.newReadOnlyAccountMeta.html +++ b/docs/functions/_wormhole_foundation_sdk_solana.utils.newReadOnlyAccountMeta.html @@ -1,5 +1,5 @@ -newReadOnlyAccountMeta | Wormhole TS SDK - v0.7.0
      • Factory to create AccountMeta with isWritable set to false

        +newReadOnlyAccountMeta | Wormhole TS SDK - v1.13.2
        • Factory to create AccountMeta with isWritable set to false

          Parameters

          • pubkey: PublicKeyInitData

            account address

          • isSigner: boolean

            whether account authorized transaction

          Returns AccountMeta

          metadata for read-only account

          -
        \ No newline at end of file +
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_solana_core.utils.createPostVaaInstruction.html b/docs/functions/_wormhole_foundation_sdk_solana_core.utils.createPostVaaInstruction.html index 1aed1a825..966612488 100644 --- a/docs/functions/_wormhole_foundation_sdk_solana_core.utils.createPostVaaInstruction.html +++ b/docs/functions/_wormhole_foundation_sdk_solana_core.utils.createPostVaaInstruction.html @@ -1,9 +1,9 @@ -createPostVaaInstruction | Wormhole TS SDK - v0.7.0
      • Make TransactionInstruction for post_vaa instruction.

        +createPostVaaInstruction | Wormhole TS SDK - v1.13.2
        • Make TransactionInstruction for post_vaa instruction.

          signatureSet is a @solana/web3.Keypair generated outside of this method, which was used to write signatures and the message hash to.

          https://github.com/certusone/wormhole/blob/main/solana/bridge/program/src/api/post_vaa.rs

          Parameters

          • connection: Connection
          • wormholeProgramId: PublicKeyInitData

            wormhole program address

          • payer: PublicKeyInitData

            transaction signer address

            -
          • vaa: VAA<PayloadLiteral>

            either signed VAA bytes or parsed VAA

            +
          • vaa: VAA

            either signed VAA bytes or parsed VAA

          • signatureSet: PublicKeyInitData

            key for signature set account

            -

          Returns TransactionInstruction

        \ No newline at end of file +

      Returns TransactionInstruction

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_solana_core.utils.createVerifySignaturesInstructions.html b/docs/functions/_wormhole_foundation_sdk_solana_core.utils.createVerifySignaturesInstructions.html index 81fc26229..52465803e 100644 --- a/docs/functions/_wormhole_foundation_sdk_solana_core.utils.createVerifySignaturesInstructions.html +++ b/docs/functions/_wormhole_foundation_sdk_solana_core.utils.createVerifySignaturesInstructions.html @@ -1,4 +1,4 @@ -createVerifySignaturesInstructions | Wormhole TS SDK - v0.7.0
      • Signatures are batched in groups of 7 due to instruction +createVerifySignaturesInstructions | Wormhole TS SDK - v1.13.2

        • Signatures are batched in groups of 7 due to instruction data limits. These signatures are passed through to the Secp256k1 program to verify that the guardian public keys can be recovered. This instruction is paired with verify_signatures to validate the @@ -8,6 +8,6 @@

          Parameters

          • connection: Connection

            Solana web3 connection

          • wormholeProgramId: PublicKeyInitData

            wormhole program address

          • payer: PublicKeyInitData

            transaction signer address

            -
          • vaa: VAA<any>

            either signed VAA bytes or parsed VAA

            +
          • vaa: VAA<any>

            either signed VAA bytes or parsed VAA

          • signatureSet: PublicKeyInitData

            address to account of verified signatures

            -
          • Optional commitment: Commitment

          Returns Promise<TransactionInstruction[]>

        \ No newline at end of file +
      • Optional commitment: Commitment

      Returns Promise<TransactionInstruction[]>

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_solana_core.utils.getPostMessageCpiAccounts.html b/docs/functions/_wormhole_foundation_sdk_solana_core.utils.getPostMessageCpiAccounts.html index 690150895..6639d6ace 100644 --- a/docs/functions/_wormhole_foundation_sdk_solana_core.utils.getPostMessageCpiAccounts.html +++ b/docs/functions/_wormhole_foundation_sdk_solana_core.utils.getPostMessageCpiAccounts.html @@ -1,3 +1,3 @@ -getPostMessageCpiAccounts | Wormhole TS SDK - v0.7.0
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_solana_core.utils.getWormholeDerivedAccounts.html b/docs/functions/_wormhole_foundation_sdk_solana_core.utils.getWormholeDerivedAccounts.html index 23c9df5e2..cb632e11b 100644 --- a/docs/functions/_wormhole_foundation_sdk_solana_core.utils.getWormholeDerivedAccounts.html +++ b/docs/functions/_wormhole_foundation_sdk_solana_core.utils.getWormholeDerivedAccounts.html @@ -1,2 +1,2 @@ -getWormholeDerivedAccounts | Wormhole TS SDK - v0.7.0
      \ No newline at end of file +getWormholeDerivedAccounts | Wormhole TS SDK - v1.13.2
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_solana_tokenbridge.getCompleteTransferNativeWithPayloadCpiAccounts.html b/docs/functions/_wormhole_foundation_sdk_solana_tokenbridge.getCompleteTransferNativeWithPayloadCpiAccounts.html index 93456acac..6fdd2dca9 100644 --- a/docs/functions/_wormhole_foundation_sdk_solana_tokenbridge.getCompleteTransferNativeWithPayloadCpiAccounts.html +++ b/docs/functions/_wormhole_foundation_sdk_solana_tokenbridge.getCompleteTransferNativeWithPayloadCpiAccounts.html @@ -1,6 +1,6 @@ -getCompleteTransferNativeWithPayloadCpiAccounts | Wormhole TS SDK - v0.7.0
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_solana_tokenbridge.getCompleteTransferWrappedWithPayloadCpiAccounts.html b/docs/functions/_wormhole_foundation_sdk_solana_tokenbridge.getCompleteTransferWrappedWithPayloadCpiAccounts.html index 7e0a83b95..662da636b 100644 --- a/docs/functions/_wormhole_foundation_sdk_solana_tokenbridge.getCompleteTransferWrappedWithPayloadCpiAccounts.html +++ b/docs/functions/_wormhole_foundation_sdk_solana_tokenbridge.getCompleteTransferWrappedWithPayloadCpiAccounts.html @@ -1,6 +1,6 @@ -getCompleteTransferWrappedWithPayloadCpiAccounts | Wormhole TS SDK - v0.7.0
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_solana_tokenbridge.getTokenBridgeDerivedAccounts.html b/docs/functions/_wormhole_foundation_sdk_solana_tokenbridge.getTokenBridgeDerivedAccounts.html index e7fe7dfd7..f8a3f1a46 100644 --- a/docs/functions/_wormhole_foundation_sdk_solana_tokenbridge.getTokenBridgeDerivedAccounts.html +++ b/docs/functions/_wormhole_foundation_sdk_solana_tokenbridge.getTokenBridgeDerivedAccounts.html @@ -1,2 +1,2 @@ -getTokenBridgeDerivedAccounts | Wormhole TS SDK - v0.7.0
      \ No newline at end of file +getTokenBridgeDerivedAccounts | Wormhole TS SDK - v1.13.2
      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_solana_tokenbridge.getTransferNativeWithPayloadCpiAccounts.html b/docs/functions/_wormhole_foundation_sdk_solana_tokenbridge.getTransferNativeWithPayloadCpiAccounts.html index e521121a5..60a4793f8 100644 --- a/docs/functions/_wormhole_foundation_sdk_solana_tokenbridge.getTransferNativeWithPayloadCpiAccounts.html +++ b/docs/functions/_wormhole_foundation_sdk_solana_tokenbridge.getTransferNativeWithPayloadCpiAccounts.html @@ -1,3 +1,3 @@ -getTransferNativeWithPayloadCpiAccounts | Wormhole TS SDK - v0.7.0
      • Generate accounts needed to perform transfer_wrapped_with_payload instruction +getTransferNativeWithPayloadCpiAccounts | Wormhole TS SDK - v1.13.2

        • Generate accounts needed to perform transfer_wrapped_with_payload instruction as cross-program invocation.

          -

          Parameters

          • cpiProgramId: PublicKeyInitData
          • tokenBridgeProgramId: PublicKeyInitData
          • wormholeProgramId: PublicKeyInitData
          • payer: PublicKeyInitData
          • message: PublicKeyInitData
          • fromTokenAccount: PublicKeyInitData
          • mint: PublicKeyInitData

          Returns TransferNativeWithPayloadCpiAccounts

        \ No newline at end of file +

        Parameters

        • cpiProgramId: PublicKeyInitData
        • tokenBridgeProgramId: PublicKeyInitData
        • wormholeProgramId: PublicKeyInitData
        • payer: PublicKeyInitData
        • message: PublicKeyInitData
        • fromTokenAccount: PublicKeyInitData
        • mint: PublicKeyInitData

        Returns TransferNativeWithPayloadCpiAccounts

      \ No newline at end of file diff --git a/docs/functions/_wormhole_foundation_sdk_solana_tokenbridge.getTransferWrappedWithPayloadCpiAccounts.html b/docs/functions/_wormhole_foundation_sdk_solana_tokenbridge.getTransferWrappedWithPayloadCpiAccounts.html index 092cd2132..29d25e604 100644 --- a/docs/functions/_wormhole_foundation_sdk_solana_tokenbridge.getTransferWrappedWithPayloadCpiAccounts.html +++ b/docs/functions/_wormhole_foundation_sdk_solana_tokenbridge.getTransferWrappedWithPayloadCpiAccounts.html @@ -1,3 +1,3 @@ -getTransferWrappedWithPayloadCpiAccounts | Wormhole TS SDK - v0.7.0
      • Generate accounts needed to perform transfer_wrapped_with_payload instruction +getTransferWrappedWithPayloadCpiAccounts | Wormhole TS SDK - v1.13.2

        • Generate accounts needed to perform transfer_wrapped_with_payload instruction as cross-program invocation.

          -

          Parameters

          • cpiProgramId: PublicKeyInitData
          • tokenBridgeProgramId: PublicKeyInitData
          • wormholeProgramId: PublicKeyInitData
          • payer: PublicKeyInitData
          • message: PublicKeyInitData
          • fromTokenAccount: PublicKeyInitData
          • tokenChain: number
          • tokenAddress: Uint8Array | Buffer
          • Optional fromTokenAccountOwner: PublicKeyInitData

          Returns TransferWrappedWithPayloadCpiAccounts

        \ No newline at end of file +

        Parameters

        • cpiProgramId: PublicKeyInitData
        • tokenBridgeProgramId: PublicKeyInitData
        • wormholeProgramId: PublicKeyInitData
        • payer: PublicKeyInitData
        • message: PublicKeyInitData
        • fromTokenAccount: PublicKeyInitData
        • tokenChain: number
        • tokenAddress: Uint8Array | Buffer
        • Optional fromTokenAccountOwner: PublicKeyInitData

        Returns TransferWrappedWithPayloadCpiAccounts

      \ No newline at end of file diff --git a/docs/hierarchy.html b/docs/hierarchy.html index 9f7f8e66e..d00d8c928 100644 --- a/docs/hierarchy.html +++ b/docs/hierarchy.html @@ -1 +1 @@ -Wormhole TS SDK - v0.7.0
      \ No newline at end of file +Wormhole TS SDK - v1.13.2
      \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index a91e80121..8484e94b6 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,5 +1,5 @@ -Wormhole TS SDK - v0.7.0

      Wormhole TS SDK - v0.7.0

      Wormhole TS SDK

      The Wormhole Typescript SDK is useful for interacting with the chains Wormhole supports and the protocols built on top of Wormhole.

      -

      Warning

      :warning: This package is a Work in Progress so the interface may change and there are likely bugs. Please report any issues you find. :warning:

      +Wormhole TS SDK - v1.13.2

      Wormhole TS SDK - v1.13.2

      Wormhole TypeScript SDK

      npm version

      +

      The Wormhole Typescript SDK is useful for interacting with the chains Wormhole supports and the protocols built on top of Wormhole.

      Installation

      Basic

      Install the (meta) package

      npm install @wormhole-foundation/sdk
       
      @@ -7,7 +7,7 @@

      Advanced

      Alternatively, for an advanced user, install a specific set of the packages published.

      # constants
      npm install @wormhole-foundation/sdk-base
      # contract interfaces, basic types, vaa payload definitions
      npm install @wormhole-foundation/sdk-definitions
      # Evm specific utilities
      npm install @wormhole-foundation/sdk-evm
      # Evm TokenBridge protocol client
      npm install @wormhole-foundation/sdk-evm-tokenbridge
      -

      Usage

      Getting started is simple, just import Wormhole and the Platform modules you wish to support

      +

      Usage

      Getting started is simple, just import the 'meta' Wormhole package, that makes sure all Platform modules are installed.

      import { wormhole } from "@wormhole-foundation/sdk";
       
      @@ -31,7 +31,7 @@
        // Get the VAA from the wormhole message id
      const vaa = await wh.getVaa(
      // Wormhole Message ID
      whm!,
      // Protocol:Payload name to use for decoding the VAA payload
      "TokenBridge:Transfer",
      // Timeout in milliseconds, depending on the chain and network, the VAA may take some time to be available
      60_000,
      );
      -

      See example here

      +

      See example here

      @@ -44,7 +44,7 @@

      Concepts

      Understanding several higher level concepts of the SDK will help in using it effectively.

      Platforms

      Every chain is its own special snowflake but many of them share similar functionality. The Platform modules provide a consistent interface for interacting with the chains that share a platform.

      -

      Each platform can be installed separately so that dependencies can stay as slim as possible.

      +

      Each platform can be installed separately so that dependencies can stay as slim as possible.
      See all supported platforms here

      Chain Context

      The Wormhole class provides a getChain method that returns a ChainContext object for a given chain. This object provides access to the chain specific methods and utilities. Much of the functionality in the ChainContext is provided by the Platform methods but the specific chain may have overridden methods.

      The ChainContext object is also responsible for holding a cached rpc client and protocol clients.

      // Get the chain context for the source and destination chains
      // This is useful to grab direct clients for the protocols
      const srcChain = wh.getChain(senderAddress.chain);
      const dstChain = wh.getChain(receiverAddress.chain);

      const tb = await srcChain.getTokenBridge(); // => TokenBridge<'Evm'>
      srcChain.getRpcClient(); // => RpcClient<'Evm'> @@ -60,13 +60,36 @@
      // A Signer is an interface that must be provided to certain methods
      // in the SDK to sign transactions. It can be either a SignOnlySigner
      // or a SignAndSendSigner depending on circumstances.
      // A Signer can be implemented by wrapping an existing offline wallet
      // or a web wallet
      export type Signer = SignOnlySigner | SignAndSendSigner;

      // A SignOnlySender is for situations where the signer is not
      // connected to the network or does not wish to broadcast the
      // transactions themselves
      export interface SignOnlySigner {
      chain(): ChainName;
      address(): string;
      // Accept an array of unsigned transactions and return
      // an array of signed and serialized transactions.
      // The transactions may be inspected or altered before
      // signing.
      // Note: The serialization is chain specific, if in doubt,
      // see the example implementations linked below
      sign(tx: UnsignedTransaction[]): Promise<SignedTx[]>;
      }

      // A SignAndSendSigner is for situations where the signer is
      // connected to the network and wishes to broadcast the
      // transactions themselves
      export interface SignAndSendSigner {
      chain(): ChainName;
      address(): string;
      // Accept an array of unsigned transactions and return
      // an array of transaction ids in the same order as the
      // UnsignedTransactions array.
      signAndSend(tx: UnsignedTransaction[]): Promise<TxHash[]>;
      }

      See the testing signers (Evm, Solana, ...) for an example of how to implement a signer for a specific chain or platform.

      +

      VAAs

      Working with VAAs directly may be necessary. The SDK includes an entire layouting package to define the structure of a VAA payload and provides the ability to easily serialize and deserialize the VAAs or VAA payloads.

      +

      Using Uint8Array as the paylaod type will always work:

      + +
        // Create a fake vaa and serialize it to bytes
      // the first argument to `createVAA` describes the payload type
      // in this case, just a Uint8Array of bytes
      const fakeVaaBytes = serialize(
      createVAA("Uint8Array", {
      guardianSet: 0,
      timestamp: 0,
      nonce: 0,
      emitterChain: "Solana",
      emitterAddress: new UniversalAddress(new Uint8Array(32)),
      sequence: 0n,
      consistencyLevel: 0,
      signatures: [],
      payload: encoding.bytes.encode("hi"),
      }),
      );
      // Deserialize the VAA back into a data structure, in this case
      // decoding the payload back into bytes.
      // Using Uint8Array will always work but you can use a more specific payload layout type
      console.log(deserialize("Uint8Array", fakeVaaBytes)); +
      +

      See example here

      + + +

      But more specific types can be used

      + +
        // Create a token bridge VAA and serialize it
      // The payload type argument here is "TokenBridge:Transfer"
      // which is defined in the the TokenBridge protocol definition
      const tokenBridgeVaaBytes = serialize(
      createVAA("TokenBridge:Transfer", {
      guardianSet: 0,
      timestamp: 0,
      nonce: 0,
      emitterChain: "Solana",
      emitterAddress: new UniversalAddress(new Uint8Array(32)),
      sequence: 0n,
      consistencyLevel: 0,
      signatures: [],
      payload: {
      fee: 0n,
      token: {
      amount: 0n,
      address: new UniversalAddress(new Uint8Array(32)),
      chain: "Solana",
      },
      to: {
      chain: "Ethereum",
      address: new UniversalAddress(new Uint8Array(32)),
      },
      },
      }),
      );
      // Although we know the payload type is "TokenBridge:Transfer",
      // we can still deserialize it as a Uint8Array
      console.log(deserialize("Uint8Array", tokenBridgeVaaBytes));
      // Or use the correct payload type to get a more specific data structure
      console.log(deserialize("TokenBridge:Transfer", tokenBridgeVaaBytes)); +
      +

      See example here

      + + +

      Or define your own

      + +

      // First define a custom payload layout
      const customPayloadLayout = [
      // 2 byte integer
      { name: "bar", binary: "uint", size: 2 },
      // arbitrary bytes, note this will take the rest of the payload
      { name: "foo", binary: "bytes" },
      ] as const satisfies Layout;

      // Now serialize a VAA with the custom payload layout
      const customVaaBytes = serialize(
      createVAA("Uint8Array", {
      guardianSet: 0,
      timestamp: 0,
      nonce: 0,
      emitterChain: "Solana",
      emitterAddress: new UniversalAddress(new Uint8Array(32)),
      sequence: 0n,
      consistencyLevel: 0,
      signatures: [],
      // Using `serializeLayout` with the custom layout we created above
      payload: serializeLayout(customPayloadLayout, {
      bar: 42,
      foo: new Uint8Array([1, 2, 3]),
      }),
      }),
      );
      // Deserialize the VAA to get the custom payload
      const vaa = deserialize("Uint8Array", customVaaBytes);
      console.log(encoding.hex.encode(vaa.payload));
      console.log(deserializeLayout(customPayloadLayout, vaa.payload)); +
      +

      See example here

      + + +

      Protocols

      While Wormhole itself is a Generic Message Passing protocol, a number of protocols have been built on top of it to provide specific functionality.

      Each Protocol, if available, will have a Platform specific implementation. These implementations provide methods to generate transactions or read state from the contract on-chain.

      Wormhole Core

      The protocol that underlies all Wormhole activity is the Core protocol. This protocol is responsible for emitting the message containing the information necessary to perform bridging including Emitter address, the Sequence number for the message and the Payload of the message itself.

      -
        const wh = await wormhole("Testnet", [solana]);

      const chain = wh.getChain("Solana");
      const { signer, address } = await getSigner(chain);

      // Get a reference to the core messaging bridge
      const coreBridge = await chain.getWormholeCore();

      // Generate transactions, sign and send them
      const publishTxs = coreBridge.publishMessage(
      // Address of sender (emitter in VAA)
      address.address,
      // Message to send (payload in VAA)
      encoding.bytes.encode("lol"),
      // Nonce (user defined, no requirement for a specific value, useful to provide a unique identifier for the message)
      0,
      // ConsistencyLevel (ie finality of the message, see wormhole docs for more)
      0,
      );
      // Send the transaction(s) to publish the message
      const txids = await signSendWait(chain, publishTxs, signer);

      // Take the last txid in case multiple were sent
      // the last one should be the one containing the relevant
      // event or log info
      const txid = txids[txids.length - 1];

      // Grab the wormhole message id from the transaction logs or storage
      const [whm] = await chain.parseTransaction(txid!.txid);

      // Or pull the full message content as an Unsigned VAA
      // const msgs = await coreBridge.parseMessages(txid!.txid);
      // console.log(msgs);

      // Wait for the vaa to be signed and available with a timeout
      const vaa = await wh.getVaa(whm!, "Uint8Array", 60_000);
      console.log(vaa);
      // Also possible to search by txid but it takes longer to show up
      // console.log(await wh.getVaaByTxHash(txid!.txid, "Uint8Array"));

      const verifyTxs = coreBridge.verifyMessage(address.address, vaa!);
      console.log(await signSendWait(chain, verifyTxs, signer)); +
        const wh = await wormhole("Testnet", [solana, evm]);

      const chain = wh.getChain("Avalanche");
      const { signer, address } = await getSigner(chain);

      // Get a reference to the core messaging bridge
      const coreBridge = await chain.getWormholeCore();

      // Generate transactions, sign and send them
      const publishTxs = coreBridge.publishMessage(
      // Address of sender (emitter in VAA)
      address.address,
      // Message to send (payload in VAA)
      encoding.bytes.encode("lol"),
      // Nonce (user defined, no requirement for a specific value, useful to provide a unique identifier for the message)
      0,
      // ConsistencyLevel (ie finality of the message, see wormhole docs for more)
      0,
      );
      // Send the transaction(s) to publish the message
      const txids = await signSendWait(chain, publishTxs, signer);

      // Take the last txid in case multiple were sent
      // the last one should be the one containing the relevant
      // event or log info
      const txid = txids[txids.length - 1];

      // Grab the wormhole message id from the transaction logs or storage
      const [whm] = await chain.parseTransaction(txid!.txid);

      // Or pull the full message content as an Unsigned VAA
      // console.log(await coreBridge.parseMessages(txid!.txid));

      // Wait for the vaa to be signed and available with a timeout
      const vaa = await wh.getVaa(whm!, "Uint8Array", 60_000);
      console.log(vaa);

      // Also possible to search by txid but it takes longer to show up
      // console.log(await wh.getVaaByTxHash(txid!.txid, "Uint8Array"));

      // Note: calling verifyMessage manually is typically not a useful thing to do
      // as the VAA is typically submitted to the counterpart contract for
      // a given protocol and the counterpart contract will verify the VAA
      // this is simply for demo purposes
      const verifyTxs = coreBridge.verifyMessage(address.address, vaa!);
      console.log(await signSendWait(chain, verifyTxs, signer));
      -

      See example here

      +

      See example here

      Within the payload is the information necessary to perform whatever action is required based on the Protocol that uses it.

      @@ -90,7 +113,7 @@

      Internally, this uses the TokenBridge protocol client to transfer tokens. The TokenBridge protocol, like other Protocols, provides a consistent set of methods across all chains to generate a set of transactions for that specific chain.

      Native USDC Transfers

      We can also transfer native USDC using Circle's CCTP

      -
        const xfer = await wh.circleTransfer(
      // amount as bigint (base units)
      req.amount,
      // sender chain/address
      src.address,
      // receiver chain/address
      dst.address,
      // automatic delivery boolean
      req.automatic,
      // payload to be sent with the transfer
      undefined,
      // If automatic, native gas can be requested to be sent to the receiver
      req.nativeGas,
      );

      // Note, if the transfer is requested to be Automatic, a fee for performing the relay
      // will be present in the quote. The fee comes out of the amount requested to be sent.
      // If the user wants to receive 1.0 on the destination, the amount to send should be 1.0 + fee.
      // The same applies for native gas dropoff
      const quote = await CircleTransfer.quoteTransfer(src.chain, dst.chain, xfer.transfer);
      console.log("Quote", quote);

      console.log("Starting Transfer");
      const srcTxids = await xfer.initiateTransfer(src.signer);
      console.log(`Started Transfer: `, srcTxids);

      if (req.automatic) {
      const relayStatus = await waitForRelay(srcTxids[srcTxids.length - 1]!);
      console.log(`Finished relay: `, relayStatus);
      return;
      }

      // Note: Depending on chain finality, this timeout may need to be increased.
      // See https://developers.circle.com/stablecoin/docs/cctp-technical-reference#mainnet for more
      console.log("Waiting for Attestation");
      const attestIds = await xfer.fetchAttestation(60_000);
      console.log(`Got Attestation: `, attestIds);

      console.log("Completing Transfer");
      const dstTxids = await xfer.completeTransfer(dst.signer);
      console.log(`Completed Transfer: `, dstTxids); +
        const xfer = await wh.circleTransfer(
      // amount as bigint (base units)
      req.amount,
      // sender chain/address
      src.address,
      // receiver chain/address
      dst.address,
      // automatic delivery boolean
      req.automatic,
      // payload to be sent with the transfer
      undefined,
      // If automatic, native gas can be requested to be sent to the receiver
      req.nativeGas,
      );

      // Note, if the transfer is requested to be Automatic, a fee for performing the relay
      // will be present in the quote. The fee comes out of the amount requested to be sent.
      // If the user wants to receive 1.0 on the destination, the amount to send should be 1.0 + fee.
      // The same applies for native gas dropoff
      const quote = await CircleTransfer.quoteTransfer(src.chain, dst.chain, xfer.transfer);
      console.log("Quote", quote);

      console.log("Starting Transfer");
      const srcTxids = await xfer.initiateTransfer(src.signer);
      console.log(`Started Transfer: `, srcTxids);

      // Note: Depending on chain finality, this timeout may need to be increased.
      // See https://developers.circle.com/stablecoin/docs/cctp-technical-reference#mainnet for more
      console.log("Waiting for Attestation");
      const attestIds = await xfer.fetchAttestation(60_000);
      console.log(`Got Attestation: `, attestIds);

      console.log("Completing Transfer");
      const dstTxids = await xfer.completeTransfer(dst.signer);
      console.log(`Completed Transfer: `, dstTxids);

      See example here

      @@ -132,39 +155,39 @@
        // create new resolver, passing the set of routes to consider
      const resolver = wh.resolver([
      routes.TokenBridgeRoute, // manual token bridge
      routes.AutomaticTokenBridgeRoute, // automatic token bridge
      routes.CCTPRoute, // manual CCTP
      routes.AutomaticCCTPRoute, // automatic CCTP
      routes.AutomaticPorticoRoute, // Native eth transfers
      ]);
      -

      See example here

      +

      See example here

      Once created, the resolver can be used to provide a list of input and possible output tokens.

      -
        // what tokens are available on the source chain?
      const srcTokens = await resolver.supportedSourceTokens(sendChain);
      console.log(
      "Allowed source tokens: ",
      srcTokens.map((t) => canonicalAddress(t)),
      );

      // Grab the first one for the example
      // const sendToken = srcTokens[0]!;
      const sendToken = Wormhole.tokenId(sendChain.chain, "native");

      // given the send token, what can we possibly get on the destination chain?
      const destTokens = await resolver.supportedDestinationTokens(sendToken, sendChain, destChain);
      console.log(
      "For the given source token and routes configured, the following tokens may be receivable: ",
      destTokens.map((t) => canonicalAddress(t)),
      );
      //grab the first one for the example
      const destinationToken = destTokens[0]!; +
        const sendToken = Wormhole.tokenId(sendChain.chain, "native");

      // given the send token, what can we possibly get on the destination chain?
      const destTokens = await resolver.supportedDestinationTokens(sendToken, sendChain, destChain);
      console.log(
      "For the given source token and routes configured, the following tokens may be receivable: ",
      destTokens.map((t) => canonicalAddress(t)),
      );
      //grab the first one for the example
      const destinationToken = destTokens[0]!;
      -

      See example here

      +

      See example here

      Once the tokens are selected, a RouteTransferRequest may be created to provide a list of routes that can fulfil the request

      -
        // creating a transfer request fetches token details
      // since all routes will need to know about the tokens
      const tr = await routes.RouteTransferRequest.create(wh, {
      from: sender.address,
      to: receiver.address,
      source: sendToken,
      destination: destinationToken,
      });

      // resolve the transfer request to a set of routes that can perform it
      const foundRoutes = await resolver.findRoutes(tr);
      console.log("For the transfer parameters, we found these routes: ", foundRoutes); +
        // creating a transfer request fetches token details
      // since all routes will need to know about the tokens
      const tr = await routes.RouteTransferRequest.create(wh, {
      source: sendToken,
      destination: destinationToken,
      });

      // resolve the transfer request to a set of routes that can perform it
      const foundRoutes = await resolver.findRoutes(tr);
      console.log("For the transfer parameters, we found these routes: ", foundRoutes);
      -

      See example here

      +

      See example here

      Choosing the best route is currently left to the developer but strategies might include sorting by output amount or expected time to complete the transfer (no estimate currently provided).

      After choosing the best route, extra parameters like amount, nativeGasDropoff, and slippage can be passed, depending on the specific route selected and a quote can be retrieved with the validated request.

      -
        console.log("This route offers the following default options", bestRoute.getDefaultOptions());
      // Specify the amount as a decimal string
      const amt = "0.001";
      // Create the transfer params for this request
      const transferParams = { amount: amt, options: { nativeGas: 0 } };

      // validate the transfer params passed, this returns a new type of ValidatedTransferParams
      // which (believe it or not) is a validated version of the input params
      // this new var must be passed to the next step, quote
      const validated = await bestRoute.validate(transferParams);
      if (!validated.valid) throw validated.error;
      console.log("Validated parameters: ", validated.params);

      // get a quote for the transfer, this too returns a new type that must
      // be passed to the next step, execute (if you like the quote)
      const quote = await bestRoute.quote(validated.params);
      if (!quote.success) throw quote.error;
      console.log("Best route quote: ", quote); +
        console.log("This route offers the following default options", bestRoute.getDefaultOptions());
      // Specify the amount as a decimal string
      const amt = "0.001";
      // Create the transfer params for this request
      const transferParams = { amount: amt, options: { nativeGas: 0 } };

      // validate the transfer params passed, this returns a new type of ValidatedTransferParams
      // which (believe it or not) is a validated version of the input params
      // this new var must be passed to the next step, quote
      const validated = await bestRoute.validate(tr, transferParams);
      if (!validated.valid) throw validated.error;
      console.log("Validated parameters: ", validated.params);

      // get a quote for the transfer, this too returns a new type that must
      // be passed to the next step, execute (if you like the quote)
      const quote = await bestRoute.quote(tr, validated.params);
      if (!quote.success) throw quote.error;
      console.log("Best route quote: ", quote);
      -

      See example here

      +

      See example here

      Finally, assuming the quote looks good, the route can initiate the request with the quote and the signer

      -
          // Now the transfer may be initiated
      // A receipt will be returned, guess what you gotta do with that?
      const receipt = await bestRoute.initiate(sender.signer, quote);
      console.log("Initiated transfer with receipt: ", receipt); +
          // Now the transfer may be initiated
      // A receipt will be returned, guess what you gotta do with that?
      const receipt = await bestRoute.initiate(tr, sender.signer, quote, receiver.address);
      console.log("Initiated transfer with receipt: ", receipt);
      -

      See example here

      +

      See example here

      Note: See the router.ts example in the examples directory for a full working example

      See also

      The tsdoc is available here

      -
      \ No newline at end of file +
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk.index.Address.html b/docs/interfaces/_wormhole_foundation_sdk.index.Address.html deleted file mode 100644 index 1058824e7..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk.index.Address.html +++ /dev/null @@ -1,15 +0,0 @@ -Address | Wormhole TS SDK - v0.7.0

      Address is the base interface all address types must implement.

      -

      Represents a parsed address

      -
      interface Address {
          toString(): string;
          toUint8Array(): Uint8Array;
          toUniversalAddress(): UniversalAddress;
          unwrap(): unknown;
      }

      Implemented by

      Methods

      • Return the address in its canonical string format

        -

        Returns string

      • Return the bytes for the address

        -

        Returns Uint8Array

      • Return an Address that has been converted to its Universal representation

        -

        Returns UniversalAddress

      • unwrap returns the underlying native address type, e.g.: -a Uint8Array for UniversalAddress -a checksum hex string string for EVM(ethers) -a PublicKey for Solana -etc.

        -

        Returns unknown

      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk.index.AutomaticCircleBridge-1.html b/docs/interfaces/_wormhole_foundation_sdk.index.AutomaticCircleBridge-1.html deleted file mode 100644 index c85836ae4..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk.index.AutomaticCircleBridge-1.html +++ /dev/null @@ -1,12 +0,0 @@ -AutomaticCircleBridge | Wormhole TS SDK - v0.7.0

      AutomaticCircleBridge protocol definition, providing a consistent client -interface for the CircleBridge protocol with Automatic delivery.

      -
      interface AutomaticCircleBridge<N, C> {
          getRelayerFee(destination): Promise<bigint>;
          transfer(sender, recipient, amount, nativeGas?): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
      }

      Type Parameters

      • N extends Network = Network
      • C extends Chain = Chain

      Methods

      • Get the fee required by the relayer to cover the costs of redemption on the destination chain

        -

        Parameters

        • destination: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

          The destination chain for which to get a fee quote

          -

        Returns Promise<bigint>

        the fee required by the relayer to cover the costs of redemption on the destination chain

        -
      • Parameters

        • sender: AccountAddress<C>

          address of the transaction sender

          -
        • recipient: ChainAddress

          address of the destination chain recipient

          -
        • amount: bigint

          how much to send, in base units

          -
        • Optional nativeGas: bigint

          if set, determines how much native gas should be received by the recipient

          -

        Returns AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>

      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk.index.AutomaticTokenBridge-1.html b/docs/interfaces/_wormhole_foundation_sdk.index.AutomaticTokenBridge-1.html deleted file mode 100644 index bc0b8b70b..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk.index.AutomaticTokenBridge-1.html +++ /dev/null @@ -1,18 +0,0 @@ -AutomaticTokenBridge | Wormhole TS SDK - v0.7.0

      AutomaticTokenBridge provides a consistent interface to the - TokenBridge with Automatic redemption on the destination chain

      -
      interface AutomaticTokenBridge<N, C> {
          getRegisteredTokens(): Promise<GetNativeAddress<ChainToPlatform<C>>[]>;
          getRelayerFee(destination, token): Promise<bigint>;
          isRegisteredToken(token): Promise<boolean>;
          maxSwapAmount(token): Promise<bigint>;
          nativeTokenAmount(token, amount): Promise<bigint>;
          redeem(sender, vaa): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
          transfer(sender, recipient, token, amount, nativeGas?): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
      }

      Type Parameters

      • N extends Network = Network
      • C extends Chain = Chain

      Methods

      • Get the list of tokens that are registered and acceptable to send

        -

        Returns Promise<GetNativeAddress<ChainToPlatform<C>>[]>

      • Fee charged to relay

        -

        Parameters

        • destination: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"
        • token: TokenAddress<C>

        Returns Promise<bigint>

      • Check if a given token is in the registered token list

        -

        Parameters

        Returns Promise<boolean>

      • Maximum amount of sending tokens that can be swapped for native tokens

        -

        Parameters

        Returns Promise<bigint>

      • Amount of native tokens a user would receive by swapping x amount of sending tokens

        -

        Parameters

        Returns Promise<bigint>

      • Manually redeem a transfer, should not be used unless -necessary to take over some stalled transfer

        -

        Parameters

        Returns AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>

      • Initiate the transfer over the automatic bridge

        -

        Parameters

        Returns AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>

      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk.index.CircleBridge-1.html b/docs/interfaces/_wormhole_foundation_sdk.index.CircleBridge-1.html deleted file mode 100644 index 1b591d2c9..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk.index.CircleBridge-1.html +++ /dev/null @@ -1,22 +0,0 @@ -CircleBridge | Wormhole TS SDK - v0.7.0

      CircleBridge protocol definition, providing a consistent client -interface to the CircleBridge protocol (CCTP).

      -

      Find the source contracts here: $https://github.com/circlefin/evm-cctp-contracts

      -
      interface CircleBridge<N, C> {
          isTransferCompleted(message): Promise<boolean>;
          parseTransactionDetails(txid): Promise<CircleTransferMessage>;
          redeem(sender, message, attestation): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
          transfer(sender, recipient, amount): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
      }

      Type Parameters

      • N extends Network = Network
      • C extends Chain = Chain

      Methods

      • Grabs the logs from the transaction and parse the circle message

        -

        Parameters

        • txid: string

          The transaction hash from which to parse a message

          -

        Returns Promise<CircleTransferMessage>

        The parsed CircleTransferMessage

        -
      • Initiate a transfer through the Circle CCTP Bridge

        -

        Parameters

        • sender: AccountAddress<C>

          the sender of the transaction

          -
        • recipient: ChainAddress

          the chain and address of the recipient of the transfer

          -
        • amount: bigint

          how much to send in base units

          -

        Returns AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>

      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk.index.GatewayMsg.html b/docs/interfaces/_wormhole_foundation_sdk.index.GatewayMsg.html deleted file mode 100644 index ee0a221fd..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk.index.GatewayMsg.html +++ /dev/null @@ -1,3 +0,0 @@ -GatewayMsg | Wormhole TS SDK - v0.7.0

      Holds the data of a gateway message without -special keys required by cosmos contracts

      -
      interface GatewayMsg {}
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk.index.IbcBridge.html b/docs/interfaces/_wormhole_foundation_sdk.index.IbcBridge.html deleted file mode 100644 index 28ace29c7..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk.index.IbcBridge.html +++ /dev/null @@ -1,18 +0,0 @@ -IbcBridge | Wormhole TS SDK - v0.7.0

      IbcBridge provides an interface to use the IBC token transfer protocol

      -

      See more here https://tutorials.cosmos.network/academy/3-ibc/7-token-transfer.html

      -
      interface IbcBridge<N, C> {
          fetchTransferChannel(chain): Promise<null | string>;
          getTransferChannel(chain): null | string;
          lookupMessageFromIbcMsgId(msg): Promise<null | WormholeMessageId>;
          lookupTransferFromIbcMsgId(msg): Promise<IbcTransferInfo[]>;
          lookupTransferFromMsg(payload): Promise<IbcTransferInfo[]>;
          lookupTransferFromTx(txid): Promise<IbcTransferInfo[]>;
          transfer(sender, recipient, token, amount, payload?): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
      }

      Type Parameters

      • N extends Network = Network
      • C extends Chain = Chain

      Methods

      • Get the transfer channel for a remote chain, pulled from contract

        -

        Parameters

        • chain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Returns Promise<null | string>

      • Get the transfer channel for a remote chain, pulled from local cache

        -

        Parameters

        • chain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Returns null | string

      • Find the wormhole emitted message id for a given IBC transfer -if it does not exist, this will return null

        -

        Parameters

        Returns Promise<null | WormholeMessageId>

      • Find the IBCTransferInfo from a message id

        -

        Parameters

        Returns Promise<IbcTransferInfo[]>

      • Find the IBCTransferInfo from a gateway transfer message

        -

        Parameters

        • payload: GatewayTransferMsg | GatewayTransferWithPayloadMsg

        Returns Promise<IbcTransferInfo[]>

      • Find the IBCTransferInfo given a transaction id

        -

        Parameters

        • txid: string

        Returns Promise<IbcTransferInfo[]>

      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk.index.IbcTransferData.html b/docs/interfaces/_wormhole_foundation_sdk.index.IbcTransferData.html deleted file mode 100644 index 5bf21c7a4..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk.index.IbcTransferData.html +++ /dev/null @@ -1,2 +0,0 @@ -IbcTransferData | Wormhole TS SDK - v0.7.0

      The expected payload sent as a string over IBC

      -
      interface IbcTransferData {}
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk.index.PlatformDefinition.html b/docs/interfaces/_wormhole_foundation_sdk.index.PlatformDefinition.html index 3c7f1e704..7a1e0464d 100644 --- a/docs/interfaces/_wormhole_foundation_sdk.index.PlatformDefinition.html +++ b/docs/interfaces/_wormhole_foundation_sdk.index.PlatformDefinition.html @@ -1,13 +1,13 @@ -PlatformDefinition | Wormhole TS SDK - v0.7.0

      PlatformDefinition is a type that contains the types necessary to +PlatformDefinition | Wormhole TS SDK - v1.13.2

      PlatformDefinition is a type that contains the types necessary to interact with the platform or any of the enabled chains that run on the it.

      -
      interface PlatformDefinition<P> {
          Address: NativeAddressCtr;
          Platform: PlatformUtils<P>;
          getChain: (<N, C>(network, chain, overrides?) => ChainContext<N, C, P>);
          getSigner: ((rpc, key, ...args) => Promise<Signer>);
          protocols: ProtocolLoaders;
      }

      Type Parameters

      • P extends Platform

      Properties

      interface PlatformDefinition<P> {
          Address: NativeAddressCtr;
          Platform: PlatformUtils<P>;
          getChain: (<N, C>(network, chain, overrides?) => ChainContext<N, C, P>);
          getSigner: ((rpc, key, ...args) => Promise<Signer>);
          protocols: ProtocolLoaders;
      }

      Type Parameters

      • P extends Platform

      Properties

      Address: NativeAddressCtr

      Address implements the logic to properly parse or format an address for this Platform

      -
      Platform: PlatformUtils<P>

      Platform implements PlatformUtils and can be used as a constructor to create a configured PlatformContext

      -
      getChain: (<N, C>(network, chain, overrides?) => ChainContext<N, C, P>)

      creates a new ChainContext object for a specific Network and Chain

      -

      Type declaration

        • <N, C>(network, chain, overrides?): ChainContext<N, C, P>
        • Type Parameters

          • N extends "Mainnet" | "Testnet" | "Devnet"
          • C extends "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

          Parameters

          Returns ChainContext<N, C, P>

      getSigner: ((rpc, key, ...args) => Promise<Signer>)

      Provides a local signer that implements the Signer interface for the platform

      -

      Type declaration

        • (rpc, key, ...args): Promise<Signer>
        • Parameters

          • rpc: any
          • key: string
          • Rest ...args: any

          Returns Promise<Signer>

      protocols: ProtocolLoaders

      A map of ProtocolName => ProtocolLoader for dynamic imports of protocols

      -
      \ No newline at end of file +
      Platform: PlatformUtils<P>

      Platform implements PlatformUtils and can be used as a constructor to create a configured PlatformContext

      +
      getChain: (<N, C>(network, chain, overrides?) => ChainContext<N, C, P>)

      creates a new ChainContext object for a specific Network and Chain

      +

      Type declaration

        • <N, C>(network, chain, overrides?): ChainContext<N, C, P>
        • Type Parameters

          • N extends Network
          • C extends PlatformToChains<P>

          Parameters

          • network: N
          • chain: C
          • Optional overrides: any

          Returns ChainContext<N, C, P>

      getSigner: ((rpc, key, ...args) => Promise<Signer>)

      Provides a local signer that implements the Signer interface for the platform

      +

      Type declaration

        • (rpc, key, ...args): Promise<Signer>
        • Parameters

          • rpc: RpcConnection<P>
          • key: string
          • Rest ...args: any

          Returns Promise<Signer>

      protocols: ProtocolLoaders

      A map of ProtocolName => ProtocolLoader for dynamic imports of protocols

      +
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk.index.PlatformUtils.html b/docs/interfaces/_wormhole_foundation_sdk.index.PlatformUtils.html deleted file mode 100644 index 2c00e36ab..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk.index.PlatformUtils.html +++ /dev/null @@ -1,30 +0,0 @@ -PlatformUtils | Wormhole TS SDK - v0.7.0

      PlatformUtils represents the static attributes available on -the PlatformContext Class

      -
      interface PlatformUtils<P> {
          new PlatformUtilsnew <N>(network, config?): PlatformContext<N, P>;
          _platform: P;
          chainFromChainId(chainId): ["Mainnet" | "Testnet" | "Devnet", "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"];
          chainFromRpc(rpc): Promise<["Mainnet" | "Testnet" | "Devnet", "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"]>;
          getBalance<C>(chain, rpc, walletAddr, token): Promise<null | bigint>;
          getBalances<C>(chain, rpc, walletAddress, tokens): Promise<Balances>;
          getDecimals<C>(chain, rpc, token): Promise<number>;
          getLatestBlock(rpc): Promise<number>;
          getLatestFinalizedBlock(rpc): Promise<number>;
          isNativeTokenId<N, C>(network, chain, tokenId): boolean;
          isSupportedChain(chain): boolean;
          nativeTokenId<N, C>(network, chain): TokenId<C>;
      }

      Type Parameters

      • P extends Platform

      Constructors

      • Initialize a new PlatformContext object

        -

        Type Parameters

        • N extends "Mainnet" | "Testnet" | "Devnet"

        Parameters

        • network: N
        • Optional config: ChainsConfig<N, P>

        Returns PlatformContext<N, P>

      Properties

      _platform: P

      Value for the Platform so we can access it at runtime

      -

      Methods

      • Look up a Chain from its native chain ID -See implementation for details -Note: this is not the same as the Wormhole chain id

        -

        Parameters

        • chainId: string | bigint

        Returns ["Mainnet" | "Testnet" | "Devnet", "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"]

      • Given an RPC connection, request the native chain id -then resolve it to a Wormhole Canonical network and chain name

        -

        Parameters

        • rpc: any

        Returns Promise<["Mainnet" | "Testnet" | "Devnet", "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"]>

      • Get the balance of a token for a given wallet address

        -

        Type Parameters

        • C extends "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Parameters

        Returns Promise<null | bigint>

      • Look up the balances for a list of tokens for a given wallet address

        -

        Type Parameters

        • C extends "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Parameters

        Returns Promise<Balances>

      • Get the number of decimals for a given token

        -

        Type Parameters

        • C extends "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Parameters

        Returns Promise<number>

      • Look up the latest block according to the RPC passed

        -

        Parameters

        • rpc: any

        Returns Promise<number>

      • Look up the latest finalized block according to the RPC passed

        -

        Parameters

        • rpc: any

        Returns Promise<number>

      • Check if the token passed is the native token id for the argued chain and network

        -

        Type Parameters

        • N extends "Mainnet" | "Testnet" | "Devnet"
        • C extends "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Parameters

        Returns boolean

      • Check if this chain is supported by this platform

        -

        Parameters

        • chain: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Returns boolean

      • Get the native (gas) token id for a given chain

        -

        Type Parameters

        • N extends "Mainnet" | "Testnet" | "Devnet"
        • C extends "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Parameters

        • network: N
        • chain: C

        Returns TokenId<C>

      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk.index.PorticoBridge-1.html b/docs/interfaces/_wormhole_foundation_sdk.index.PorticoBridge-1.html deleted file mode 100644 index 49afbf050..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk.index.PorticoBridge-1.html +++ /dev/null @@ -1,11 +0,0 @@ -PorticoBridge | Wormhole TS SDK - v0.7.0

      PorticoBridge provides a consistent interface to interact with -the Portico bridge contracts.

      -
      interface PorticoBridge<N, C> {
          quoteRelay(token, destination): Promise<bigint>;
          quoteSwap(input, output, amount): Promise<bigint>;
          redeem(sender, vaa): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
          transfer(sender, recipient, token, amount, destToken, quote): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
      }

      Type Parameters

      • N extends Network = Network
      • C extends Chain = Chain

      Methods

      • quote relay on destination with conversion

        -

        Parameters

        Returns Promise<bigint>

      • quote token conversion

        -

        Parameters

        Returns Promise<bigint>

      • Redeem a transfer VAA to receive the tokens on this chain

        -

        Parameters

        Returns AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>

      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk.index.ProtocolInitializer.html b/docs/interfaces/_wormhole_foundation_sdk.index.ProtocolInitializer.html deleted file mode 100644 index 5d6943c79..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk.index.ProtocolInitializer.html +++ /dev/null @@ -1,7 +0,0 @@ -ProtocolInitializer | Wormhole TS SDK - v0.7.0

      Interface ProtocolInitializer<P, PN, N, C>

      The ProtocolInitializer provides a constructor or a static fromRpc method -to create an instance of the ProtocolInterface for a given network and chain

      -
      interface ProtocolInitializer<P, PN, N, C> {
          fromRpc(rpc, config): Promise<ProtocolInterface<PN, N, C>>;
      }

      Type Parameters

      • P extends Platform
      • PN extends ProtocolName
      • N extends Network
      • C extends PlatformToChains<P> = PlatformToChains<P>

      Methods

      Methods

      • fromRpc will create a new instance of the Protocol client given the RPC and the config

        -

        Parameters

        • rpc: any

          the RPC connection to the chain, used to query the chain for its native chain id

          -
        • config: ChainsConfig<"Mainnet" | "Testnet" | "Devnet", P>

          the ChainsConfig to use to initialize the protocol client

          -

        Returns Promise<ProtocolInterface<PN, N, C>>

      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk.index.SignAndSendSigner.html b/docs/interfaces/_wormhole_foundation_sdk.index.SignAndSendSigner.html deleted file mode 100644 index 142e24df6..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk.index.SignAndSendSigner.html +++ /dev/null @@ -1,4 +0,0 @@ -SignAndSendSigner | Wormhole TS SDK - v0.7.0

      A SignAndSendSigner is for situations where the signer is -connected to the network and wishes to broadcast the -transactions themselves

      -
      interface SignAndSendSigner<N, C> {}

      Type Parameters

      • N extends Network
      • C extends Chain

      Hierarchy

      • SignerBase<C>
        • SignAndSendSigner
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk.index.SignOnlySigner.html b/docs/interfaces/_wormhole_foundation_sdk.index.SignOnlySigner.html deleted file mode 100644 index c7cb79ddd..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk.index.SignOnlySigner.html +++ /dev/null @@ -1,4 +0,0 @@ -SignOnlySigner | Wormhole TS SDK - v0.7.0

      A SignOnlySender is for situations where the signer is not -connected to the network or does not wish to broadcast the -transactions themselves

      -
      interface SignOnlySigner<N, C> {}

      Type Parameters

      • N extends Network
      • C extends Chain

      Hierarchy

      • SignerBase<C>
        • SignOnlySigner
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk.index.TokenBridge-1.html b/docs/interfaces/_wormhole_foundation_sdk.index.TokenBridge-1.html deleted file mode 100644 index 722b98324..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk.index.TokenBridge-1.html +++ /dev/null @@ -1,55 +0,0 @@ -TokenBridge | Wormhole TS SDK - v0.7.0

      TokenBridge protocol definition, providing a consistent client interface -for the TokenBridge protocol

      -

      Find details on the TokenBridge protocol here: https://github.com/wormhole-foundation/wormhole/blob/main/whitepapers/0003_token_bridge.md

      -
      interface TokenBridge<N, C> {
          createAttestation(token, payer?): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
          getOriginalAsset(nativeAddress): Promise<TokenId<"Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">>;
          getWrappedAsset(foreignToken): Promise<GetNativeAddress<ChainToPlatform<C>>>;
          getWrappedNative(): Promise<GetNativeAddress<ChainToPlatform<C>>>;
          hasWrappedAsset(foreignToken): Promise<boolean>;
          isTransferCompleted(vaa): Promise<boolean>;
          isWrappedAsset(nativeAddress): Promise<boolean>;
          redeem(sender, vaa, unwrapNative?): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
          submitAttestation(vaa, payer?): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
          transfer(sender, recipient, token, amount, payload?): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
      }

      Type Parameters

      • N extends Network = Network
      • C extends Chain = Chain

      Methods

      • Create a Token Attestation VAA containing metadata about -the token that may be submitted to a Token bridge on another chain -to allow it to create a wrapped version of the token

        -

        Parameters

        Returns AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>

        An AsyncGenerator that produces transactions to sign and send

        -
      • returns the original asset with its foreign chain

        -

        Parameters

        Returns Promise<TokenId<"Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">>

        The TokenId corresponding to the original asset and chain

        -
      • Returns the address of the native version of this asset

        -

        Parameters

        • foreignToken: TokenId<"Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">

          The token to check

          -

        Returns Promise<GetNativeAddress<ChainToPlatform<C>>>

        The address of the native version of this asset

        -
      • returns the wrapped version of the native asset

        -

        Returns Promise<GetNativeAddress<ChainToPlatform<C>>>

        The address of the native gas token that has been wrapped -for use where the gas token is not possible to use (e.g. bridging)

        -
      • Check to see if a foreign token has a wrapped version

        -

        Parameters

        • foreignToken: TokenId<"Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">

          The token to check

          -

        Returns Promise<boolean>

        true if the token has a wrapped version

        -
      • Checks if a transfer VAA has been redeemed

        -

        Parameters

        • vaa: VAA<"TokenBridge:Transfer"> | VAA<"TokenBridge:TransferWithPayload">

          The transfer VAA to check

          -

        Returns Promise<boolean>

        true if the transfer has been redeemed

        -
      • Checks a native address to see if its a wrapped version

        -

        Parameters

        Returns Promise<boolean>

        true if the address is a wrapped version of a foreign token

        -
      • Redeem a transfer VAA to receive the tokens on this chain

        -

        Parameters

        • sender: AccountAddress<C>

          The sender of the transfer

          -
        • vaa: VAA<"TokenBridge:Transfer"> | VAA<"TokenBridge:TransferWithPayload">

          The transfer VAA to redeem

          -
        • Optional unwrapNative: boolean

          Whether to unwrap the native token if it is a wrapped token

          -

        Returns AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>

        An AsyncGenerator that produces transactions to sign and send

        -
      • Submit the Token Attestation VAA to the Token bridge -to create the wrapped token represented by the data in the VAA

        -

        Parameters

        • vaa: VAA<"TokenBridge:AttestMeta">

          The attestation VAA to submit

          -
        • Optional payer: UniversalOrNative<C>

          The payer of the transaction

          -

        Returns AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>

        An AsyncGenerator that produces transactions to sign and send

        -
      • Initiate a transfer of some token to another chain

        -

        Parameters

        • sender: AccountAddress<C>

          The sender of the transfer

          -
        • recipient: ChainAddress

          The recipient of the transfer as a ChainAddress so we know what the destination chain should be

          -
        • token: TokenAddress<C>

          The token to transfer

          -
        • amount: bigint

          The amount of the token to transfer

          -
        • Optional payload: Uint8Array

          Optional payload to include in the transfer

          -

        Returns AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>

        An AsyncGenerator that produces transactions to sign and send

        -
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk.index.TokenId.html b/docs/interfaces/_wormhole_foundation_sdk.index.TokenId.html deleted file mode 100644 index 70b555d64..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk.index.TokenId.html +++ /dev/null @@ -1,3 +0,0 @@ -TokenId | Wormhole TS SDK - v0.7.0

      A TokenId is a unique identifier for a token on a given chain

      -

      TokenId

      -
      interface TokenId<C> {}

      Type Parameters

      • C extends Chain = Chain
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk.index.UnsignedTransaction.html b/docs/interfaces/_wormhole_foundation_sdk.index.UnsignedTransaction.html deleted file mode 100644 index e521d584d..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk.index.UnsignedTransaction.html +++ /dev/null @@ -1,3 +0,0 @@ -UnsignedTransaction | Wormhole TS SDK - v0.7.0

      An unsigned transaction is a transaction that has not been signed -along with details about the transaction

      -
      interface UnsignedTransaction<N, C> {}

      Type Parameters

      • N extends Network = Network
      • C extends Chain = Chain
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk.index.VAA.html b/docs/interfaces/_wormhole_foundation_sdk.index.VAA.html deleted file mode 100644 index 995bc5347..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk.index.VAA.html +++ /dev/null @@ -1,4 +0,0 @@ -VAA | Wormhole TS SDK - v0.7.0

      A VAA is a Verifiable Action Assertion, a signed message that contains -information about an action that has occurred on a chain.

      -

      See this link for more.

      -
      interface VAA<PL> {}

      Type Parameters

      • PL extends PayloadLiteral = PayloadLiteral

      Hierarchy

      • VAABase
        • VAA
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk.index.WormholeCore.html b/docs/interfaces/_wormhole_foundation_sdk.index.WormholeCore.html deleted file mode 100644 index 5f0dff027..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk.index.WormholeCore.html +++ /dev/null @@ -1,30 +0,0 @@ -WormholeCore | Wormhole TS SDK - v0.7.0

      WormholeCore provides a consistent interface to interact -with the Wormhole core messaging protocol.

      -
      interface WormholeCore<N, C> {
          getGuardianSet(index): Promise<GuardianSet>;
          getGuardianSetIndex(): Promise<number>;
          getMessageFee(): Promise<bigint>;
          parseMessages(txid): Promise<VAA<"Uint8Array">[]>;
          parseTransaction(txid): Promise<WormholeMessageId[]>;
          publishMessage(sender, message, nonce, consistencyLevel): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
          verifyMessage(sender, vaa): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
      }

      Type Parameters

      • N extends Network = Network
      • C extends Chain = Chain

      Methods

      • Get the guardian set data corresponding to the index

        -

        Parameters

        • index: number

        Returns Promise<GuardianSet>

      • Get the current guardian set index

        -

        Returns Promise<number>

      • Get the fee for publishing a message

        -

        Returns Promise<bigint>

      • Parse a transaction to get the VAA message it produced

        -

        Parameters

        • txid: string

          the transaction hash to parse

          -

        Returns Promise<VAA<"Uint8Array">[]>

        the VAA message produced by the transaction

        -
      • Parse a transaction to get its message id

        -

        Parameters

        • txid: string

          the transaction hash to parse

          -

        Returns Promise<WormholeMessageId[]>

        the message ids produced by the transaction

        -
      • Publish a message

        -

        Parameters

        • sender: AccountAddress<C>

          The address of the sender

          -
        • message: string | Uint8Array

          The message to send

          -
        • nonce: number

          A number that may be set if needed for the application, may be 0 if unneeded

          -
        • consistencyLevel: number

          The consistency level to reach before the guardians should sign the message - see the docs for more information

          -

        Returns AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>

        a stream of unsigned transactions to be signed and submitted on chain

        -
      • Verify a VAA against the core contract

        -

        Parameters

        • sender: AccountAddress<C>

          the sender of the transaction

          -
        • vaa: VAA<PayloadLiteral>

          the VAA to verify

          -

        Returns AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>

        a stream of unsigned transactions to be signed and submitted on chain

        -
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk.index.WormholeRegistry.PayloadLiteralToLayoutMapping.html b/docs/interfaces/_wormhole_foundation_sdk.index.WormholeRegistry.PayloadLiteralToLayoutMapping.html deleted file mode 100644 index 96649b6e3..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk.index.WormholeRegistry.PayloadLiteralToLayoutMapping.html +++ /dev/null @@ -1,2 +0,0 @@ -PayloadLiteralToLayoutMapping | Wormhole TS SDK - v0.7.0

      Map of PayloadLiteral name to its Layout

      -
      interface PayloadLiteralToLayoutMapping {}

      Hierarchy

      • RegisterPayloadTypes<"AutomaticCircleBridge", typeof automaticCircleBridgeNamedPayloads>
      • RegisterPayloadTypes<"CircleBridge", typeof circleBridgeNamedPayloads>
      • RegisterPayloadTypes<"PorticoBridge", typeof namedPayloads>
      • RegisterPayloadTypes<"AutomaticTokenBridge", typeof automaticTokenBridgeNamedPayloads>
      • RegisterPayloadTypes<"TokenBridge", typeof tokenBridgeNamedPayloads>
      • RegisterPayloadTypes<"WormholeCore", typeof coreBridgePayloads>
      • RegisterPayloadTypes<"TokenBridge", typeof tokenBridgePayloads>
      • RegisterPayloadTypes<"NftBridge", typeof nftBridgePayloads>
      • RegisterPayloadTypes<"Relayer", typeof relayerPayloads>
      • RegisterPayloadTypes<"CircleBridge", typeof cctpPayloads>
      • RegisterPayloadTypes<"Relayer", typeof namedPayloads>
        • PayloadLiteralToLayoutMapping
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk.index.WormholeRegistry.PlatformToNativeAddressMapping.html b/docs/interfaces/_wormhole_foundation_sdk.index.WormholeRegistry.PlatformToNativeAddressMapping.html deleted file mode 100644 index b9b7894df..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk.index.WormholeRegistry.PlatformToNativeAddressMapping.html +++ /dev/null @@ -1,2 +0,0 @@ -PlatformToNativeAddressMapping | Wormhole TS SDK - v0.7.0

      Map of platform to native address parser

      -
      interface PlatformToNativeAddressMapping {}
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk.index.WormholeRegistry.ProtocolToInterfaceMapping.html b/docs/interfaces/_wormhole_foundation_sdk.index.WormholeRegistry.ProtocolToInterfaceMapping.html deleted file mode 100644 index f743c01da..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk.index.WormholeRegistry.ProtocolToInterfaceMapping.html +++ /dev/null @@ -1,2 +0,0 @@ -ProtocolToInterfaceMapping | Wormhole TS SDK - v0.7.0

      Map of ProtocolName to ProtocolInterface

      -
      interface ProtocolToInterfaceMapping<N, C> {}

      Type Parameters

      • N extends Network = Network
      • C extends Chain = Chain
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk.index.WormholeRegistry.ProtocolToPlatformMapping.html b/docs/interfaces/_wormhole_foundation_sdk.index.WormholeRegistry.ProtocolToPlatformMapping.html deleted file mode 100644 index 5233e2402..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk.index.WormholeRegistry.ProtocolToPlatformMapping.html +++ /dev/null @@ -1,2 +0,0 @@ -ProtocolToPlatformMapping | Wormhole TS SDK - v0.7.0

      Map of ProtocolName to Platform specific implementation

      -
      interface ProtocolToPlatformMapping {}
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk.index.amount.Amount.html b/docs/interfaces/_wormhole_foundation_sdk.index.amount.Amount.html deleted file mode 100644 index 996e932f9..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk.index.amount.Amount.html +++ /dev/null @@ -1,7 +0,0 @@ -Amount | Wormhole TS SDK - v0.7.0

      Amount is a number of base units and decimal precision, -expressed using a string for JSON-compatibility

      -
      interface Amount {
          amount: string;
          decimals: number;
      }

      Properties

      Properties

      amount: string

      Amount expressed in base units

      -
      decimals: number

      Number of decimal places in amount

      -
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk.index.api.TransactionStatus.html b/docs/interfaces/_wormhole_foundation_sdk.index.api.TransactionStatus.html deleted file mode 100644 index 2eff5d7be..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk.index.api.TransactionStatus.html +++ /dev/null @@ -1,3 +0,0 @@ -TransactionStatus | Wormhole TS SDK - v0.7.0

      The status of a transaction

      -

      contains information about the transaction and the global transaction if it was relayed

      -
      interface TransactionStatus {}
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_base.amount.Amount.html b/docs/interfaces/_wormhole_foundation_sdk_base.amount.Amount.html index 11ebd397d..9ab60ff79 100644 --- a/docs/interfaces/_wormhole_foundation_sdk_base.amount.Amount.html +++ b/docs/interfaces/_wormhole_foundation_sdk_base.amount.Amount.html @@ -1,7 +1,7 @@ -Amount | Wormhole TS SDK - v0.7.0

      Amount is a number of base units and decimal precision, +Amount | Wormhole TS SDK - v1.13.2

      Amount is a number of base units and decimal precision, expressed using a string for JSON-compatibility

      -
      interface Amount {
          amount: string;
          decimals: number;
      }

      Properties

      interface Amount {
          amount: string;
          decimals: number;
      }

      Properties

      Properties

      amount: string

      Amount expressed in base units

      -
      decimals: number

      Number of decimal places in amount

      -
      \ No newline at end of file +
      decimals: number

      Number of decimal places in amount

      +
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_connect.Address.html b/docs/interfaces/_wormhole_foundation_sdk_connect.Address.html deleted file mode 100644 index 1d84aaec3..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk_connect.Address.html +++ /dev/null @@ -1,15 +0,0 @@ -Address | Wormhole TS SDK - v0.7.0

      Address is the base interface all address types must implement.

      -

      Represents a parsed address

      -
      interface Address {
          toString(): string;
          toUint8Array(): Uint8Array;
          toUniversalAddress(): UniversalAddress;
          unwrap(): unknown;
      }

      Implemented by

      Methods

      • Return the address in its canonical string format

        -

        Returns string

      • Return the bytes for the address

        -

        Returns Uint8Array

      • Return an Address that has been converted to its Universal representation

        -

        Returns UniversalAddress

      • unwrap returns the underlying native address type, e.g.: -a Uint8Array for UniversalAddress -a checksum hex string string for EVM(ethers) -a PublicKey for Solana -etc.

        -

        Returns unknown

      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_connect.AutomaticCircleBridge-1.html b/docs/interfaces/_wormhole_foundation_sdk_connect.AutomaticCircleBridge-1.html deleted file mode 100644 index 4107f5fe9..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk_connect.AutomaticCircleBridge-1.html +++ /dev/null @@ -1,12 +0,0 @@ -AutomaticCircleBridge | Wormhole TS SDK - v0.7.0

      AutomaticCircleBridge protocol definition, providing a consistent client -interface for the CircleBridge protocol with Automatic delivery.

      -
      interface AutomaticCircleBridge<N, C> {
          getRelayerFee(destination): Promise<bigint>;
          transfer(sender, recipient, amount, nativeGas?): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
      }

      Type Parameters

      • N extends Network = Network
      • C extends Chain = Chain

      Methods

      • Get the fee required by the relayer to cover the costs of redemption on the destination chain

        -

        Parameters

        • destination: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

          The destination chain for which to get a fee quote

          -

        Returns Promise<bigint>

        the fee required by the relayer to cover the costs of redemption on the destination chain

        -
      • Parameters

        • sender: AccountAddress<C>

          address of the transaction sender

          -
        • recipient: ChainAddress

          address of the destination chain recipient

          -
        • amount: bigint

          how much to send, in base units

          -
        • Optional nativeGas: bigint

          if set, determines how much native gas should be received by the recipient

          -

        Returns AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>

      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_connect.AutomaticTokenBridge-1.html b/docs/interfaces/_wormhole_foundation_sdk_connect.AutomaticTokenBridge-1.html deleted file mode 100644 index e758561c6..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk_connect.AutomaticTokenBridge-1.html +++ /dev/null @@ -1,18 +0,0 @@ -AutomaticTokenBridge | Wormhole TS SDK - v0.7.0

      AutomaticTokenBridge provides a consistent interface to the - TokenBridge with Automatic redemption on the destination chain

      -
      interface AutomaticTokenBridge<N, C> {
          getRegisteredTokens(): Promise<GetNativeAddress<ChainToPlatform<C>>[]>;
          getRelayerFee(destination, token): Promise<bigint>;
          isRegisteredToken(token): Promise<boolean>;
          maxSwapAmount(token): Promise<bigint>;
          nativeTokenAmount(token, amount): Promise<bigint>;
          redeem(sender, vaa): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
          transfer(sender, recipient, token, amount, nativeGas?): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
      }

      Type Parameters

      • N extends Network = Network
      • C extends Chain = Chain

      Methods

      • Get the list of tokens that are registered and acceptable to send

        -

        Returns Promise<GetNativeAddress<ChainToPlatform<C>>[]>

      • Fee charged to relay

        -

        Parameters

        • destination: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"
        • token: TokenAddress<C>

        Returns Promise<bigint>

      • Check if a given token is in the registered token list

        -

        Parameters

        Returns Promise<boolean>

      • Maximum amount of sending tokens that can be swapped for native tokens

        -

        Parameters

        Returns Promise<bigint>

      • Amount of native tokens a user would receive by swapping x amount of sending tokens

        -

        Parameters

        Returns Promise<bigint>

      • Manually redeem a transfer, should not be used unless -necessary to take over some stalled transfer

        -

        Parameters

        Returns AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>

      • Initiate the transfer over the automatic bridge

        -

        Parameters

        Returns AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>

      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_connect.CircleBridge-1.html b/docs/interfaces/_wormhole_foundation_sdk_connect.CircleBridge-1.html deleted file mode 100644 index 3caa6a321..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk_connect.CircleBridge-1.html +++ /dev/null @@ -1,22 +0,0 @@ -CircleBridge | Wormhole TS SDK - v0.7.0

      CircleBridge protocol definition, providing a consistent client -interface to the CircleBridge protocol (CCTP).

      -

      Find the source contracts here: $https://github.com/circlefin/evm-cctp-contracts

      -
      interface CircleBridge<N, C> {
          isTransferCompleted(message): Promise<boolean>;
          parseTransactionDetails(txid): Promise<CircleTransferMessage>;
          redeem(sender, message, attestation): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
          transfer(sender, recipient, amount): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
      }

      Type Parameters

      • N extends Network = Network
      • C extends Chain = Chain

      Methods

      • Grabs the logs from the transaction and parse the circle message

        -

        Parameters

        • txid: string

          The transaction hash from which to parse a message

          -

        Returns Promise<CircleTransferMessage>

        The parsed CircleTransferMessage

        -
      • Initiate a transfer through the Circle CCTP Bridge

        -

        Parameters

        • sender: AccountAddress<C>

          the sender of the transaction

          -
        • recipient: ChainAddress

          the chain and address of the recipient of the transfer

          -
        • amount: bigint

          how much to send in base units

          -

        Returns AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>

      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_connect.GatewayMsg.html b/docs/interfaces/_wormhole_foundation_sdk_connect.GatewayMsg.html deleted file mode 100644 index cfd5a9654..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk_connect.GatewayMsg.html +++ /dev/null @@ -1,3 +0,0 @@ -GatewayMsg | Wormhole TS SDK - v0.7.0

      Holds the data of a gateway message without -special keys required by cosmos contracts

      -
      interface GatewayMsg {}
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_connect.IbcBridge.html b/docs/interfaces/_wormhole_foundation_sdk_connect.IbcBridge.html deleted file mode 100644 index f22e4722b..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk_connect.IbcBridge.html +++ /dev/null @@ -1,18 +0,0 @@ -IbcBridge | Wormhole TS SDK - v0.7.0

      IbcBridge provides an interface to use the IBC token transfer protocol

      -

      See more here https://tutorials.cosmos.network/academy/3-ibc/7-token-transfer.html

      -
      interface IbcBridge<N, C> {
          fetchTransferChannel(chain): Promise<null | string>;
          getTransferChannel(chain): null | string;
          lookupMessageFromIbcMsgId(msg): Promise<null | WormholeMessageId>;
          lookupTransferFromIbcMsgId(msg): Promise<IbcTransferInfo[]>;
          lookupTransferFromMsg(payload): Promise<IbcTransferInfo[]>;
          lookupTransferFromTx(txid): Promise<IbcTransferInfo[]>;
          transfer(sender, recipient, token, amount, payload?): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
      }

      Type Parameters

      • N extends Network = Network
      • C extends Chain = Chain

      Methods

      • Get the transfer channel for a remote chain, pulled from contract

        -

        Parameters

        • chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Returns Promise<null | string>

      • Get the transfer channel for a remote chain, pulled from local cache

        -

        Parameters

        • chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Returns null | string

      • Find the wormhole emitted message id for a given IBC transfer -if it does not exist, this will return null

        -

        Parameters

        Returns Promise<null | WormholeMessageId>

      • Find the IBCTransferInfo from a message id

        -

        Parameters

        Returns Promise<IbcTransferInfo[]>

      • Find the IBCTransferInfo from a gateway transfer message

        -

        Parameters

        • payload: GatewayTransferMsg | GatewayTransferWithPayloadMsg

        Returns Promise<IbcTransferInfo[]>

      • Find the IBCTransferInfo given a transaction id

        -

        Parameters

        • txid: string

        Returns Promise<IbcTransferInfo[]>

      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_connect.IbcTransferData.html b/docs/interfaces/_wormhole_foundation_sdk_connect.IbcTransferData.html deleted file mode 100644 index 92e7d21fb..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk_connect.IbcTransferData.html +++ /dev/null @@ -1,2 +0,0 @@ -IbcTransferData | Wormhole TS SDK - v0.7.0

      The expected payload sent as a string over IBC

      -
      interface IbcTransferData {}
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_connect.PlatformUtils.html b/docs/interfaces/_wormhole_foundation_sdk_connect.PlatformUtils.html deleted file mode 100644 index 90d532255..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk_connect.PlatformUtils.html +++ /dev/null @@ -1,30 +0,0 @@ -PlatformUtils | Wormhole TS SDK - v0.7.0

      PlatformUtils represents the static attributes available on -the PlatformContext Class

      -
      interface PlatformUtils<P> {
          new PlatformUtilsnew <N>(network, config?): PlatformContext<N, P>;
          _platform: P;
          chainFromChainId(chainId): ["Mainnet" | "Testnet" | "Devnet", "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"];
          chainFromRpc(rpc): Promise<["Mainnet" | "Testnet" | "Devnet", "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"]>;
          getBalance<C>(chain, rpc, walletAddr, token): Promise<null | bigint>;
          getBalances<C>(chain, rpc, walletAddress, tokens): Promise<Balances>;
          getDecimals<C>(chain, rpc, token): Promise<number>;
          getLatestBlock(rpc): Promise<number>;
          getLatestFinalizedBlock(rpc): Promise<number>;
          isNativeTokenId<N, C>(network, chain, tokenId): boolean;
          isSupportedChain(chain): boolean;
          nativeTokenId<N, C>(network, chain): TokenId<C>;
      }

      Type Parameters

      • P extends Platform

      Constructors

      • Initialize a new PlatformContext object

        -

        Type Parameters

        • N extends "Mainnet" | "Testnet" | "Devnet"

        Parameters

        • network: N
        • Optional config: ChainsConfig<N, P>

        Returns PlatformContext<N, P>

      Properties

      _platform: P

      Value for the Platform so we can access it at runtime

      -

      Methods

      • Look up a Chain from its native chain ID -See implementation for details -Note: this is not the same as the Wormhole chain id

        -

        Parameters

        • chainId: string | bigint

        Returns ["Mainnet" | "Testnet" | "Devnet", "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"]

      • Given an RPC connection, request the native chain id -then resolve it to a Wormhole Canonical network and chain name

        -

        Parameters

        • rpc: any

        Returns Promise<["Mainnet" | "Testnet" | "Devnet", "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"]>

      • Get the balance of a token for a given wallet address

        -

        Type Parameters

        • C extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Parameters

        Returns Promise<null | bigint>

      • Look up the balances for a list of tokens for a given wallet address

        -

        Type Parameters

        • C extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Parameters

        Returns Promise<Balances>

      • Get the number of decimals for a given token

        -

        Type Parameters

        • C extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Parameters

        Returns Promise<number>

      • Look up the latest block according to the RPC passed

        -

        Parameters

        • rpc: any

        Returns Promise<number>

      • Look up the latest finalized block according to the RPC passed

        -

        Parameters

        • rpc: any

        Returns Promise<number>

      • Check if the token passed is the native token id for the argued chain and network

        -

        Type Parameters

        • N extends "Mainnet" | "Testnet" | "Devnet"
        • C extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Parameters

        Returns boolean

      • Check if this chain is supported by this platform

        -

        Parameters

        • chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Returns boolean

      • Get the native (gas) token id for a given chain

        -

        Type Parameters

        • N extends "Mainnet" | "Testnet" | "Devnet"
        • C extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Parameters

        • network: N
        • chain: C

        Returns TokenId<C>

      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_connect.PorticoBridge-1.html b/docs/interfaces/_wormhole_foundation_sdk_connect.PorticoBridge-1.html deleted file mode 100644 index 27422900d..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk_connect.PorticoBridge-1.html +++ /dev/null @@ -1,11 +0,0 @@ -PorticoBridge | Wormhole TS SDK - v0.7.0

      PorticoBridge provides a consistent interface to interact with -the Portico bridge contracts.

      -
      interface PorticoBridge<N, C> {
          quoteRelay(token, destination): Promise<bigint>;
          quoteSwap(input, output, amount): Promise<bigint>;
          redeem(sender, vaa): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
          transfer(sender, recipient, token, amount, destToken, quote): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
      }

      Type Parameters

      • N extends Network = Network
      • C extends Chain = Chain

      Methods

      • quote relay on destination with conversion

        -

        Parameters

        Returns Promise<bigint>

      • quote token conversion

        -

        Parameters

        Returns Promise<bigint>

      • Redeem a transfer VAA to receive the tokens on this chain

        -

        Parameters

        Returns AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>

      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_connect.ProtocolInitializer.html b/docs/interfaces/_wormhole_foundation_sdk_connect.ProtocolInitializer.html deleted file mode 100644 index 68675cd00..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk_connect.ProtocolInitializer.html +++ /dev/null @@ -1,7 +0,0 @@ -ProtocolInitializer | Wormhole TS SDK - v0.7.0

      The ProtocolInitializer provides a constructor or a static fromRpc method -to create an instance of the ProtocolInterface for a given network and chain

      -
      interface ProtocolInitializer<P, PN, N, C> {
          fromRpc(rpc, config): Promise<ProtocolInterface<PN, N, C>>;
      }

      Type Parameters

      • P extends Platform
      • PN extends ProtocolName
      • N extends Network
      • C extends PlatformToChains<P> = PlatformToChains<P>

      Methods

      Methods

      • fromRpc will create a new instance of the Protocol client given the RPC and the config

        -

        Parameters

        • rpc: any

          the RPC connection to the chain, used to query the chain for its native chain id

          -
        • config: ChainsConfig<"Mainnet" | "Testnet" | "Devnet", P>

          the ChainsConfig to use to initialize the protocol client

          -

        Returns Promise<ProtocolInterface<PN, N, C>>

      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_connect.SignAndSendSigner.html b/docs/interfaces/_wormhole_foundation_sdk_connect.SignAndSendSigner.html deleted file mode 100644 index 4dfb7b747..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk_connect.SignAndSendSigner.html +++ /dev/null @@ -1,4 +0,0 @@ -SignAndSendSigner | Wormhole TS SDK - v0.7.0

      A SignAndSendSigner is for situations where the signer is -connected to the network and wishes to broadcast the -transactions themselves

      -
      interface SignAndSendSigner<N, C> {}

      Type Parameters

      • N extends Network
      • C extends Chain

      Hierarchy

      • SignerBase<C>
        • SignAndSendSigner
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_connect.SignOnlySigner.html b/docs/interfaces/_wormhole_foundation_sdk_connect.SignOnlySigner.html deleted file mode 100644 index 2c8d00ccc..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk_connect.SignOnlySigner.html +++ /dev/null @@ -1,4 +0,0 @@ -SignOnlySigner | Wormhole TS SDK - v0.7.0

      A SignOnlySender is for situations where the signer is not -connected to the network or does not wish to broadcast the -transactions themselves

      -
      interface SignOnlySigner<N, C> {}

      Type Parameters

      • N extends Network
      • C extends Chain

      Hierarchy

      • SignerBase<C>
        • SignOnlySigner
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_connect.TokenBridge-1.html b/docs/interfaces/_wormhole_foundation_sdk_connect.TokenBridge-1.html deleted file mode 100644 index e56d37318..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk_connect.TokenBridge-1.html +++ /dev/null @@ -1,55 +0,0 @@ -TokenBridge | Wormhole TS SDK - v0.7.0

      TokenBridge protocol definition, providing a consistent client interface -for the TokenBridge protocol

      -

      Find details on the TokenBridge protocol here: https://github.com/wormhole-foundation/wormhole/blob/main/whitepapers/0003_token_bridge.md

      -
      interface TokenBridge<N, C> {
          createAttestation(token, payer?): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
          getOriginalAsset(nativeAddress): Promise<TokenId<"Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">>;
          getWrappedAsset(foreignToken): Promise<GetNativeAddress<ChainToPlatform<C>>>;
          getWrappedNative(): Promise<GetNativeAddress<ChainToPlatform<C>>>;
          hasWrappedAsset(foreignToken): Promise<boolean>;
          isTransferCompleted(vaa): Promise<boolean>;
          isWrappedAsset(nativeAddress): Promise<boolean>;
          redeem(sender, vaa, unwrapNative?): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
          submitAttestation(vaa, payer?): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
          transfer(sender, recipient, token, amount, payload?): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
      }

      Type Parameters

      • N extends Network = Network
      • C extends Chain = Chain

      Methods

      • Create a Token Attestation VAA containing metadata about -the token that may be submitted to a Token bridge on another chain -to allow it to create a wrapped version of the token

        -

        Parameters

        Returns AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>

        An AsyncGenerator that produces transactions to sign and send

        -
      • returns the original asset with its foreign chain

        -

        Parameters

        Returns Promise<TokenId<"Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">>

        The TokenId corresponding to the original asset and chain

        -
      • Returns the address of the native version of this asset

        -

        Parameters

        • foreignToken: TokenId<"Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">

          The token to check

          -

        Returns Promise<GetNativeAddress<ChainToPlatform<C>>>

        The address of the native version of this asset

        -
      • returns the wrapped version of the native asset

        -

        Returns Promise<GetNativeAddress<ChainToPlatform<C>>>

        The address of the native gas token that has been wrapped -for use where the gas token is not possible to use (e.g. bridging)

        -
      • Check to see if a foreign token has a wrapped version

        -

        Parameters

        • foreignToken: TokenId<"Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">

          The token to check

          -

        Returns Promise<boolean>

        true if the token has a wrapped version

        -
      • Checks if a transfer VAA has been redeemed

        -

        Parameters

        • vaa: VAA<"TokenBridge:Transfer"> | VAA<"TokenBridge:TransferWithPayload">

          The transfer VAA to check

          -

        Returns Promise<boolean>

        true if the transfer has been redeemed

        -
      • Checks a native address to see if its a wrapped version

        -

        Parameters

        Returns Promise<boolean>

        true if the address is a wrapped version of a foreign token

        -
      • Redeem a transfer VAA to receive the tokens on this chain

        -

        Parameters

        • sender: AccountAddress<C>

          The sender of the transfer

          -
        • vaa: VAA<"TokenBridge:Transfer"> | VAA<"TokenBridge:TransferWithPayload">

          The transfer VAA to redeem

          -
        • Optional unwrapNative: boolean

          Whether to unwrap the native token if it is a wrapped token

          -

        Returns AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>

        An AsyncGenerator that produces transactions to sign and send

        -
      • Submit the Token Attestation VAA to the Token bridge -to create the wrapped token represented by the data in the VAA

        -

        Parameters

        • vaa: VAA<"TokenBridge:AttestMeta">

          The attestation VAA to submit

          -
        • Optional payer: UniversalOrNative<C>

          The payer of the transaction

          -

        Returns AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>

        An AsyncGenerator that produces transactions to sign and send

        -
      • Initiate a transfer of some token to another chain

        -

        Parameters

        • sender: AccountAddress<C>

          The sender of the transfer

          -
        • recipient: ChainAddress

          The recipient of the transfer as a ChainAddress so we know what the destination chain should be

          -
        • token: TokenAddress<C>

          The token to transfer

          -
        • amount: bigint

          The amount of the token to transfer

          -
        • Optional payload: Uint8Array

          Optional payload to include in the transfer

          -

        Returns AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>

        An AsyncGenerator that produces transactions to sign and send

        -
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_connect.TokenId.html b/docs/interfaces/_wormhole_foundation_sdk_connect.TokenId.html deleted file mode 100644 index 88c2dde16..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk_connect.TokenId.html +++ /dev/null @@ -1,3 +0,0 @@ -TokenId | Wormhole TS SDK - v0.7.0

      A TokenId is a unique identifier for a token on a given chain

      -

      TokenId

      -
      interface TokenId<C> {}

      Type Parameters

      • C extends Chain = Chain
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_connect.UnsignedTransaction.html b/docs/interfaces/_wormhole_foundation_sdk_connect.UnsignedTransaction.html deleted file mode 100644 index 8e5eb7253..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk_connect.UnsignedTransaction.html +++ /dev/null @@ -1,3 +0,0 @@ -UnsignedTransaction | Wormhole TS SDK - v0.7.0

      An unsigned transaction is a transaction that has not been signed -along with details about the transaction

      -
      interface UnsignedTransaction<N, C> {}

      Type Parameters

      • N extends Network = Network
      • C extends Chain = Chain
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_connect.VAA.html b/docs/interfaces/_wormhole_foundation_sdk_connect.VAA.html deleted file mode 100644 index 6c099c683..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk_connect.VAA.html +++ /dev/null @@ -1,4 +0,0 @@ -VAA | Wormhole TS SDK - v0.7.0

      A VAA is a Verifiable Action Assertion, a signed message that contains -information about an action that has occurred on a chain.

      -

      See this link for more.

      -
      interface VAA<PL> {}

      Type Parameters

      • PL extends PayloadLiteral = PayloadLiteral

      Hierarchy

      • VAABase
        • VAA
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_connect.WormholeCore.html b/docs/interfaces/_wormhole_foundation_sdk_connect.WormholeCore.html deleted file mode 100644 index 89f665ebd..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk_connect.WormholeCore.html +++ /dev/null @@ -1,30 +0,0 @@ -WormholeCore | Wormhole TS SDK - v0.7.0

      WormholeCore provides a consistent interface to interact -with the Wormhole core messaging protocol.

      -
      interface WormholeCore<N, C> {
          getGuardianSet(index): Promise<GuardianSet>;
          getGuardianSetIndex(): Promise<number>;
          getMessageFee(): Promise<bigint>;
          parseMessages(txid): Promise<VAA<"Uint8Array">[]>;
          parseTransaction(txid): Promise<WormholeMessageId[]>;
          publishMessage(sender, message, nonce, consistencyLevel): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
          verifyMessage(sender, vaa): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
      }

      Type Parameters

      • N extends Network = Network
      • C extends Chain = Chain

      Methods

      • Get the guardian set data corresponding to the index

        -

        Parameters

        • index: number

        Returns Promise<GuardianSet>

      • Get the current guardian set index

        -

        Returns Promise<number>

      • Get the fee for publishing a message

        -

        Returns Promise<bigint>

      • Parse a transaction to get the VAA message it produced

        -

        Parameters

        • txid: string

          the transaction hash to parse

          -

        Returns Promise<VAA<"Uint8Array">[]>

        the VAA message produced by the transaction

        -
      • Parse a transaction to get its message id

        -

        Parameters

        • txid: string

          the transaction hash to parse

          -

        Returns Promise<WormholeMessageId[]>

        the message ids produced by the transaction

        -
      • Publish a message

        -

        Parameters

        • sender: AccountAddress<C>

          The address of the sender

          -
        • message: string | Uint8Array

          The message to send

          -
        • nonce: number

          A number that may be set if needed for the application, may be 0 if unneeded

          -
        • consistencyLevel: number

          The consistency level to reach before the guardians should sign the message - see the docs for more information

          -

        Returns AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>

        a stream of unsigned transactions to be signed and submitted on chain

        -
      • Verify a VAA against the core contract

        -

        Parameters

        • sender: AccountAddress<C>

          the sender of the transaction

          -
        • vaa: VAA<PayloadLiteral>

          the VAA to verify

          -

        Returns AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>

        a stream of unsigned transactions to be signed and submitted on chain

        -
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_connect.WormholeRegistry.PayloadLiteralToLayoutMapping.html b/docs/interfaces/_wormhole_foundation_sdk_connect.WormholeRegistry.PayloadLiteralToLayoutMapping.html deleted file mode 100644 index 8e331ccac..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk_connect.WormholeRegistry.PayloadLiteralToLayoutMapping.html +++ /dev/null @@ -1,2 +0,0 @@ -PayloadLiteralToLayoutMapping | Wormhole TS SDK - v0.7.0

      Map of PayloadLiteral name to its Layout

      -
      interface PayloadLiteralToLayoutMapping {}

      Hierarchy

      • RegisterPayloadTypes<"AutomaticCircleBridge", typeof automaticCircleBridgeNamedPayloads>
      • RegisterPayloadTypes<"CircleBridge", typeof circleBridgeNamedPayloads>
      • RegisterPayloadTypes<"PorticoBridge", typeof namedPayloads>
      • RegisterPayloadTypes<"AutomaticTokenBridge", typeof automaticTokenBridgeNamedPayloads>
      • RegisterPayloadTypes<"TokenBridge", typeof tokenBridgeNamedPayloads>
      • RegisterPayloadTypes<"WormholeCore", typeof coreBridgePayloads>
      • RegisterPayloadTypes<"TokenBridge", typeof tokenBridgePayloads>
      • RegisterPayloadTypes<"NftBridge", typeof nftBridgePayloads>
      • RegisterPayloadTypes<"Relayer", typeof relayerPayloads>
      • RegisterPayloadTypes<"CircleBridge", typeof cctpPayloads>
      • RegisterPayloadTypes<"Relayer", typeof namedPayloads>
        • PayloadLiteralToLayoutMapping
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_connect.WormholeRegistry.PlatformToNativeAddressMapping.html b/docs/interfaces/_wormhole_foundation_sdk_connect.WormholeRegistry.PlatformToNativeAddressMapping.html deleted file mode 100644 index bc650edc0..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk_connect.WormholeRegistry.PlatformToNativeAddressMapping.html +++ /dev/null @@ -1,2 +0,0 @@ -PlatformToNativeAddressMapping | Wormhole TS SDK - v0.7.0

      Map of platform to native address parser

      -
      interface PlatformToNativeAddressMapping {}
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_connect.WormholeRegistry.ProtocolToInterfaceMapping.html b/docs/interfaces/_wormhole_foundation_sdk_connect.WormholeRegistry.ProtocolToInterfaceMapping.html deleted file mode 100644 index e635b3dfc..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk_connect.WormholeRegistry.ProtocolToInterfaceMapping.html +++ /dev/null @@ -1,2 +0,0 @@ -ProtocolToInterfaceMapping | Wormhole TS SDK - v0.7.0

      Map of ProtocolName to ProtocolInterface

      -
      interface ProtocolToInterfaceMapping<N, C> {}

      Type Parameters

      • N extends Network = Network
      • C extends Chain = Chain
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_connect.WormholeRegistry.ProtocolToPlatformMapping.html b/docs/interfaces/_wormhole_foundation_sdk_connect.WormholeRegistry.ProtocolToPlatformMapping.html deleted file mode 100644 index f04e5d585..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk_connect.WormholeRegistry.ProtocolToPlatformMapping.html +++ /dev/null @@ -1,2 +0,0 @@ -ProtocolToPlatformMapping | Wormhole TS SDK - v0.7.0

      Map of ProtocolName to Platform specific implementation

      -
      interface ProtocolToPlatformMapping {}
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_connect.amount.Amount.html b/docs/interfaces/_wormhole_foundation_sdk_connect.amount.Amount.html deleted file mode 100644 index 390012449..000000000 --- a/docs/interfaces/_wormhole_foundation_sdk_connect.amount.Amount.html +++ /dev/null @@ -1,7 +0,0 @@ -Amount | Wormhole TS SDK - v0.7.0

      Amount is a number of base units and decimal precision, -expressed using a string for JSON-compatibility

      -
      interface Amount {
          amount: string;
          decimals: number;
      }

      Properties

      Properties

      amount: string

      Amount expressed in base units

      -
      decimals: number

      Number of decimal places in amount

      -
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_connect.api.TransactionStatus.html b/docs/interfaces/_wormhole_foundation_sdk_connect.api.TransactionStatus.html index 725f3f682..3bb275dbf 100644 --- a/docs/interfaces/_wormhole_foundation_sdk_connect.api.TransactionStatus.html +++ b/docs/interfaces/_wormhole_foundation_sdk_connect.api.TransactionStatus.html @@ -1,3 +1,3 @@ -TransactionStatus | Wormhole TS SDK - v0.7.0

      The status of a transaction

      +TransactionStatus | Wormhole TS SDK - v1.13.2

      The status of a transaction

      contains information about the transaction and the global transaction if it was relayed

      -
      interface TransactionStatus {}
      \ No newline at end of file +
      interface TransactionStatus {}
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_definitions.Address.html b/docs/interfaces/_wormhole_foundation_sdk_definitions.Address.html index d1edae51d..b6f90f803 100644 --- a/docs/interfaces/_wormhole_foundation_sdk_definitions.Address.html +++ b/docs/interfaces/_wormhole_foundation_sdk_definitions.Address.html @@ -1,15 +1,15 @@ -Address | Wormhole TS SDK - v0.7.0

      Address is the base interface all address types must implement.

      +Address | Wormhole TS SDK - v1.13.2

      Address is the base interface all address types must implement.

      Represents a parsed address

      -
      interface Address {
          toString(): string;
          toUint8Array(): Uint8Array;
          toUniversalAddress(): UniversalAddress;
          unwrap(): unknown;
      }

      Implemented by

      Methods

      interface Address {
          toString(): string;
          toUint8Array(): Uint8Array;
          toUniversalAddress(): UniversalAddress;
          unwrap(): unknown;
      }

      Implemented by

      Methods

      • unwrap returns the underlying native address type, e.g.: +

        Returns string

      • Return the bytes for the address

        +

        Returns Uint8Array

      • unwrap returns the underlying native address type, e.g.: a Uint8Array for UniversalAddress a checksum hex string string for EVM(ethers) a PublicKey for Solana etc.

        -

        Returns unknown

      \ No newline at end of file +

      Returns unknown

      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_definitions.AutomaticCircleBridge-1.html b/docs/interfaces/_wormhole_foundation_sdk_definitions.AutomaticCircleBridge-1.html index 635dd83bb..642b0e3ea 100644 --- a/docs/interfaces/_wormhole_foundation_sdk_definitions.AutomaticCircleBridge-1.html +++ b/docs/interfaces/_wormhole_foundation_sdk_definitions.AutomaticCircleBridge-1.html @@ -1,12 +1,16 @@ -AutomaticCircleBridge | Wormhole TS SDK - v0.7.0

      AutomaticCircleBridge protocol definition, providing a consistent client +AutomaticCircleBridge | Wormhole TS SDK - v1.13.2

      AutomaticCircleBridge protocol definition, providing a consistent client interface for the CircleBridge protocol with Automatic delivery.

      -
      interface AutomaticCircleBridge<N, C> {
          getRelayerFee(destination): Promise<bigint>;
          transfer(sender, recipient, amount, nativeGas?): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
      }

      Type Parameters

      • N extends Network = Network
      • C extends Chain = Chain

      Methods

      interface AutomaticCircleBridge<N, C> {
          getRelayerFee(destination): Promise<bigint>;
          maxSwapAmount(): Promise<bigint>;
          nativeTokenAmount(amount): Promise<bigint>;
          transfer(sender, recipient, amount, nativeGas?): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
      }

      Type Parameters

      • N extends Network = Network
      • C extends Chain = Chain

      Methods

      • Get the fee required by the relayer to cover the costs of redemption on the destination chain

        -

        Parameters

        • destination: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

          The destination chain for which to get a fee quote

          +

          Parameters

          • destination: Chain

            The destination chain for which to get a fee quote

          Returns Promise<bigint>

          the fee required by the relayer to cover the costs of redemption on the destination chain

          -
      • Amount of native tokens a user would receive by swapping x amount of sending tokens

        +

        Parameters

        • amount: bigint

        Returns Promise<bigint>

      \ No newline at end of file +

      Returns AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>

      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_definitions.AutomaticTokenBridge-1.html b/docs/interfaces/_wormhole_foundation_sdk_definitions.AutomaticTokenBridge-1.html index 2a011876a..b4a7bc94a 100644 --- a/docs/interfaces/_wormhole_foundation_sdk_definitions.AutomaticTokenBridge-1.html +++ b/docs/interfaces/_wormhole_foundation_sdk_definitions.AutomaticTokenBridge-1.html @@ -1,18 +1,18 @@ -AutomaticTokenBridge | Wormhole TS SDK - v0.7.0

      AutomaticTokenBridge provides a consistent interface to the +AutomaticTokenBridge | Wormhole TS SDK - v1.13.2

      AutomaticTokenBridge provides a consistent interface to the TokenBridge with Automatic redemption on the destination chain

      -
      interface AutomaticTokenBridge<N, C> {
          getRegisteredTokens(): Promise<GetNativeAddress<ChainToPlatform<C>>[]>;
          getRelayerFee(destination, token): Promise<bigint>;
          isRegisteredToken(token): Promise<boolean>;
          maxSwapAmount(token): Promise<bigint>;
          nativeTokenAmount(token, amount): Promise<bigint>;
          redeem(sender, vaa): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
          transfer(sender, recipient, token, amount, nativeGas?): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
      }

      Type Parameters

      • N extends Network = Network
      • C extends Chain = Chain

      Methods

      interface AutomaticTokenBridge<N, C> {
          getRegisteredTokens(): Promise<TokenAddress<C>[]>;
          getRelayerFee(destination, token): Promise<bigint>;
          isRegisteredToken(token): Promise<boolean>;
          maxSwapAmount(token): Promise<bigint>;
          nativeTokenAmount(token, amount): Promise<bigint>;
          redeem(sender, vaa): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
          transfer(sender, recipient, token, amount, nativeGas?): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
      }

      Type Parameters

      • N extends Network = Network
      • C extends Chain = Chain

      Methods

      • Fee charged to relay

        -

        Parameters

        • destination: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"
        • token: TokenAddress<C>

        Returns Promise<bigint>

      • Manually redeem a transfer, should not be used unless +

      Methods

      \ No newline at end of file +

      Parameters

      Returns AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>

      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_definitions.CircleBridge-1.html b/docs/interfaces/_wormhole_foundation_sdk_definitions.CircleBridge-1.html index ac1e0f667..1e92984f4 100644 --- a/docs/interfaces/_wormhole_foundation_sdk_definitions.CircleBridge-1.html +++ b/docs/interfaces/_wormhole_foundation_sdk_definitions.CircleBridge-1.html @@ -1,22 +1,22 @@ -CircleBridge | Wormhole TS SDK - v0.7.0

      CircleBridge protocol definition, providing a consistent client +CircleBridge | Wormhole TS SDK - v1.13.2

      CircleBridge protocol definition, providing a consistent client interface to the CircleBridge protocol (CCTP).

      Find the source contracts here: $https://github.com/circlefin/evm-cctp-contracts

      -
      interface CircleBridge<N, C> {
          isTransferCompleted(message): Promise<boolean>;
          parseTransactionDetails(txid): Promise<CircleTransferMessage>;
          redeem(sender, message, attestation): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
          transfer(sender, recipient, amount): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
      }

      Type Parameters

      • N extends Network = Network
      • C extends Chain = Chain

      Methods

      interface CircleBridge<N, C> {
          isTransferCompleted(message): Promise<boolean>;
          parseTransactionDetails(txid): Promise<CircleTransferMessage>;
          redeem(sender, message, attestation): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
          transfer(sender, recipient, amount): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
      }

      Type Parameters

      • N extends Network = Network
      • C extends Chain = Chain

      Methods

      • Grabs the logs from the transaction and parse the circle message

        +

        Parameters

        • message: LayoutToType<Layout>

          The message to check

          +

        Returns Promise<boolean>

      • Grabs the logs from the transaction and parse the circle message

        Parameters

        • txid: string

          The transaction hash from which to parse a message

        Returns Promise<CircleTransferMessage>

        The parsed CircleTransferMessage

        -
      \ No newline at end of file +

      Returns AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>

      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_definitions.GatewayMsg.html b/docs/interfaces/_wormhole_foundation_sdk_definitions.GatewayMsg.html index fe7ce2bf1..7843f0314 100644 --- a/docs/interfaces/_wormhole_foundation_sdk_definitions.GatewayMsg.html +++ b/docs/interfaces/_wormhole_foundation_sdk_definitions.GatewayMsg.html @@ -1,3 +1,3 @@ -GatewayMsg | Wormhole TS SDK - v0.7.0

      Holds the data of a gateway message without +GatewayMsg | Wormhole TS SDK - v1.13.2

      Holds the data of a gateway message without special keys required by cosmos contracts

      -
      interface GatewayMsg {}
      \ No newline at end of file +
      interface GatewayMsg {}
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_definitions.IbcBridge.html b/docs/interfaces/_wormhole_foundation_sdk_definitions.IbcBridge.html index 74aace334..35549beca 100644 --- a/docs/interfaces/_wormhole_foundation_sdk_definitions.IbcBridge.html +++ b/docs/interfaces/_wormhole_foundation_sdk_definitions.IbcBridge.html @@ -1,6 +1,6 @@ -IbcBridge | Wormhole TS SDK - v0.7.0

      IbcBridge provides an interface to use the IBC token transfer protocol

      +IbcBridge | Wormhole TS SDK - v1.13.2

      IbcBridge provides an interface to use the IBC token transfer protocol

      See more here https://tutorials.cosmos.network/academy/3-ibc/7-token-transfer.html

      -
      interface IbcBridge<N, C> {
          fetchTransferChannel(chain): Promise<null | string>;
          getTransferChannel(chain): null | string;
          lookupMessageFromIbcMsgId(msg): Promise<null | WormholeMessageId>;
          lookupTransferFromIbcMsgId(msg): Promise<IbcTransferInfo[]>;
          lookupTransferFromMsg(payload): Promise<IbcTransferInfo[]>;
          lookupTransferFromTx(txid): Promise<IbcTransferInfo[]>;
          transfer(sender, recipient, token, amount, payload?): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
      }

      Type Parameters

      • N extends Network = Network
      • C extends Chain = Chain

      Methods

      interface IbcBridge<N, C> {
          fetchTransferChannel(chain): Promise<null | string>;
          getTransferChannel(chain): null | string;
          lookupMessageFromIbcMsgId(msg): Promise<null | WormholeMessageId>;
          lookupTransferFromIbcMsgId(msg): Promise<IbcTransferInfo[]>;
          lookupTransferFromMsg(payload): Promise<IbcTransferInfo[]>;
          lookupTransferFromTx(txid): Promise<IbcTransferInfo[]>;
          transfer(sender, recipient, token, amount, payload?): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
      }

      Type Parameters

      • N extends Network = Network
      • C extends Chain = Chain

      Methods

      • Get the transfer channel for a remote chain, pulled from contract

        -

        Parameters

        • chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Returns Promise<null | string>

      • Get the transfer channel for a remote chain, pulled from local cache

        -

        Parameters

        • chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Returns null | string

      • Find the wormhole emitted message id for a given IBC transfer +

        Parameters

        • chain: Chain

        Returns Promise<null | string>

      • Get the transfer channel for a remote chain, pulled from local cache

        +

        Parameters

        • chain: Chain

        Returns null | string

      • Find the IBCTransferInfo from a gateway transfer message

        -

        Parameters

        • payload: GatewayTransferMsg | GatewayTransferWithPayloadMsg

        Returns Promise<IbcTransferInfo[]>

      • Find the IBCTransferInfo given a transaction id

        -

        Parameters

        • txid: string

        Returns Promise<IbcTransferInfo[]>

      \ No newline at end of file +

      Parameters

      Returns Promise<null | WormholeMessageId>

      • Find the IBCTransferInfo from a message id

        +

        Parameters

        Returns Promise<IbcTransferInfo[]>

      • Find the IBCTransferInfo from a gateway transfer message

        +

        Parameters

        • payload: GatewayTransferMsg | GatewayTransferWithPayloadMsg

        Returns Promise<IbcTransferInfo[]>

      • Find the IBCTransferInfo given a transaction id

        +

        Parameters

        • txid: string

        Returns Promise<IbcTransferInfo[]>

      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_definitions.IbcTransferData.html b/docs/interfaces/_wormhole_foundation_sdk_definitions.IbcTransferData.html index 94ba8f6c3..e6db30672 100644 --- a/docs/interfaces/_wormhole_foundation_sdk_definitions.IbcTransferData.html +++ b/docs/interfaces/_wormhole_foundation_sdk_definitions.IbcTransferData.html @@ -1,2 +1,2 @@ -IbcTransferData | Wormhole TS SDK - v0.7.0

      The expected payload sent as a string over IBC

      -
      interface IbcTransferData {}
      \ No newline at end of file +IbcTransferData | Wormhole TS SDK - v1.13.2

      The expected payload sent as a string over IBC

      +
      interface IbcTransferData {}
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_definitions.PlatformUtils.html b/docs/interfaces/_wormhole_foundation_sdk_definitions.PlatformUtils.html index 9a9bc01a9..84fc212b7 100644 --- a/docs/interfaces/_wormhole_foundation_sdk_definitions.PlatformUtils.html +++ b/docs/interfaces/_wormhole_foundation_sdk_definitions.PlatformUtils.html @@ -1,6 +1,6 @@ -PlatformUtils | Wormhole TS SDK - v0.7.0

      PlatformUtils represents the static attributes available on +PlatformUtils | Wormhole TS SDK - v1.13.2

      PlatformUtils represents the static attributes available on the PlatformContext Class

      -
      interface PlatformUtils<P> {
          new PlatformUtilsnew <N>(network, config?): PlatformContext<N, P>;
          _platform: P;
          chainFromChainId(chainId): ["Mainnet" | "Testnet" | "Devnet", "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"];
          chainFromRpc(rpc): Promise<["Mainnet" | "Testnet" | "Devnet", "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"]>;
          getBalance<C>(chain, rpc, walletAddr, token): Promise<null | bigint>;
          getBalances<C>(chain, rpc, walletAddress, tokens): Promise<Balances>;
          getDecimals<C>(chain, rpc, token): Promise<number>;
          getLatestBlock(rpc): Promise<number>;
          getLatestFinalizedBlock(rpc): Promise<number>;
          isNativeTokenId<N, C>(network, chain, tokenId): boolean;
          isSupportedChain(chain): boolean;
          nativeTokenId<N, C>(network, chain): TokenId<C>;
      }

      Type Parameters

      • P extends Platform

      Constructors

      interface PlatformUtils<P> {
          new PlatformUtilsnew <N>(network, config?): PlatformContext<N, P>;
          _platform: P;
          chainFromChainId(chainId): [Network, Chain];
          chainFromRpc(rpc): Promise<[Network, Chain]>;
          getBalance<C>(chain, rpc, walletAddr, token): Promise<null | bigint>;
          getBalances<C>(chain, rpc, walletAddress, tokens): Promise<Balances>;
          getDecimals<C>(chain, rpc, token): Promise<number>;
          getLatestBlock(rpc): Promise<number>;
          getLatestFinalizedBlock(rpc): Promise<number>;
          isNativeTokenId<N, C>(network, chain, tokenId): boolean;
          isSupportedChain(chain): boolean;
          nativeTokenId<N, C>(network, chain): TokenId<C>;
      }

      Type Parameters

      • P extends Platform

      Constructors

      Properties

      Methods

      Constructors

      Properties

      _platform: P

      Value for the Platform so we can access it at runtime

      -

      Methods

      • Look up a Chain from its native chain ID +

        Type Parameters

        • N extends Network

        Parameters

        • network: N
        • Optional config: ChainsConfig<N, P>

        Returns PlatformContext<N, P>

      Properties

      _platform: P

      Value for the Platform so we can access it at runtime

      +

      Methods

      • Look up a Chain from its native chain ID See implementation for details Note: this is not the same as the Wormhole chain id

        -

        Parameters

        • chainId: string | bigint

        Returns ["Mainnet" | "Testnet" | "Devnet", "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"]

      • Given an RPC connection, request the native chain id +

        Parameters

        • chainId: string | bigint

        Returns [Network, Chain]

      • Given an RPC connection, request the native chain id then resolve it to a Wormhole Canonical network and chain name

        -

        Parameters

        • rpc: any

        Returns Promise<["Mainnet" | "Testnet" | "Devnet", "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"]>

      • Get the balance of a token for a given wallet address

        -

        Type Parameters

        • C extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Parameters

        Returns Promise<null | bigint>

      • Look up the balances for a list of tokens for a given wallet address

        -

        Type Parameters

        • C extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Parameters

        Returns Promise<Balances>

      • Get the number of decimals for a given token

        -

        Type Parameters

        • C extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Parameters

        Returns Promise<number>

      • Look up the latest block according to the RPC passed

        -

        Parameters

        • rpc: any

        Returns Promise<number>

      • Look up the latest finalized block according to the RPC passed

        -

        Parameters

        • rpc: any

        Returns Promise<number>

      • Check if the token passed is the native token id for the argued chain and network

        -

        Type Parameters

        • N extends "Mainnet" | "Testnet" | "Devnet"
        • C extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Parameters

        Returns boolean

      • Check if this chain is supported by this platform

        -

        Parameters

        • chain: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Returns boolean

      • Get the native (gas) token id for a given chain

        -

        Type Parameters

        • N extends "Mainnet" | "Testnet" | "Devnet"
        • C extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"

        Parameters

        • network: N
        • chain: C

        Returns TokenId<C>

      \ No newline at end of file +

      Parameters

      • rpc: any

      Returns Promise<[Network, Chain]>

      • Get the balance of a token for a given wallet address

        +

        Type Parameters

        • C extends PlatformToChains<P>

        Parameters

        Returns Promise<null | bigint>

      • Look up the balances for a list of tokens for a given wallet address

        +

        Type Parameters

        • C extends PlatformToChains<P>

        Parameters

        Returns Promise<Balances>

      • Get the number of decimals for a given token

        +

        Type Parameters

        • C extends PlatformToChains<P>

        Parameters

        Returns Promise<number>

      • Look up the latest block according to the RPC passed

        +

        Parameters

        • rpc: any

        Returns Promise<number>

      • Look up the latest finalized block according to the RPC passed

        +

        Parameters

        • rpc: any

        Returns Promise<number>

      • Check if the token passed is the native token id for the argued chain and network

        +

        Type Parameters

        • N extends Network
        • C extends PlatformToChains<P>

        Parameters

        Returns boolean

      • Check if this chain is supported by this platform

        +

        Parameters

        • chain: Chain

        Returns boolean

      • Get the native (gas) token id for a given chain

        +

        Type Parameters

        • N extends Network
        • C extends PlatformToChains<P>

        Parameters

        • network: N
        • chain: C

        Returns TokenId<C>

      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_definitions.PorticoBridge-1.html b/docs/interfaces/_wormhole_foundation_sdk_definitions.PorticoBridge-1.html index c785a1ea9..fc14248d5 100644 --- a/docs/interfaces/_wormhole_foundation_sdk_definitions.PorticoBridge-1.html +++ b/docs/interfaces/_wormhole_foundation_sdk_definitions.PorticoBridge-1.html @@ -1,11 +1,19 @@ -PorticoBridge | Wormhole TS SDK - v0.7.0

      PorticoBridge provides a consistent interface to interact with +PorticoBridge | Wormhole TS SDK - v1.13.2

      PorticoBridge provides a consistent interface to interact with the Portico bridge contracts.

      -
      interface PorticoBridge<N, C> {
          quoteRelay(token, destination): Promise<bigint>;
          quoteSwap(input, output, amount): Promise<bigint>;
          redeem(sender, vaa): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
          transfer(sender, recipient, token, amount, destToken, quote): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
      }

      Type Parameters

      • N extends Network = Network
      • C extends Chain = Chain

      Methods

      interface PorticoBridge<N, C> {
          getPorticoAddress(group): string;
          getTokenGroup(address): string;
          getTransferrableToken(address): Promise<TokenId>;
          quoteRelay(token, destination): Promise<bigint>;
          quoteSwap(input, output, tokenGroup, amount): Promise<bigint>;
          redeem(sender, vaa): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
          supportedTokens(): {
              group: string;
              token: TokenId;
          }[];
          transfer(sender, recipient, token, amount, destToken, destPorticoAddress, quote): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
      }

      Type Parameters

      • N extends Network = Network
      • C extends Chain = Chain

      Methods

      \ No newline at end of file +

      Methods

      • Get the Portico contract address for the token group

        +

        Parameters

        • group: string

        Returns string

      • Get the group that a token belongs to e.g. ETH, WETH, wstETH, USDT

        +

        Parameters

        • address: string

        Returns string

      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_definitions.ProtocolInitializer.html b/docs/interfaces/_wormhole_foundation_sdk_definitions.ProtocolInitializer.html index 5af467c50..d4f7f8cb9 100644 --- a/docs/interfaces/_wormhole_foundation_sdk_definitions.ProtocolInitializer.html +++ b/docs/interfaces/_wormhole_foundation_sdk_definitions.ProtocolInitializer.html @@ -1,7 +1,7 @@ -ProtocolInitializer | Wormhole TS SDK - v0.7.0

      The ProtocolInitializer provides a constructor or a static fromRpc method +ProtocolInitializer | Wormhole TS SDK - v1.13.2

      The ProtocolInitializer provides a constructor or a static fromRpc method to create an instance of the ProtocolInterface for a given network and chain

      -
      interface ProtocolInitializer<P, PN, N, C> {
          fromRpc(rpc, config): Promise<ProtocolInterface<PN, N, C>>;
      }

      Type Parameters

      • P extends Platform
      • PN extends ProtocolName
      • N extends Network
      • C extends PlatformToChains<P> = PlatformToChains<P>

      Methods

      interface ProtocolInitializer<P, PN, N, C> {
          fromRpc(rpc, config): Promise<ProtocolInterface<PN, N, C>>;
      }

      Type Parameters

      • P extends Platform
      • PN extends ProtocolName
      • N extends Network
      • C extends PlatformToChains<P> = PlatformToChains<P>

      Methods

      Methods

      • fromRpc will create a new instance of the Protocol client given the RPC and the config

        Parameters

        • rpc: any

          the RPC connection to the chain, used to query the chain for its native chain id

          -
        • config: ChainsConfig<"Mainnet" | "Testnet" | "Devnet", P>

          the ChainsConfig to use to initialize the protocol client

          -

        Returns Promise<ProtocolInterface<PN, N, C>>

      \ No newline at end of file +
    • config: ChainsConfig<Network, P>

      the ChainsConfig to use to initialize the protocol client

      +
    • Returns Promise<ProtocolInterface<PN, N, C>>

      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_definitions.SignAndSendSigner.html b/docs/interfaces/_wormhole_foundation_sdk_definitions.SignAndSendSigner.html index 760faecfe..d6dbdefe8 100644 --- a/docs/interfaces/_wormhole_foundation_sdk_definitions.SignAndSendSigner.html +++ b/docs/interfaces/_wormhole_foundation_sdk_definitions.SignAndSendSigner.html @@ -1,4 +1,4 @@ -SignAndSendSigner | Wormhole TS SDK - v0.7.0

      A SignAndSendSigner is for situations where the signer is +SignAndSendSigner | Wormhole TS SDK - v1.13.2

      A SignAndSendSigner is for situations where the signer is connected to the network and wishes to broadcast the transactions themselves

      -
      interface SignAndSendSigner<N, C> {}

      Type Parameters

      • N extends Network
      • C extends Chain

      Hierarchy

      • SignerBase<C>
        • SignAndSendSigner
      \ No newline at end of file +
      interface SignAndSendSigner<N, C> {}

      Type Parameters

      • N extends Network
      • C extends Chain

      Hierarchy

      • SignerBase<C>
        • SignAndSendSigner
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_definitions.SignOnlySigner.html b/docs/interfaces/_wormhole_foundation_sdk_definitions.SignOnlySigner.html index 67e450227..291b4d424 100644 --- a/docs/interfaces/_wormhole_foundation_sdk_definitions.SignOnlySigner.html +++ b/docs/interfaces/_wormhole_foundation_sdk_definitions.SignOnlySigner.html @@ -1,4 +1,4 @@ -SignOnlySigner | Wormhole TS SDK - v0.7.0

      A SignOnlySender is for situations where the signer is not +SignOnlySigner | Wormhole TS SDK - v1.13.2

      A SignOnlySender is for situations where the signer is not connected to the network or does not wish to broadcast the transactions themselves

      -
      interface SignOnlySigner<N, C> {}

      Type Parameters

      • N extends Network
      • C extends Chain

      Hierarchy

      • SignerBase<C>
        • SignOnlySigner
      \ No newline at end of file +
      interface SignOnlySigner<N, C> {}

      Type Parameters

      • N extends Network
      • C extends Chain

      Hierarchy

      • SignerBase<C>
        • SignOnlySigner
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_definitions.TokenBridge-1.html b/docs/interfaces/_wormhole_foundation_sdk_definitions.TokenBridge-1.html index 93ee7a2f2..b2c41116d 100644 --- a/docs/interfaces/_wormhole_foundation_sdk_definitions.TokenBridge-1.html +++ b/docs/interfaces/_wormhole_foundation_sdk_definitions.TokenBridge-1.html @@ -1,8 +1,10 @@ -TokenBridge | Wormhole TS SDK - v0.7.0

      TokenBridge protocol definition, providing a consistent client interface +TokenBridge | Wormhole TS SDK - v1.13.2

      TokenBridge protocol definition, providing a consistent client interface for the TokenBridge protocol

      Find details on the TokenBridge protocol here: https://github.com/wormhole-foundation/wormhole/blob/main/whitepapers/0003_token_bridge.md

      -
      interface TokenBridge<N, C> {
          createAttestation(token, payer?): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
          getOriginalAsset(nativeAddress): Promise<TokenId<"Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">>;
          getWrappedAsset(foreignToken): Promise<GetNativeAddress<ChainToPlatform<C>>>;
          getWrappedNative(): Promise<GetNativeAddress<ChainToPlatform<C>>>;
          hasWrappedAsset(foreignToken): Promise<boolean>;
          isTransferCompleted(vaa): Promise<boolean>;
          isWrappedAsset(nativeAddress): Promise<boolean>;
          redeem(sender, vaa, unwrapNative?): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
          submitAttestation(vaa, payer?): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
          transfer(sender, recipient, token, amount, payload?): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
      }

      Type Parameters

      • N extends Network = Network
      • C extends Chain = Chain

      Methods

      interface TokenBridge<N, C> {
          createAttestation(token, payer?): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
          getOriginalAsset(nativeAddress): Promise<TokenId<Chain>>;
          getTokenNativeAddress(originChain, token): Promise<never>;
          getTokenUniversalAddress(token): Promise<UniversalAddress>;
          getWrappedAsset(foreignToken): Promise<TokenAddress<C>>;
          getWrappedNative(): Promise<never>;
          hasWrappedAsset(foreignToken): Promise<boolean>;
          isTransferCompleted(vaa): Promise<boolean>;
          isWrappedAsset(nativeAddress): Promise<boolean>;
          redeem(sender, vaa, unwrapNative?): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
          submitAttestation(vaa, payer?): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
          transfer(sender, recipient, token, amount, payload?): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
      }

      Type Parameters

      • N extends Network = Network
      • C extends Chain = Chain

      Methods

      • returns the original asset with its foreign chain

        -

        Parameters

        Returns Promise<TokenId<"Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">>

        The TokenId corresponding to the original asset and chain

        -
      • Returns the address of the native version of this asset

        -

        Parameters

        • foreignToken: TokenId<"Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">

          The token to check

          -

        Returns Promise<GetNativeAddress<ChainToPlatform<C>>>

        The address of the native version of this asset

        -
      • returns the wrapped version of the native asset

        -

        Returns Promise<GetNativeAddress<ChainToPlatform<C>>>

        The address of the native gas token that has been wrapped +

      • Returns the native address of the token. This may require fetching on-chain data.

        +

        Parameters

        • originChain: Chain

          The chain the token is from / native to

          +
        • token: UniversalAddress

          The address to get the native address for

          +

        Returns Promise<never>

        The native address of the token

        +
      • returns the wrapped version of the native asset

        +

        Returns Promise<never>

        The address of the native gas token that has been wrapped for use where the gas token is not possible to use (e.g. bridging)

        -
      • Check to see if a foreign token has a wrapped version

        -

        Parameters

        • foreignToken: TokenId<"Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia">

          The token to check

          +
      • Checks if a transfer VAA has been redeemed

        Parameters

        • vaa: VAA<"TokenBridge:Transfer"> | VAA<"TokenBridge:TransferWithPayload">

          The transfer VAA to check

        Returns Promise<boolean>

        true if the transfer has been redeemed

        -
      \ No newline at end of file +
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_definitions.TokenId.html b/docs/interfaces/_wormhole_foundation_sdk_definitions.TokenId.html index fafb95f74..9dc5dbe78 100644 --- a/docs/interfaces/_wormhole_foundation_sdk_definitions.TokenId.html +++ b/docs/interfaces/_wormhole_foundation_sdk_definitions.TokenId.html @@ -1,3 +1,3 @@ -TokenId | Wormhole TS SDK - v0.7.0

      A TokenId is a unique identifier for a token on a given chain

      +TokenId | Wormhole TS SDK - v1.13.2

      A TokenId is a unique identifier for a token on a given chain

      TokenId

      -
      interface TokenId<C> {}

      Type Parameters

      • C extends Chain = Chain
      \ No newline at end of file +
      interface TokenId<C> {}

      Type Parameters

      • C extends Chain = Chain
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_definitions.UnattestedTokenId.html b/docs/interfaces/_wormhole_foundation_sdk_definitions.UnattestedTokenId.html new file mode 100644 index 000000000..e73ab6ac7 --- /dev/null +++ b/docs/interfaces/_wormhole_foundation_sdk_definitions.UnattestedTokenId.html @@ -0,0 +1,3 @@ +UnattestedTokenId | Wormhole TS SDK - v1.13.2

      An UnattestedTokenId is used to represent a token that has not yet been attested / created

      +

      UnattestedTokenId

      +
      interface UnattestedTokenId<C> {}

      Type Parameters

      • C extends Chain = Chain
      \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_definitions.UnsignedTransaction.html b/docs/interfaces/_wormhole_foundation_sdk_definitions.UnsignedTransaction.html index 9d7ac6873..3646148d2 100644 --- a/docs/interfaces/_wormhole_foundation_sdk_definitions.UnsignedTransaction.html +++ b/docs/interfaces/_wormhole_foundation_sdk_definitions.UnsignedTransaction.html @@ -1,3 +1,3 @@ -UnsignedTransaction | Wormhole TS SDK - v0.7.0

      An unsigned transaction is a transaction that has not been signed +UnsignedTransaction | Wormhole TS SDK - v1.13.2

      An unsigned transaction is a transaction that has not been signed along with details about the transaction

      -
      interface UnsignedTransaction<N, C> {}

      Type Parameters

      • N extends Network = Network
      • C extends Chain = Chain

      Implemented by

        \ No newline at end of file +
        interface UnsignedTransaction<N, C> {}

        Type Parameters

        • N extends Network = Network
        • C extends Chain = Chain
        \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_definitions.VAA.html b/docs/interfaces/_wormhole_foundation_sdk_definitions.VAA.html index df803c7bb..292d4989a 100644 --- a/docs/interfaces/_wormhole_foundation_sdk_definitions.VAA.html +++ b/docs/interfaces/_wormhole_foundation_sdk_definitions.VAA.html @@ -1,4 +1,4 @@ -VAA | Wormhole TS SDK - v0.7.0

        A VAA is a Verifiable Action Assertion, a signed message that contains +VAA | Wormhole TS SDK - v1.13.2

        A VAA is a Verifiable Action Assertion, a signed message that contains information about an action that has occurred on a chain.

        See this link for more.

        -
        interface VAA<PL> {}

        Type Parameters

        • PL extends PayloadLiteral = PayloadLiteral

        Hierarchy

        • VAABase
          • VAA
        \ No newline at end of file +
        interface VAA<PL> {}

        Type Parameters

        • PL extends PayloadLiteral = PayloadLiteral

        Hierarchy

        • VAABase
          • VAA
        \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_definitions.WormholeCore.html b/docs/interfaces/_wormhole_foundation_sdk_definitions.WormholeCore.html index d50e7b556..3ce9ca87c 100644 --- a/docs/interfaces/_wormhole_foundation_sdk_definitions.WormholeCore.html +++ b/docs/interfaces/_wormhole_foundation_sdk_definitions.WormholeCore.html @@ -1,6 +1,6 @@ -WormholeCore | Wormhole TS SDK - v0.7.0

        WormholeCore provides a consistent interface to interact +WormholeCore | Wormhole TS SDK - v1.13.2

        WormholeCore provides a consistent interface to interact with the Wormhole core messaging protocol.

        -
        interface WormholeCore<N, C> {
            getGuardianSet(index): Promise<GuardianSet>;
            getGuardianSetIndex(): Promise<number>;
            getMessageFee(): Promise<bigint>;
            parseMessages(txid): Promise<VAA<"Uint8Array">[]>;
            parseTransaction(txid): Promise<WormholeMessageId[]>;
            publishMessage(sender, message, nonce, consistencyLevel): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
            verifyMessage(sender, vaa): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
        }

        Type Parameters

        • N extends Network = Network
        • C extends Chain = Chain

        Methods

        interface WormholeCore<N, C> {
            getGuardianSet(index): Promise<GuardianSet>;
            getGuardianSetIndex(): Promise<number>;
            getMessageFee(): Promise<bigint>;
            parseMessages(txid): Promise<VAA<"Uint8Array">[]>;
            parseTransaction(txid): Promise<WormholeMessageId[]>;
            publishMessage(sender, message, nonce, consistencyLevel): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
            verifyMessage(sender, vaa): AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>;
        }

        Type Parameters

        • N extends Network = Network
        • C extends Chain = Chain

        Methods

        • Parse a transaction to get the VAA message it produced

          +

          Parameters

          • index: number

          Returns Promise<GuardianSet>

        • Get the current guardian set index

          +

          Returns Promise<number>

        • Get the fee for publishing a message

          +

          Returns Promise<bigint>

        • Parse a transaction to get the VAA message it produced

          Parameters

          • txid: string

            the transaction hash to parse

          Returns Promise<VAA<"Uint8Array">[]>

          the VAA message produced by the transaction

          -
        • Publish a message

          +

          Parameters

          • sender: UniversalAddress

            The address of the sender

          • message: string | Uint8Array

            The message to send

          • nonce: number

            A number that may be set if needed for the application, may be 0 if unneeded

          • consistencyLevel: number

            The consistency level to reach before the guardians should sign the message see the docs for more information

          Returns AsyncGenerator<UnsignedTransaction<N, C>, any, unknown>

          a stream of unsigned transactions to be signed and submitted on chain

          -
        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_definitions.WormholeRegistry.PayloadLiteralToLayoutMapping.html b/docs/interfaces/_wormhole_foundation_sdk_definitions.WormholeRegistry.PayloadLiteralToLayoutMapping.html index 517eb67c0..c6678905b 100644 --- a/docs/interfaces/_wormhole_foundation_sdk_definitions.WormholeRegistry.PayloadLiteralToLayoutMapping.html +++ b/docs/interfaces/_wormhole_foundation_sdk_definitions.WormholeRegistry.PayloadLiteralToLayoutMapping.html @@ -1,2 +1,2 @@ -PayloadLiteralToLayoutMapping | Wormhole TS SDK - v0.7.0

        Map of PayloadLiteral name to its Layout

        -
        interface PayloadLiteralToLayoutMapping {}

        Hierarchy

        • RegisterPayloadTypes<"AutomaticCircleBridge", typeof automaticCircleBridgeNamedPayloads>
        • RegisterPayloadTypes<"CircleBridge", typeof circleBridgeNamedPayloads>
        • RegisterPayloadTypes<"PorticoBridge", typeof namedPayloads>
        • RegisterPayloadTypes<"TokenBridge", typeof tokenBridgeNamedPayloads>
        • RegisterPayloadTypes<"AutomaticTokenBridge", typeof automaticTokenBridgeNamedPayloads>
        • RegisterPayloadTypes<"WormholeCore", typeof coreBridgePayloads>
        • RegisterPayloadTypes<"TokenBridge", typeof tokenBridgePayloads>
        • RegisterPayloadTypes<"NftBridge", typeof nftBridgePayloads>
        • RegisterPayloadTypes<"Relayer", typeof relayerPayloads>
        • RegisterPayloadTypes<"CircleBridge", typeof cctpPayloads>
        • RegisterPayloadTypes<"Relayer", typeof namedPayloads>
          • PayloadLiteralToLayoutMapping
        \ No newline at end of file +PayloadLiteralToLayoutMapping | Wormhole TS SDK - v1.13.2

        Map of PayloadLiteral name to its Layout

        +
        interface PayloadLiteralToLayoutMapping {}

        Hierarchy

        • RegisterPayloadTypes<"AutomaticCircleBridge", typeof automaticCircleBridgeNamedPayloads>
        • RegisterPayloadTypes<"CircleBridge", typeof circleBridgeNamedPayloads>
        • RegisterPayloadTypes<"TokenBridge", typeof tokenBridgeNamedPayloads>
        • RegisterPayloadTypes<"PorticoBridge", typeof namedPayloads>
        • RegisterPayloadTypes<"AutomaticTokenBridge", typeof automaticTokenBridgeNamedPayloads>
        • RegisterPayloadTypes<"Relayer", typeof namedPayloads>
        • RegisterPayloadTypes<"WormholeCore", typeof coreBridgePayloads>
        • RegisterPayloadTypes<"TokenBridge", typeof tokenBridgePayloads>
        • RegisterPayloadTypes<"NftBridge", typeof nftBridgePayloads>
        • RegisterPayloadTypes<"Relayer", typeof relayerPayloads>
        • RegisterPayloadTypes<"CircleBridge", typeof cctpPayloads>
        • RegisterPayloadTypes<"IbcBridge", typeof ibcBridgePayloads>
        • RegisterPayloadTypes<"IbcReceiver", typeof ibcReceiverPayloads>
        • RegisterPayloadTypes<"GlobalAccountant", typeof globalAccountantPayloads>
        • RegisterPayloadTypes<"GeneralPurposeGovernance", typeof generalPurposeGovernancePayloads>
        • RegisterPayloadTypes<"WormchainGovernance", typeof wormchainGovernancePayloads>
        • RegisterPayloadTypes<"GatewayGovernance", typeof gatewayGovernancePayloads>
          • PayloadLiteralToLayoutMapping
        \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_definitions.WormholeRegistry.PlatformToNativeAddressMapping.html b/docs/interfaces/_wormhole_foundation_sdk_definitions.WormholeRegistry.PlatformToNativeAddressMapping.html index 964d8f5ea..654729a07 100644 --- a/docs/interfaces/_wormhole_foundation_sdk_definitions.WormholeRegistry.PlatformToNativeAddressMapping.html +++ b/docs/interfaces/_wormhole_foundation_sdk_definitions.WormholeRegistry.PlatformToNativeAddressMapping.html @@ -1,2 +1,2 @@ -PlatformToNativeAddressMapping | Wormhole TS SDK - v0.7.0

        Map of platform to native address parser

        -
        interface PlatformToNativeAddressMapping {}
        \ No newline at end of file +PlatformToNativeAddressMapping | Wormhole TS SDK - v1.13.2

        Map of platform to native address parser

        +
        interface PlatformToNativeAddressMapping {}
        \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_definitions.WormholeRegistry.ProtocolToInterfaceMapping.html b/docs/interfaces/_wormhole_foundation_sdk_definitions.WormholeRegistry.ProtocolToInterfaceMapping.html index 72fee2e8a..dc0b4e50f 100644 --- a/docs/interfaces/_wormhole_foundation_sdk_definitions.WormholeRegistry.ProtocolToInterfaceMapping.html +++ b/docs/interfaces/_wormhole_foundation_sdk_definitions.WormholeRegistry.ProtocolToInterfaceMapping.html @@ -1,2 +1,2 @@ -ProtocolToInterfaceMapping | Wormhole TS SDK - v0.7.0
        \ No newline at end of file +ProtocolToInterfaceMapping | Wormhole TS SDK - v1.13.2
        \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_definitions.WormholeRegistry.ProtocolToPlatformMapping.html b/docs/interfaces/_wormhole_foundation_sdk_definitions.WormholeRegistry.ProtocolToPlatformMapping.html index 81d606390..dc8ebe07f 100644 --- a/docs/interfaces/_wormhole_foundation_sdk_definitions.WormholeRegistry.ProtocolToPlatformMapping.html +++ b/docs/interfaces/_wormhole_foundation_sdk_definitions.WormholeRegistry.ProtocolToPlatformMapping.html @@ -1,2 +1,2 @@ -ProtocolToPlatformMapping | Wormhole TS SDK - v0.7.0
        \ No newline at end of file +ProtocolToPlatformMapping | Wormhole TS SDK - v1.13.2
        \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_solana_core.utils.PostMessageAccounts.html b/docs/interfaces/_wormhole_foundation_sdk_solana_core.utils.PostMessageAccounts.html index 1bb4d996d..8034ca1ab 100644 --- a/docs/interfaces/_wormhole_foundation_sdk_solana_core.utils.PostMessageAccounts.html +++ b/docs/interfaces/_wormhole_foundation_sdk_solana_core.utils.PostMessageAccounts.html @@ -1,2 +1,2 @@ -PostMessageAccounts | Wormhole TS SDK - v0.7.0

        All accounts required to make a cross-program invocation with the Core Bridge program

        -
        interface PostMessageAccounts {}
        \ No newline at end of file +PostMessageAccounts | Wormhole TS SDK - v1.13.2

        All accounts required to make a cross-program invocation with the Core Bridge program

        +
        interface PostMessageAccounts {}
        \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_solana_core.utils.PostMessageCpiAccounts.html b/docs/interfaces/_wormhole_foundation_sdk_solana_core.utils.PostMessageCpiAccounts.html index 2c686fd39..3835e44a0 100644 --- a/docs/interfaces/_wormhole_foundation_sdk_solana_core.utils.PostMessageCpiAccounts.html +++ b/docs/interfaces/_wormhole_foundation_sdk_solana_core.utils.PostMessageCpiAccounts.html @@ -1,10 +1,10 @@ -PostMessageCpiAccounts | Wormhole TS SDK - v0.7.0

        Accounts needed to perform post_message instruction.

        -
        interface PostMessageCpiAccounts {
            wormholeBridge: PublicKey;
            wormholeEmitter: PublicKey;
            wormholeFeeCollector: PublicKey;
            wormholeSequence: PublicKey;
        }

        Hierarchy (view full)

        Properties

        wormholeBridge +PostMessageCpiAccounts | Wormhole TS SDK - v1.13.2

        Accounts needed to perform post_message instruction.

        +
        interface PostMessageCpiAccounts {
            wormholeBridge: PublicKey;
            wormholeEmitter: PublicKey;
            wormholeFeeCollector: PublicKey;
            wormholeSequence: PublicKey;
        }

        Hierarchy (view full)

        Properties

        wormholeBridge: PublicKey

        seeds = ["Bridge"], seeds::program = wormholeProgram

        -
        wormholeEmitter: PublicKey

        seeds = ["emitter"], seeds::program = cpiProgramId

        -
        wormholeFeeCollector: PublicKey

        seeds = ["fee_collector"], seeds::program = wormholeProgram

        -
        wormholeSequence: PublicKey

        seeds = ["Sequence", wormholeEmitter], seeds::program = wormholeProgram

        -
        \ No newline at end of file +
        wormholeEmitter: PublicKey

        seeds = ["emitter"], seeds::program = cpiProgramId

        +
        wormholeFeeCollector: PublicKey

        seeds = ["fee_collector"], seeds::program = wormholeProgram

        +
        wormholeSequence: PublicKey

        seeds = ["Sequence", wormholeEmitter], seeds::program = wormholeProgram

        +
        \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_solana_core.utils.WormholeDerivedAccounts.html b/docs/interfaces/_wormhole_foundation_sdk_solana_core.utils.WormholeDerivedAccounts.html index ae745bdfd..2a92ca2f7 100644 --- a/docs/interfaces/_wormhole_foundation_sdk_solana_core.utils.WormholeDerivedAccounts.html +++ b/docs/interfaces/_wormhole_foundation_sdk_solana_core.utils.WormholeDerivedAccounts.html @@ -1,10 +1,10 @@ -WormholeDerivedAccounts | Wormhole TS SDK - v0.7.0

        Accounts derived from Wormhole program.

        -
        interface WormholeDerivedAccounts {
            wormholeBridge: PublicKey;
            wormholeEmitter: PublicKey;
            wormholeFeeCollector: PublicKey;
            wormholeSequence: PublicKey;
        }

        Hierarchy (view full)

        Properties

        wormholeBridge +WormholeDerivedAccounts | Wormhole TS SDK - v1.13.2

        Accounts derived from Wormhole program.

        +
        interface WormholeDerivedAccounts {
            wormholeBridge: PublicKey;
            wormholeEmitter: PublicKey;
            wormholeFeeCollector: PublicKey;
            wormholeSequence: PublicKey;
        }

        Hierarchy (view full)

        Properties

        wormholeBridge: PublicKey

        seeds = ["Bridge"], seeds::program = wormholeProgram

        -
        wormholeEmitter: PublicKey

        seeds = ["emitter"], seeds::program = cpiProgramId

        -
        wormholeFeeCollector: PublicKey

        seeds = ["fee_collector"], seeds::program = wormholeProgram

        -
        wormholeSequence: PublicKey

        seeds = ["Sequence", wormholeEmitter], seeds::program = wormholeProgram

        -
        \ No newline at end of file +
        wormholeEmitter: PublicKey

        seeds = ["emitter"], seeds::program = cpiProgramId

        +
        wormholeFeeCollector: PublicKey

        seeds = ["fee_collector"], seeds::program = wormholeProgram

        +
        wormholeSequence: PublicKey

        seeds = ["Sequence", wormholeEmitter], seeds::program = wormholeProgram

        +
        \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_solana_tokenbridge.CompleteTransferNativeWithPayloadCpiAccounts.html b/docs/interfaces/_wormhole_foundation_sdk_solana_tokenbridge.CompleteTransferNativeWithPayloadCpiAccounts.html index 132943216..20ed92620 100644 --- a/docs/interfaces/_wormhole_foundation_sdk_solana_tokenbridge.CompleteTransferNativeWithPayloadCpiAccounts.html +++ b/docs/interfaces/_wormhole_foundation_sdk_solana_tokenbridge.CompleteTransferNativeWithPayloadCpiAccounts.html @@ -1,5 +1,5 @@ -CompleteTransferNativeWithPayloadCpiAccounts | Wormhole TS SDK - v0.7.0

        Accounts needed to perform complete_native_with_payload instruction.

        -
        interface CompleteTransferNativeWithPayloadCpiAccounts {
            toTokenAccount: PublicKey;
            tokenBridgeClaim: PublicKey;
            tokenBridgeConfig: PublicKey;
            tokenBridgeCustody: PublicKey;
            tokenBridgeCustodySigner: PublicKey;
            tokenBridgeForeignEndpoint: PublicKey;
            tokenBridgeRedeemer: PublicKey;
            vaa: PublicKey;
        }

        Hierarchy

        • TokenBridgeNativeRedeemerDerivedAccounts
          • CompleteTransferNativeWithPayloadCpiAccounts

        Properties

        toTokenAccount +CompleteTransferNativeWithPayloadCpiAccounts | Wormhole TS SDK - v1.13.2

        Accounts needed to perform complete_native_with_payload instruction.

        +
        interface CompleteTransferNativeWithPayloadCpiAccounts {
            toTokenAccount: PublicKey;
            tokenBridgeClaim: PublicKey;
            tokenBridgeConfig: PublicKey;
            tokenBridgeCustody: PublicKey;
            tokenBridgeCustodySigner: PublicKey;
            tokenBridgeForeignEndpoint: PublicKey;
            tokenBridgeRedeemer: PublicKey;
            vaa: PublicKey;
        }

        Hierarchy

        • TokenBridgeNativeRedeemerDerivedAccounts
          • CompleteTransferNativeWithPayloadCpiAccounts

        Properties

        toTokenAccount: PublicKey

        Token account to receive tokens

        -
        tokenBridgeClaim: PublicKey

        seeds = [emitter_address, emitter_chain, sequence], seeds::program = tokenBridgeProgram

        -
        tokenBridgeConfig: PublicKey

        seeds = ["config"], seeds::program = tokenBridgeProgram

        -
        tokenBridgeCustody: PublicKey

        seeds = [mint], seeds::program = tokenBridgeProgram

        -
        tokenBridgeCustodySigner: PublicKey

        seeds = ["custody_signer"], seeds::program = tokenBridgeProgram

        -
        tokenBridgeForeignEndpoint: PublicKey

        seeds = [emitter_chain, emitter_address], seeds::program = tokenBridgeProgram

        -
        tokenBridgeRedeemer: PublicKey

        seeds = ["redeemer"], seeds::program = cpiProgramId

        -
        vaa: PublicKey

        seeds = ["PostedVAA", vaa_hash], seeds::program = wormholeProgram

        -
        \ No newline at end of file +
        tokenBridgeClaim: PublicKey

        seeds = [emitter_address, emitter_chain, sequence], seeds::program = tokenBridgeProgram

        +
        tokenBridgeConfig: PublicKey

        seeds = ["config"], seeds::program = tokenBridgeProgram

        +
        tokenBridgeCustody: PublicKey

        seeds = [mint], seeds::program = tokenBridgeProgram

        +
        tokenBridgeCustodySigner: PublicKey

        seeds = ["custody_signer"], seeds::program = tokenBridgeProgram

        +
        tokenBridgeForeignEndpoint: PublicKey

        seeds = [emitter_chain, emitter_address], seeds::program = tokenBridgeProgram

        +
        tokenBridgeRedeemer: PublicKey

        seeds = ["redeemer"], seeds::program = cpiProgramId

        +
        vaa: PublicKey

        seeds = ["PostedVAA", vaa_hash], seeds::program = wormholeProgram

        +
        \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_solana_tokenbridge.CompleteTransferWrappedWithPayloadCpiAccounts.html b/docs/interfaces/_wormhole_foundation_sdk_solana_tokenbridge.CompleteTransferWrappedWithPayloadCpiAccounts.html index e81120ba0..7579c893d 100644 --- a/docs/interfaces/_wormhole_foundation_sdk_solana_tokenbridge.CompleteTransferWrappedWithPayloadCpiAccounts.html +++ b/docs/interfaces/_wormhole_foundation_sdk_solana_tokenbridge.CompleteTransferWrappedWithPayloadCpiAccounts.html @@ -1,5 +1,5 @@ -CompleteTransferWrappedWithPayloadCpiAccounts | Wormhole TS SDK - v0.7.0

        Accounts needed to perform complete_wrapped_with_payload instruction.

        -
        interface CompleteTransferWrappedWithPayloadCpiAccounts {
            toTokenAccount: PublicKey;
            tokenBridgeClaim: PublicKey;
            tokenBridgeConfig: PublicKey;
            tokenBridgeForeignEndpoint: PublicKey;
            tokenBridgeMintAuthority: PublicKey;
            tokenBridgeRedeemer: PublicKey;
            tokenBridgeWrappedMeta: PublicKey;
            tokenBridgeWrappedMint: PublicKey;
            vaa: PublicKey;
        }

        Hierarchy

        • TokenBridgeWrappedRedeemerDerivedAccounts
          • CompleteTransferWrappedWithPayloadCpiAccounts

        Properties

        toTokenAccount +CompleteTransferWrappedWithPayloadCpiAccounts | Wormhole TS SDK - v1.13.2

        Accounts needed to perform complete_wrapped_with_payload instruction.

        +
        interface CompleteTransferWrappedWithPayloadCpiAccounts {
            toTokenAccount: PublicKey;
            tokenBridgeClaim: PublicKey;
            tokenBridgeConfig: PublicKey;
            tokenBridgeForeignEndpoint: PublicKey;
            tokenBridgeMintAuthority: PublicKey;
            tokenBridgeRedeemer: PublicKey;
            tokenBridgeWrappedMeta: PublicKey;
            tokenBridgeWrappedMint: PublicKey;
            vaa: PublicKey;
        }

        Hierarchy

        • TokenBridgeWrappedRedeemerDerivedAccounts
          • CompleteTransferWrappedWithPayloadCpiAccounts

        Properties

        toTokenAccount: PublicKey

        Token account to receive tokens

        -
        tokenBridgeClaim: PublicKey

        seeds = [emitter_address, emitter_chain, sequence], seeds::program = tokenBridgeProgram

        -
        tokenBridgeConfig: PublicKey

        seeds = ["config"], seeds::program = tokenBridgeProgram

        -
        tokenBridgeForeignEndpoint: PublicKey

        seeds = [emitter_chain, emitter_address], seeds::program = tokenBridgeProgram

        -
        tokenBridgeMintAuthority: PublicKey

        seeds = ["mint_signer"], seeds::program = tokenBridgeProgram

        -
        tokenBridgeRedeemer: PublicKey

        seeds = ["redeemer"], seeds::program = cpiProgramId

        -
        tokenBridgeWrappedMeta: PublicKey

        seeds = ["meta", mint], seeds::program = tokenBridgeProgram

        -
        tokenBridgeWrappedMint: PublicKey

        seeds = ["wrapped", token_chain, token_address], seeds::program = tokenBridgeProgram

        -
        vaa: PublicKey

        seeds = ["PostedVAA", vaa_hash], seeds::program = wormholeProgram

        -
        \ No newline at end of file +
        tokenBridgeClaim: PublicKey

        seeds = [emitter_address, emitter_chain, sequence], seeds::program = tokenBridgeProgram

        +
        tokenBridgeConfig: PublicKey

        seeds = ["config"], seeds::program = tokenBridgeProgram

        +
        tokenBridgeForeignEndpoint: PublicKey

        seeds = [emitter_chain, emitter_address], seeds::program = tokenBridgeProgram

        +
        tokenBridgeMintAuthority: PublicKey

        seeds = ["mint_signer"], seeds::program = tokenBridgeProgram

        +
        tokenBridgeRedeemer: PublicKey

        seeds = ["redeemer"], seeds::program = cpiProgramId

        +
        tokenBridgeWrappedMeta: PublicKey

        seeds = ["meta", mint], seeds::program = tokenBridgeProgram

        +
        tokenBridgeWrappedMint: PublicKey

        seeds = ["wrapped", token_chain, token_address], seeds::program = tokenBridgeProgram

        +
        vaa: PublicKey

        seeds = ["PostedVAA", vaa_hash], seeds::program = wormholeProgram

        +
        \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_solana_tokenbridge.TokenBridgeBaseDerivedAccounts.html b/docs/interfaces/_wormhole_foundation_sdk_solana_tokenbridge.TokenBridgeBaseDerivedAccounts.html index cb5f1932e..4cdb640c7 100644 --- a/docs/interfaces/_wormhole_foundation_sdk_solana_tokenbridge.TokenBridgeBaseDerivedAccounts.html +++ b/docs/interfaces/_wormhole_foundation_sdk_solana_tokenbridge.TokenBridgeBaseDerivedAccounts.html @@ -1,4 +1,4 @@ -TokenBridgeBaseDerivedAccounts | Wormhole TS SDK - v0.7.0

        Base Config Account for Token Bridge program.

        -
        interface TokenBridgeBaseDerivedAccounts {
            tokenBridgeConfig: PublicKey;
        }

        Hierarchy (view full)

        Properties

        tokenBridgeConfig +TokenBridgeBaseDerivedAccounts | Wormhole TS SDK - v1.13.2

        Base Config Account for Token Bridge program.

        +
        interface TokenBridgeBaseDerivedAccounts {
            tokenBridgeConfig: PublicKey;
        }

        Hierarchy (view full)

        Properties

        tokenBridgeConfig: PublicKey

        seeds = ["config"], seeds::program = tokenBridgeProgram

        -
        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_solana_tokenbridge.TokenBridgeBaseNativeDerivedAccounts.html b/docs/interfaces/_wormhole_foundation_sdk_solana_tokenbridge.TokenBridgeBaseNativeDerivedAccounts.html index 31c2beedc..b9bee9a39 100644 --- a/docs/interfaces/_wormhole_foundation_sdk_solana_tokenbridge.TokenBridgeBaseNativeDerivedAccounts.html +++ b/docs/interfaces/_wormhole_foundation_sdk_solana_tokenbridge.TokenBridgeBaseNativeDerivedAccounts.html @@ -1,6 +1,6 @@ -TokenBridgeBaseNativeDerivedAccounts | Wormhole TS SDK - v0.7.0

        Accounts derived from Token Bridge program for native assets.

        -
        interface TokenBridgeBaseNativeDerivedAccounts {
            tokenBridgeConfig: PublicKey;
            tokenBridgeCustodySigner: PublicKey;
        }

        Hierarchy (view full)

        Properties

        tokenBridgeConfig +TokenBridgeBaseNativeDerivedAccounts | Wormhole TS SDK - v1.13.2

        Accounts derived from Token Bridge program for native assets.

        +
        interface TokenBridgeBaseNativeDerivedAccounts {
            tokenBridgeConfig: PublicKey;
            tokenBridgeCustodySigner: PublicKey;
        }

        Hierarchy (view full)

        Properties

        tokenBridgeConfig: PublicKey

        seeds = ["config"], seeds::program = tokenBridgeProgram

        -
        tokenBridgeCustodySigner: PublicKey

        seeds = ["custody_signer"], seeds::program = tokenBridgeProgram

        -
        \ No newline at end of file +
        tokenBridgeCustodySigner: PublicKey

        seeds = ["custody_signer"], seeds::program = tokenBridgeProgram

        +
        \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_solana_tokenbridge.TokenBridgeDerivedAccounts.html b/docs/interfaces/_wormhole_foundation_sdk_solana_tokenbridge.TokenBridgeDerivedAccounts.html index 7996258b2..4502ec0e5 100644 --- a/docs/interfaces/_wormhole_foundation_sdk_solana_tokenbridge.TokenBridgeDerivedAccounts.html +++ b/docs/interfaces/_wormhole_foundation_sdk_solana_tokenbridge.TokenBridgeDerivedAccounts.html @@ -1,5 +1,5 @@ -TokenBridgeDerivedAccounts | Wormhole TS SDK - v0.7.0

        Accounts derived from Token Bridge program.

        -
        interface TokenBridgeDerivedAccounts {
            tokenBridgeAuthoritySigner: PublicKey;
            tokenBridgeConfig: PublicKey;
            tokenBridgeCustodySigner: PublicKey;
            tokenBridgeEmitter: PublicKey;
            tokenBridgeMintAuthority: PublicKey;
            tokenBridgeRedeemer: PublicKey;
            tokenBridgeSender: PublicKey;
            tokenBridgeSequence: PublicKey;
            wormholeBridge: PublicKey;
            wormholeFeeCollector: PublicKey;
        }

        Hierarchy

        • TokenBridgeNativeSenderDerivedAccounts
        • TokenBridgeWrappedSenderDerivedAccounts
        • TokenBridgeNativeRedeemerDerivedAccounts
        • TokenBridgeWrappedRedeemerDerivedAccounts
          • TokenBridgeDerivedAccounts

        Properties

        tokenBridgeAuthoritySigner +TokenBridgeDerivedAccounts | Wormhole TS SDK - v1.13.2

        Accounts derived from Token Bridge program.

        +
        interface TokenBridgeDerivedAccounts {
            tokenBridgeAuthoritySigner: PublicKey;
            tokenBridgeConfig: PublicKey;
            tokenBridgeCustodySigner: PublicKey;
            tokenBridgeEmitter: PublicKey;
            tokenBridgeMintAuthority: PublicKey;
            tokenBridgeRedeemer: PublicKey;
            tokenBridgeSender: PublicKey;
            tokenBridgeSequence: PublicKey;
            wormholeBridge: PublicKey;
            wormholeFeeCollector: PublicKey;
        }

        Hierarchy

        • TokenBridgeNativeSenderDerivedAccounts
        • TokenBridgeWrappedSenderDerivedAccounts
        • TokenBridgeNativeRedeemerDerivedAccounts
        • TokenBridgeWrappedRedeemerDerivedAccounts
          • TokenBridgeDerivedAccounts

        Properties

        tokenBridgeAuthoritySigner: PublicKey

        seeds = ["authority_signer"], seeds::program = tokenBridgeProgram

        -
        tokenBridgeConfig: PublicKey

        seeds = ["config"], seeds::program = tokenBridgeProgram

        -
        tokenBridgeCustodySigner: PublicKey

        seeds = ["custody_signer"], seeds::program = tokenBridgeProgram

        -
        tokenBridgeEmitter: PublicKey

        seeds = ["emitter"], seeds::program = tokenBridgeProgram

        -
        tokenBridgeMintAuthority: PublicKey

        seeds = ["mint_signer"], seeds::program = tokenBridgeProgram

        -
        tokenBridgeRedeemer: PublicKey

        seeds = ["redeemer"], seeds::program = cpiProgramId

        -
        tokenBridgeSender: PublicKey

        seeds = ["sender"], seeds::program = cpiProgramId

        -
        tokenBridgeSequence: PublicKey

        seeds = ["Sequence", tokenBridgeEmitter], seeds::program = wormholeProgram

        -
        wormholeBridge: PublicKey

        seeds = ["Bridge"], seeds::program = wormholeProgram

        -
        wormholeFeeCollector: PublicKey

        seeds = ["fee_collector"], seeds::program = wormholeProgram

        -
        \ No newline at end of file +
        tokenBridgeConfig: PublicKey

        seeds = ["config"], seeds::program = tokenBridgeProgram

        +
        tokenBridgeCustodySigner: PublicKey

        seeds = ["custody_signer"], seeds::program = tokenBridgeProgram

        +
        tokenBridgeEmitter: PublicKey

        seeds = ["emitter"], seeds::program = tokenBridgeProgram

        +
        tokenBridgeMintAuthority: PublicKey

        seeds = ["mint_signer"], seeds::program = tokenBridgeProgram

        +
        tokenBridgeRedeemer: PublicKey

        seeds = ["redeemer"], seeds::program = cpiProgramId

        +
        tokenBridgeSender: PublicKey

        seeds = ["sender"], seeds::program = cpiProgramId

        +
        tokenBridgeSequence: PublicKey

        seeds = ["Sequence", tokenBridgeEmitter], seeds::program = wormholeProgram

        +
        wormholeBridge: PublicKey

        seeds = ["Bridge"], seeds::program = wormholeProgram

        +
        wormholeFeeCollector: PublicKey

        seeds = ["fee_collector"], seeds::program = wormholeProgram

        +
        \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_solana_tokenbridge.TransferNativeWithPayloadCpiAccounts.html b/docs/interfaces/_wormhole_foundation_sdk_solana_tokenbridge.TransferNativeWithPayloadCpiAccounts.html index 6b5278a5c..3c068ad41 100644 --- a/docs/interfaces/_wormhole_foundation_sdk_solana_tokenbridge.TransferNativeWithPayloadCpiAccounts.html +++ b/docs/interfaces/_wormhole_foundation_sdk_solana_tokenbridge.TransferNativeWithPayloadCpiAccounts.html @@ -1,5 +1,5 @@ -TransferNativeWithPayloadCpiAccounts | Wormhole TS SDK - v0.7.0

        Accounts needed to perform transfer_native_with_payload instruction.

        -
        interface TransferNativeWithPayloadCpiAccounts {
            fromTokenAccount: PublicKey;
            tokenBridgeAuthoritySigner: PublicKey;
            tokenBridgeConfig: PublicKey;
            tokenBridgeCustody: PublicKey;
            tokenBridgeCustodySigner: PublicKey;
            tokenBridgeEmitter: PublicKey;
            tokenBridgeSender: PublicKey;
            tokenBridgeSequence: PublicKey;
            wormholeBridge: PublicKey;
            wormholeFeeCollector: PublicKey;
        }

        Hierarchy

        • TokenBridgeNativeSenderDerivedAccounts
          • TransferNativeWithPayloadCpiAccounts

        Properties

        fromTokenAccount +TransferNativeWithPayloadCpiAccounts | Wormhole TS SDK - v1.13.2

        Accounts needed to perform transfer_native_with_payload instruction.

        +
        interface TransferNativeWithPayloadCpiAccounts {
            fromTokenAccount: PublicKey;
            tokenBridgeAuthoritySigner: PublicKey;
            tokenBridgeConfig: PublicKey;
            tokenBridgeCustody: PublicKey;
            tokenBridgeCustodySigner: PublicKey;
            tokenBridgeEmitter: PublicKey;
            tokenBridgeSender: PublicKey;
            tokenBridgeSequence: PublicKey;
            wormholeBridge: PublicKey;
            wormholeFeeCollector: PublicKey;
        }

        Hierarchy

        • TokenBridgeNativeSenderDerivedAccounts
          • TransferNativeWithPayloadCpiAccounts

        Properties

        fromTokenAccount: PublicKey

        Token account where tokens reside

        -
        tokenBridgeAuthoritySigner: PublicKey

        seeds = ["authority_signer"], seeds::program = tokenBridgeProgram

        -
        tokenBridgeConfig: PublicKey

        seeds = ["config"], seeds::program = tokenBridgeProgram

        -
        tokenBridgeCustody: PublicKey

        seeds = [mint], seeds::program = tokenBridgeProgram

        -
        tokenBridgeCustodySigner: PublicKey

        seeds = ["custody_signer"], seeds::program = tokenBridgeProgram

        -
        tokenBridgeEmitter: PublicKey

        seeds = ["emitter"], seeds::program = tokenBridgeProgram

        -
        tokenBridgeSender: PublicKey

        seeds = ["sender"], seeds::program = cpiProgramId

        -
        tokenBridgeSequence: PublicKey

        seeds = ["Sequence", tokenBridgeEmitter], seeds::program = wormholeProgram

        -
        wormholeBridge: PublicKey

        seeds = ["Bridge"], seeds::program = wormholeProgram

        -
        wormholeFeeCollector: PublicKey

        seeds = ["fee_collector"], seeds::program = wormholeProgram

        -
        \ No newline at end of file +
        tokenBridgeAuthoritySigner: PublicKey

        seeds = ["authority_signer"], seeds::program = tokenBridgeProgram

        +
        tokenBridgeConfig: PublicKey

        seeds = ["config"], seeds::program = tokenBridgeProgram

        +
        tokenBridgeCustody: PublicKey

        seeds = [mint], seeds::program = tokenBridgeProgram

        +
        tokenBridgeCustodySigner: PublicKey

        seeds = ["custody_signer"], seeds::program = tokenBridgeProgram

        +
        tokenBridgeEmitter: PublicKey

        seeds = ["emitter"], seeds::program = tokenBridgeProgram

        +
        tokenBridgeSender: PublicKey

        seeds = ["sender"], seeds::program = cpiProgramId

        +
        tokenBridgeSequence: PublicKey

        seeds = ["Sequence", tokenBridgeEmitter], seeds::program = wormholeProgram

        +
        wormholeBridge: PublicKey

        seeds = ["Bridge"], seeds::program = wormholeProgram

        +
        wormholeFeeCollector: PublicKey

        seeds = ["fee_collector"], seeds::program = wormholeProgram

        +
        \ No newline at end of file diff --git a/docs/interfaces/_wormhole_foundation_sdk_solana_tokenbridge.TransferWrappedWithPayloadCpiAccounts.html b/docs/interfaces/_wormhole_foundation_sdk_solana_tokenbridge.TransferWrappedWithPayloadCpiAccounts.html index 8ef6887f5..56fd0dc35 100644 --- a/docs/interfaces/_wormhole_foundation_sdk_solana_tokenbridge.TransferWrappedWithPayloadCpiAccounts.html +++ b/docs/interfaces/_wormhole_foundation_sdk_solana_tokenbridge.TransferWrappedWithPayloadCpiAccounts.html @@ -1,5 +1,5 @@ -TransferWrappedWithPayloadCpiAccounts | Wormhole TS SDK - v0.7.0

        Accounts needed to perform transfer_wrapped_with_payload instruction.

        -
        interface TransferWrappedWithPayloadCpiAccounts {
            fromTokenAccount: PublicKey;
            fromTokenAccountOwner: PublicKey;
            tokenBridgeAuthoritySigner: PublicKey;
            tokenBridgeConfig: PublicKey;
            tokenBridgeEmitter: PublicKey;
            tokenBridgeSender: PublicKey;
            tokenBridgeSequence: PublicKey;
            tokenBridgeWrappedMeta: PublicKey;
            tokenBridgeWrappedMint: PublicKey;
            wormholeBridge: PublicKey;
            wormholeFeeCollector: PublicKey;
        }

        Hierarchy

        • TokenBridgeWrappedSenderDerivedAccounts
          • TransferWrappedWithPayloadCpiAccounts

        Properties

        fromTokenAccount +TransferWrappedWithPayloadCpiAccounts | Wormhole TS SDK - v1.13.2

        Accounts needed to perform transfer_wrapped_with_payload instruction.

        +
        interface TransferWrappedWithPayloadCpiAccounts {
            fromTokenAccount: PublicKey;
            fromTokenAccountOwner: PublicKey;
            tokenBridgeAuthoritySigner: PublicKey;
            tokenBridgeConfig: PublicKey;
            tokenBridgeEmitter: PublicKey;
            tokenBridgeSender: PublicKey;
            tokenBridgeSequence: PublicKey;
            tokenBridgeWrappedMeta: PublicKey;
            tokenBridgeWrappedMint: PublicKey;
            wormholeBridge: PublicKey;
            wormholeFeeCollector: PublicKey;
        }

        Hierarchy

        • TokenBridgeWrappedSenderDerivedAccounts
          • TransferWrappedWithPayloadCpiAccounts

        Properties

        fromTokenAccount: PublicKey

        Token account where tokens reside

        -
        fromTokenAccountOwner: PublicKey

        Token account owner (usually cpiProgramId)

        -
        tokenBridgeAuthoritySigner: PublicKey

        seeds = ["authority_signer"], seeds::program = tokenBridgeProgram

        -
        tokenBridgeConfig: PublicKey

        seeds = ["config"], seeds::program = tokenBridgeProgram

        -
        tokenBridgeEmitter: PublicKey

        seeds = ["emitter"], seeds::program = tokenBridgeProgram

        -
        tokenBridgeSender: PublicKey

        seeds = ["sender"], seeds::program = cpiProgramId

        -
        tokenBridgeSequence: PublicKey

        seeds = ["Sequence", tokenBridgeEmitter], seeds::program = wormholeProgram

        -
        tokenBridgeWrappedMeta: PublicKey

        seeds = ["meta", mint], seeds::program = tokenBridgeProgram

        -
        tokenBridgeWrappedMint: PublicKey

        seeds = ["wrapped", token_chain, token_address], seeds::program = tokenBridgeProgram

        -
        wormholeBridge: PublicKey

        seeds = ["Bridge"], seeds::program = wormholeProgram

        -
        wormholeFeeCollector: PublicKey

        seeds = ["fee_collector"], seeds::program = wormholeProgram

        -
        \ No newline at end of file +
        fromTokenAccountOwner: PublicKey

        Token account owner (usually cpiProgramId)

        +
        tokenBridgeAuthoritySigner: PublicKey

        seeds = ["authority_signer"], seeds::program = tokenBridgeProgram

        +
        tokenBridgeConfig: PublicKey

        seeds = ["config"], seeds::program = tokenBridgeProgram

        +
        tokenBridgeEmitter: PublicKey

        seeds = ["emitter"], seeds::program = tokenBridgeProgram

        +
        tokenBridgeSender: PublicKey

        seeds = ["sender"], seeds::program = cpiProgramId

        +
        tokenBridgeSequence: PublicKey

        seeds = ["Sequence", tokenBridgeEmitter], seeds::program = wormholeProgram

        +
        tokenBridgeWrappedMeta: PublicKey

        seeds = ["meta", mint], seeds::program = tokenBridgeProgram

        +
        tokenBridgeWrappedMint: PublicKey

        seeds = ["wrapped", token_chain, token_address], seeds::program = tokenBridgeProgram

        +
        wormholeBridge: PublicKey

        seeds = ["Bridge"], seeds::program = wormholeProgram

        +
        wormholeFeeCollector: PublicKey

        seeds = ["fee_collector"], seeds::program = wormholeProgram

        +
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk.html b/docs/modules/_wormhole_foundation_sdk.html index 4a242125b..057bd3642 100644 --- a/docs/modules/_wormhole_foundation_sdk.html +++ b/docs/modules/_wormhole_foundation_sdk.html @@ -1,4 +1,4 @@ -@wormhole-foundation/sdk - v0.7.0 | Wormhole TS SDK - v0.7.0

        Module @wormhole-foundation/sdk - v0.7.0

        Wormhole TS SDK

        The Wormhole Typescript SDK is useful for interacting with the chains Wormhole supports and the protocols built on top of Wormhole.

        +@wormhole-foundation/sdk - v1.0.3 | Wormhole TS SDK - v1.13.2

        Module @wormhole-foundation/sdk - v1.0.3

        Wormhole TS SDK

        The Wormhole Typescript SDK is useful for interacting with the chains Wormhole supports and the protocols built on top of Wormhole.

        Warning

        :warning: This package is a Work in Progress so the interface may change and there are likely bugs. Please report any issues you find. :warning:

        Installation

        Basic

        Install the (meta) package

        npm install @wormhole-foundation/sdk
        @@ -90,7 +90,7 @@
         

        Internally, this uses the TokenBridge protocol client to transfer tokens. The TokenBridge protocol, like other Protocols, provides a consistent set of methods across all chains to generate a set of transactions for that specific chain.

        Native USDC Transfers

        We can also transfer native USDC using Circle's CCTP

        -
          const xfer = await wh.circleTransfer(
        // amount as bigint (base units)
        req.amount,
        // sender chain/address
        src.address,
        // receiver chain/address
        dst.address,
        // automatic delivery boolean
        req.automatic,
        // payload to be sent with the transfer
        undefined,
        // If automatic, native gas can be requested to be sent to the receiver
        req.nativeGas,
        );

        // Note, if the transfer is requested to be Automatic, a fee for performing the relay
        // will be present in the quote. The fee comes out of the amount requested to be sent.
        // If the user wants to receive 1.0 on the destination, the amount to send should be 1.0 + fee.
        // The same applies for native gas dropoff
        const quote = await CircleTransfer.quoteTransfer(src.chain, dst.chain, xfer.transfer);
        console.log("Quote", quote);

        console.log("Starting Transfer");
        const srcTxids = await xfer.initiateTransfer(src.signer);
        console.log(`Started Transfer: `, srcTxids);

        if (req.automatic) {
        const relayStatus = await waitForRelay(srcTxids[srcTxids.length - 1]!);
        console.log(`Finished relay: `, relayStatus);
        return;
        }

        // Note: Depending on chain finality, this timeout may need to be increased.
        // See https://developers.circle.com/stablecoin/docs/cctp-technical-reference#mainnet for more
        console.log("Waiting for Attestation");
        const attestIds = await xfer.fetchAttestation(60_000);
        console.log(`Got Attestation: `, attestIds);

        console.log("Completing Transfer");
        const dstTxids = await xfer.completeTransfer(dst.signer);
        console.log(`Completed Transfer: `, dstTxids); +
          const xfer = await wh.circleTransfer(
        // amount as bigint (base units)
        req.amount,
        // sender chain/address
        src.address,
        // receiver chain/address
        dst.address,
        // automatic delivery boolean
        req.automatic,
        // payload to be sent with the transfer
        undefined,
        // If automatic, native gas can be requested to be sent to the receiver
        req.nativeGas,
        );

        // Note, if the transfer is requested to be Automatic, a fee for performing the relay
        // will be present in the quote. The fee comes out of the amount requested to be sent.
        // If the user wants to receive 1.0 on the destination, the amount to send should be 1.0 + fee.
        // The same applies for native gas dropoff
        const quote = await CircleTransfer.quoteTransfer(src.chain, dst.chain, xfer.transfer);
        console.log("Quote", quote);

        console.log("Starting Transfer");
        const srcTxids = await xfer.initiateTransfer(src.signer);
        console.log(`Started Transfer: `, srcTxids);

        // Note: Depending on chain finality, this timeout may need to be increased.
        // See https://developers.circle.com/stablecoin/docs/cctp-technical-reference#mainnet for more
        console.log("Waiting for Attestation");
        const attestIds = await xfer.fetchAttestation(60_000);
        console.log(`Got Attestation: `, attestIds);

        console.log("Completing Transfer");
        const dstTxids = await xfer.completeTransfer(dst.signer);
        console.log(`Completed Transfer: `, dstTxids);

        See example here

        @@ -137,7 +137,7 @@

        Once created, the resolver can be used to provide a list of input and possible output tokens.

        -
          // what tokens are available on the source chain?
        const srcTokens = await resolver.supportedSourceTokens(sendChain);
        console.log(
        "Allowed source tokens: ",
        srcTokens.map((t) => canonicalAddress(t)),
        );

        // given the send token, what can we possibly get on the destination chain?
        const destTokens = await resolver.supportedDestinationTokens(sendToken, sendChain, destChain);
        console.log(
        "For the given source token and routes configured, the following tokens may be receivable: ",
        destTokens.map((t) => canonicalAddress(t)),
        ); +
          const sendToken = Wormhole.tokenId(sendChain, "native");

        // given the send token, what can we possibly get on the destination chain?
        const destTokens = await resolver.supportedDestinationTokens(sendToken, sendChain, destChain);
        console.log(
        "For the given source token and routes configured, the following tokens may be receivable: ",
        destTokens.map((t) => canonicalAddress(t)),
        );

        See example here

        @@ -168,4 +168,4 @@

        Note: See the router.ts example in the examples directory for a full working example

        See also

        The tsdoc is available here

        Index

        Modules

        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk.index.AutomaticCircleBridge.html b/docs/modules/_wormhole_foundation_sdk.index.AutomaticCircleBridge.html deleted file mode 100644 index 70792e241..000000000 --- a/docs/modules/_wormhole_foundation_sdk.index.AutomaticCircleBridge.html +++ /dev/null @@ -1,2 +0,0 @@ -AutomaticCircleBridge | Wormhole TS SDK - v0.7.0

        Index

        Type Aliases

        VAA -
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk.index.AutomaticTokenBridge.html b/docs/modules/_wormhole_foundation_sdk.index.AutomaticTokenBridge.html deleted file mode 100644 index 2c1b53e97..000000000 --- a/docs/modules/_wormhole_foundation_sdk.index.AutomaticTokenBridge.html +++ /dev/null @@ -1,3 +0,0 @@ -AutomaticTokenBridge | Wormhole TS SDK - v0.7.0

        Index

        Type Aliases

        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk.index.CircleBridge.html b/docs/modules/_wormhole_foundation_sdk.index.CircleBridge.html deleted file mode 100644 index 974f231c9..000000000 --- a/docs/modules/_wormhole_foundation_sdk.index.CircleBridge.html +++ /dev/null @@ -1,3 +0,0 @@ -CircleBridge | Wormhole TS SDK - v0.7.0

        Index

        Type Aliases

        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk.index.PorticoBridge.html b/docs/modules/_wormhole_foundation_sdk.index.PorticoBridge.html deleted file mode 100644 index 2a896ac85..000000000 --- a/docs/modules/_wormhole_foundation_sdk.index.PorticoBridge.html +++ /dev/null @@ -1,3 +0,0 @@ -PorticoBridge | Wormhole TS SDK - v0.7.0

        Index

        Type Aliases

        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk.index.TokenBridge.html b/docs/modules/_wormhole_foundation_sdk.index.TokenBridge.html deleted file mode 100644 index 22f3440cd..000000000 --- a/docs/modules/_wormhole_foundation_sdk.index.TokenBridge.html +++ /dev/null @@ -1,4 +0,0 @@ -TokenBridge | Wormhole TS SDK - v0.7.0

        TokenBridge

        -

        Index

        Type Aliases

        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk.index.TokenTransfer.html b/docs/modules/_wormhole_foundation_sdk.index.TokenTransfer.html deleted file mode 100644 index ff1465e7f..000000000 --- a/docs/modules/_wormhole_foundation_sdk.index.TokenTransfer.html +++ /dev/null @@ -1,2 +0,0 @@ -TokenTransfer | Wormhole TS SDK - v0.7.0

        Index

        Variables

        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk.index.WormholeRegistry.html b/docs/modules/_wormhole_foundation_sdk.index.WormholeRegistry.html deleted file mode 100644 index e16004bdb..000000000 --- a/docs/modules/_wormhole_foundation_sdk.index.WormholeRegistry.html +++ /dev/null @@ -1,7 +0,0 @@ -WormholeRegistry | Wormhole TS SDK - v0.7.0

        WormholeRegistry is a namespace to provide consumers and downstream packages -a way to include their own custom implementations of protocols or native address parsers.

        -

        Index

        Interfaces

        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk.index.amount.html b/docs/modules/_wormhole_foundation_sdk.index.amount.html deleted file mode 100644 index f3f52ab18..000000000 --- a/docs/modules/_wormhole_foundation_sdk.index.amount.html +++ /dev/null @@ -1,11 +0,0 @@ -amount | Wormhole TS SDK - v0.7.0

        Index

        Interfaces

        Functions

        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk.index.api.html b/docs/modules/_wormhole_foundation_sdk.index.api.html deleted file mode 100644 index c5e52547b..000000000 --- a/docs/modules/_wormhole_foundation_sdk.index.api.html +++ /dev/null @@ -1,4 +0,0 @@ -api | Wormhole TS SDK - v0.7.0

        Index

        Interfaces

        Functions

        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk.index.decimals.html b/docs/modules/_wormhole_foundation_sdk.index.decimals.html deleted file mode 100644 index 54cb813a0..000000000 --- a/docs/modules/_wormhole_foundation_sdk.index.decimals.html +++ /dev/null @@ -1,2 +0,0 @@ -decimals | Wormhole TS SDK - v0.7.0

        Index

        Functions

        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk.index.encoding.html b/docs/modules/_wormhole_foundation_sdk.index.encoding.html deleted file mode 100644 index c630f7bc7..000000000 --- a/docs/modules/_wormhole_foundation_sdk.index.encoding.html +++ /dev/null @@ -1,7 +0,0 @@ -encoding | Wormhole TS SDK - v0.7.0

        Index

        Variables

        Functions

        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk.index.finality.html b/docs/modules/_wormhole_foundation_sdk.index.finality.html deleted file mode 100644 index de3af0ca1..000000000 --- a/docs/modules/_wormhole_foundation_sdk.index.finality.html +++ /dev/null @@ -1,4 +0,0 @@ -finality | Wormhole TS SDK - v0.7.0

        Index

        Functions

        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk.index.html b/docs/modules/_wormhole_foundation_sdk.index.html index 7945d16e9..c3ac2af52 100644 --- a/docs/modules/_wormhole_foundation_sdk.index.html +++ b/docs/modules/_wormhole_foundation_sdk.index.html @@ -1,77 +1,4 @@ -index | Wormhole TS SDK - v0.7.0

        Index

        Namespaces

        Classes

        Interfaces

        Type Aliases

        Functions

        blindDeserializePayload -canonicalAddress -createVAA -deserialize -deserializePayload -exhaustiveDeserialize -getContracts -loadPlatforms +index | Wormhole TS SDK - v1.13.2
        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk.index.routes.html b/docs/modules/_wormhole_foundation_sdk.index.routes.html deleted file mode 100644 index a2094bb5f..000000000 --- a/docs/modules/_wormhole_foundation_sdk.index.routes.html +++ /dev/null @@ -1,5 +0,0 @@ -routes | Wormhole TS SDK - v0.7.0

        Index

        Classes

        Functions

        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk.index.rpc.html b/docs/modules/_wormhole_foundation_sdk.index.rpc.html deleted file mode 100644 index 5b9e25374..000000000 --- a/docs/modules/_wormhole_foundation_sdk.index.rpc.html +++ /dev/null @@ -1,2 +0,0 @@ -rpc | Wormhole TS SDK - v0.7.0

        Index

        Functions

        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_algorand.html b/docs/modules/_wormhole_foundation_sdk_algorand.html index 06a5c1e05..5e128b2d8 100644 --- a/docs/modules/_wormhole_foundation_sdk_algorand.html +++ b/docs/modules/_wormhole_foundation_sdk_algorand.html @@ -1,8 +1,8 @@ -@wormhole-foundation/sdk-algorand - v0.7.0 | Wormhole TS SDK - v0.7.0

        Module @wormhole-foundation/sdk-algorand - v0.7.0

        Algorand Context

        Supported chains:

        +@wormhole-foundation/sdk-algorand - v1.0.3 | Wormhole TS SDK - v1.13.2

        Module @wormhole-foundation/sdk-algorand - v1.0.3

        Algorand Context

        Supported chains:

        • Algorand

        Index

        Algorand

        Other

        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_algorand_core.html b/docs/modules/_wormhole_foundation_sdk_algorand_core.html index b390709e3..66b89bf2c 100644 --- a/docs/modules/_wormhole_foundation_sdk_algorand_core.html +++ b/docs/modules/_wormhole_foundation_sdk_algorand_core.html @@ -1,5 +1,5 @@ -@wormhole-foundation/sdk-algorand-core - v0.7.0 | Wormhole TS SDK - v0.7.0

        Module @wormhole-foundation/sdk-algorand-core - v0.7.0

        Algorand Context

        Supported chains:

        +@wormhole-foundation/sdk-algorand-core - v1.0.3 | Wormhole TS SDK - v1.13.2

        Module @wormhole-foundation/sdk-algorand-core - v1.0.3

        Algorand Context

        Supported chains:

        • Algorand
        -
        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_algorand_tokenbridge.html b/docs/modules/_wormhole_foundation_sdk_algorand_tokenbridge.html index 3fbc648d1..347cb1aa7 100644 --- a/docs/modules/_wormhole_foundation_sdk_algorand_tokenbridge.html +++ b/docs/modules/_wormhole_foundation_sdk_algorand_tokenbridge.html @@ -1,5 +1,5 @@ -@wormhole-foundation/sdk-algorand-tokenbridge - v0.7.0 | Wormhole TS SDK - v0.7.0

        Module @wormhole-foundation/sdk-algorand-tokenbridge - v0.7.0

        Algorand Context

        Supported chains:

        +@wormhole-foundation/sdk-algorand-tokenbridge - v1.0.3 | Wormhole TS SDK - v1.13.2

        Module @wormhole-foundation/sdk-algorand-tokenbridge - v1.0.3

        Algorand Context

        Supported chains:

        • Algorand
        -
        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_base.amount.html b/docs/modules/_wormhole_foundation_sdk_base.amount.html index b7a495631..f9691f4f3 100644 --- a/docs/modules/_wormhole_foundation_sdk_base.amount.html +++ b/docs/modules/_wormhole_foundation_sdk_base.amount.html @@ -1,4 +1,4 @@ -amount | Wormhole TS SDK - v0.7.0

        Index

        Interfaces

        Amount +amount | Wormhole TS SDK - v1.13.2
        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_base.decimals.html b/docs/modules/_wormhole_foundation_sdk_base.decimals.html index d6d0ba8dc..2ba087e43 100644 --- a/docs/modules/_wormhole_foundation_sdk_base.decimals.html +++ b/docs/modules/_wormhole_foundation_sdk_base.decimals.html @@ -1,2 +1,2 @@ -decimals | Wormhole TS SDK - v0.7.0
        \ No newline at end of file +decimals | Wormhole TS SDK - v1.13.2
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_base.encoding.html b/docs/modules/_wormhole_foundation_sdk_base.encoding.html index e000fc578..3bf15b2d1 100644 --- a/docs/modules/_wormhole_foundation_sdk_base.encoding.html +++ b/docs/modules/_wormhole_foundation_sdk_base.encoding.html @@ -1,7 +1,7 @@ -encoding | Wormhole TS SDK - v0.7.0

        Index

        Variables

        b58 +encoding | Wormhole TS SDK - v1.13.2
        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_base.finality.html b/docs/modules/_wormhole_foundation_sdk_base.finality.html index 121f518b3..82a5136aa 100644 --- a/docs/modules/_wormhole_foundation_sdk_base.finality.html +++ b/docs/modules/_wormhole_foundation_sdk_base.finality.html @@ -1,4 +1,5 @@ -finality | Wormhole TS SDK - v0.7.0

        Index

        Functions

        blockTime +finality | Wormhole TS SDK - v1.13.2
        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_base.html b/docs/modules/_wormhole_foundation_sdk_base.html index 802ed9fc8..5d4bc97a9 100644 --- a/docs/modules/_wormhole_foundation_sdk_base.html +++ b/docs/modules/_wormhole_foundation_sdk_base.html @@ -1,4 +1,4 @@ -@wormhole-foundation/sdk-base - v0.7.0 | Wormhole TS SDK - v0.7.0

        Module @wormhole-foundation/sdk-base - v0.7.0

        SDK Core

        The SDK Core is broken into several logical subpackages

        +@wormhole-foundation/sdk-base - v1.0.3 | Wormhole TS SDK - v1.13.2

        Module @wormhole-foundation/sdk-base - v1.0.3

        SDK Core

        The SDK Core is broken into several logical subpackages

        Base

        The base package contains:

        • constants (e.g. contract addresses, RPC config, Finality, etc...)
        • @@ -16,4 +16,4 @@ encoding finality rpc -
        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_base.rpc.html b/docs/modules/_wormhole_foundation_sdk_base.rpc.html index 769b15eff..b2887d574 100644 --- a/docs/modules/_wormhole_foundation_sdk_base.rpc.html +++ b/docs/modules/_wormhole_foundation_sdk_base.rpc.html @@ -1,2 +1,2 @@ -rpc | Wormhole TS SDK - v0.7.0
        \ No newline at end of file +rpc | Wormhole TS SDK - v1.13.2
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_connect.AutomaticCircleBridge.html b/docs/modules/_wormhole_foundation_sdk_connect.AutomaticCircleBridge.html deleted file mode 100644 index f359f6550..000000000 --- a/docs/modules/_wormhole_foundation_sdk_connect.AutomaticCircleBridge.html +++ /dev/null @@ -1,2 +0,0 @@ -AutomaticCircleBridge | Wormhole TS SDK - v0.7.0

        Index

        Type Aliases

        VAA -
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_connect.AutomaticTokenBridge.html b/docs/modules/_wormhole_foundation_sdk_connect.AutomaticTokenBridge.html deleted file mode 100644 index 230e2db1a..000000000 --- a/docs/modules/_wormhole_foundation_sdk_connect.AutomaticTokenBridge.html +++ /dev/null @@ -1,3 +0,0 @@ -AutomaticTokenBridge | Wormhole TS SDK - v0.7.0

        Index

        Type Aliases

        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_connect.CircleBridge.html b/docs/modules/_wormhole_foundation_sdk_connect.CircleBridge.html deleted file mode 100644 index 5b6ce98d5..000000000 --- a/docs/modules/_wormhole_foundation_sdk_connect.CircleBridge.html +++ /dev/null @@ -1,3 +0,0 @@ -CircleBridge | Wormhole TS SDK - v0.7.0

        Index

        Type Aliases

        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_connect.PorticoBridge.html b/docs/modules/_wormhole_foundation_sdk_connect.PorticoBridge.html deleted file mode 100644 index 655260638..000000000 --- a/docs/modules/_wormhole_foundation_sdk_connect.PorticoBridge.html +++ /dev/null @@ -1,3 +0,0 @@ -PorticoBridge | Wormhole TS SDK - v0.7.0

        Index

        Type Aliases

        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_connect.TokenBridge.html b/docs/modules/_wormhole_foundation_sdk_connect.TokenBridge.html deleted file mode 100644 index 1e3ab3fb9..000000000 --- a/docs/modules/_wormhole_foundation_sdk_connect.TokenBridge.html +++ /dev/null @@ -1,4 +0,0 @@ -TokenBridge | Wormhole TS SDK - v0.7.0

        TokenBridge

        -

        Index

        Type Aliases

        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_connect.TokenTransfer.html b/docs/modules/_wormhole_foundation_sdk_connect.TokenTransfer.html index 09ef9fed0..564e6f78b 100644 --- a/docs/modules/_wormhole_foundation_sdk_connect.TokenTransfer.html +++ b/docs/modules/_wormhole_foundation_sdk_connect.TokenTransfer.html @@ -1,2 +1,2 @@ -TokenTransfer | Wormhole TS SDK - v0.7.0
        \ No newline at end of file +TokenTransfer | Wormhole TS SDK - v1.13.2
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_connect.WormholeRegistry.html b/docs/modules/_wormhole_foundation_sdk_connect.WormholeRegistry.html deleted file mode 100644 index 62fe06a6f..000000000 --- a/docs/modules/_wormhole_foundation_sdk_connect.WormholeRegistry.html +++ /dev/null @@ -1,7 +0,0 @@ -WormholeRegistry | Wormhole TS SDK - v0.7.0

        WormholeRegistry is a namespace to provide consumers and downstream packages -a way to include their own custom implementations of protocols or native address parsers.

        -

        Index

        Interfaces

        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_connect.amount.html b/docs/modules/_wormhole_foundation_sdk_connect.amount.html deleted file mode 100644 index 9fec4d91d..000000000 --- a/docs/modules/_wormhole_foundation_sdk_connect.amount.html +++ /dev/null @@ -1,11 +0,0 @@ -amount | Wormhole TS SDK - v0.7.0

        Index

        Interfaces

        Functions

        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_connect.api.html b/docs/modules/_wormhole_foundation_sdk_connect.api.html index 964f8a1cc..a5fffa2a2 100644 --- a/docs/modules/_wormhole_foundation_sdk_connect.api.html +++ b/docs/modules/_wormhole_foundation_sdk_connect.api.html @@ -1,4 +1,4 @@ -api | Wormhole TS SDK - v0.7.0

        Index

        Interfaces

        TransactionStatus +api | Wormhole TS SDK - v1.13.2
        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_connect.decimals.html b/docs/modules/_wormhole_foundation_sdk_connect.decimals.html deleted file mode 100644 index 1ce4d6584..000000000 --- a/docs/modules/_wormhole_foundation_sdk_connect.decimals.html +++ /dev/null @@ -1,2 +0,0 @@ -decimals | Wormhole TS SDK - v0.7.0

        Index

        Functions

        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_connect.encoding.html b/docs/modules/_wormhole_foundation_sdk_connect.encoding.html deleted file mode 100644 index db28219ae..000000000 --- a/docs/modules/_wormhole_foundation_sdk_connect.encoding.html +++ /dev/null @@ -1,7 +0,0 @@ -encoding | Wormhole TS SDK - v0.7.0

        Index

        Variables

        Functions

        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_connect.finality.html b/docs/modules/_wormhole_foundation_sdk_connect.finality.html deleted file mode 100644 index 13819146a..000000000 --- a/docs/modules/_wormhole_foundation_sdk_connect.finality.html +++ /dev/null @@ -1,4 +0,0 @@ -finality | Wormhole TS SDK - v0.7.0

        Index

        Functions

        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_connect.html b/docs/modules/_wormhole_foundation_sdk_connect.html index b2f4ddf61..a48a6238b 100644 --- a/docs/modules/_wormhole_foundation_sdk_connect.html +++ b/docs/modules/_wormhole_foundation_sdk_connect.html @@ -1,5 +1,5 @@ -@wormhole-foundation/sdk-connect - v0.7.0 | Wormhole TS SDK - v0.7.0

        Module @wormhole-foundation/sdk-connect - v0.7.0

        Wormhole TS SDK

        The Wormhole Typescript SDK is useful for interacting with the chains Wormhole supports and the protocols built on top of Wormhole.

        -

        Warning

        :warning: This package is a Work in Progress so the interface may change and there are likely bugs. Please report any issues you find. :warning:

        +@wormhole-foundation/sdk-connect - v1.0.3 | Wormhole TS SDK - v1.13.2

        Module @wormhole-foundation/sdk-connect - v1.0.3

        Wormhole TypeScript SDK

        npm version

        +

        The Wormhole Typescript SDK is useful for interacting with the chains Wormhole supports and the protocols built on top of Wormhole.

        Installation

        Basic

        Install the (meta) package

        npm install @wormhole-foundation/sdk
         
        @@ -7,7 +7,7 @@

        Advanced

        Alternatively, for an advanced user, install a specific set of the packages published.

        # constants
        npm install @wormhole-foundation/sdk-base
        # contract interfaces, basic types, vaa payload definitions
        npm install @wormhole-foundation/sdk-definitions
        # Evm specific utilities
        npm install @wormhole-foundation/sdk-evm
        # Evm TokenBridge protocol client
        npm install @wormhole-foundation/sdk-evm-tokenbridge
        -

        Usage

        Getting started is simple, just import Wormhole and the Platform modules you wish to support

        +

        Usage

        Getting started is simple, just import the 'meta' Wormhole package, that makes sure all Platform modules are installed.

        import { wormhole } from "@wormhole-foundation/sdk";
         
        @@ -31,7 +31,7 @@
          // Get the VAA from the wormhole message id
        const vaa = await wh.getVaa(
        // Wormhole Message ID
        whm!,
        // Protocol:Payload name to use for decoding the VAA payload
        "TokenBridge:Transfer",
        // Timeout in milliseconds, depending on the chain and network, the VAA may take some time to be available
        60_000,
        );
        -

        See example here

        +

        See example here

        @@ -44,7 +44,7 @@

        Concepts

        Understanding several higher level concepts of the SDK will help in using it effectively.

        Platforms

        Every chain is its own special snowflake but many of them share similar functionality. The Platform modules provide a consistent interface for interacting with the chains that share a platform.

        -

        Each platform can be installed separately so that dependencies can stay as slim as possible.

        +

        Each platform can be installed separately so that dependencies can stay as slim as possible.
        See all supported platforms here

        Chain Context

        The Wormhole class provides a getChain method that returns a ChainContext object for a given chain. This object provides access to the chain specific methods and utilities. Much of the functionality in the ChainContext is provided by the Platform methods but the specific chain may have overridden methods.

        The ChainContext object is also responsible for holding a cached rpc client and protocol clients.

        // Get the chain context for the source and destination chains
        // This is useful to grab direct clients for the protocols
        const srcChain = wh.getChain(senderAddress.chain);
        const dstChain = wh.getChain(receiverAddress.chain);

        const tb = await srcChain.getTokenBridge(); // => TokenBridge<'Evm'>
        srcChain.getRpcClient(); // => RpcClient<'Evm'> @@ -60,13 +60,36 @@
        // A Signer is an interface that must be provided to certain methods
        // in the SDK to sign transactions. It can be either a SignOnlySigner
        // or a SignAndSendSigner depending on circumstances.
        // A Signer can be implemented by wrapping an existing offline wallet
        // or a web wallet
        export type Signer = SignOnlySigner | SignAndSendSigner;

        // A SignOnlySender is for situations where the signer is not
        // connected to the network or does not wish to broadcast the
        // transactions themselves
        export interface SignOnlySigner {
        chain(): ChainName;
        address(): string;
        // Accept an array of unsigned transactions and return
        // an array of signed and serialized transactions.
        // The transactions may be inspected or altered before
        // signing.
        // Note: The serialization is chain specific, if in doubt,
        // see the example implementations linked below
        sign(tx: UnsignedTransaction[]): Promise<SignedTx[]>;
        }

        // A SignAndSendSigner is for situations where the signer is
        // connected to the network and wishes to broadcast the
        // transactions themselves
        export interface SignAndSendSigner {
        chain(): ChainName;
        address(): string;
        // Accept an array of unsigned transactions and return
        // an array of transaction ids in the same order as the
        // UnsignedTransactions array.
        signAndSend(tx: UnsignedTransaction[]): Promise<TxHash[]>;
        }

        See the testing signers (Evm, Solana, ...) for an example of how to implement a signer for a specific chain or platform.

        +

        VAAs

        Working with VAAs directly may be necessary. The SDK includes an entire layouting package to define the structure of a VAA payload and provides the ability to easily serialize and deserialize the VAAs or VAA payloads.

        +

        Using Uint8Array as the paylaod type will always work:

        + +
          // Create a fake vaa and serialize it to bytes
        // the first argument to `createVAA` describes the payload type
        // in this case, just a Uint8Array of bytes
        const fakeVaaBytes = serialize(
        createVAA("Uint8Array", {
        guardianSet: 0,
        timestamp: 0,
        nonce: 0,
        emitterChain: "Solana",
        emitterAddress: new UniversalAddress(new Uint8Array(32)),
        sequence: 0n,
        consistencyLevel: 0,
        signatures: [],
        payload: encoding.bytes.encode("hi"),
        }),
        );
        // Deserialize the VAA back into a data structure, in this case
        // decoding the payload back into bytes.
        // Using Uint8Array will always work but you can use a more specific payload layout type
        console.log(deserialize("Uint8Array", fakeVaaBytes)); +
        +

        See example here

        + + +

        But more specific types can be used

        + +
          // Create a token bridge VAA and serialize it
        // The payload type argument here is "TokenBridge:Transfer"
        // which is defined in the the TokenBridge protocol definition
        const tokenBridgeVaaBytes = serialize(
        createVAA("TokenBridge:Transfer", {
        guardianSet: 0,
        timestamp: 0,
        nonce: 0,
        emitterChain: "Solana",
        emitterAddress: new UniversalAddress(new Uint8Array(32)),
        sequence: 0n,
        consistencyLevel: 0,
        signatures: [],
        payload: {
        fee: 0n,
        token: {
        amount: 0n,
        address: new UniversalAddress(new Uint8Array(32)),
        chain: "Solana",
        },
        to: {
        chain: "Ethereum",
        address: new UniversalAddress(new Uint8Array(32)),
        },
        },
        }),
        );
        // Although we know the payload type is "TokenBridge:Transfer",
        // we can still deserialize it as a Uint8Array
        console.log(deserialize("Uint8Array", tokenBridgeVaaBytes));
        // Or use the correct payload type to get a more specific data structure
        console.log(deserialize("TokenBridge:Transfer", tokenBridgeVaaBytes)); +
        +

        See example here

        + + +

        Or define your own

        + +

        // First define a custom payload layout
        const customPayloadLayout = [
        // 2 byte integer
        { name: "bar", binary: "uint", size: 2 },
        // arbitrary bytes, note this will take the rest of the payload
        { name: "foo", binary: "bytes" },
        ] as const satisfies Layout;

        // Now serialize a VAA with the custom payload layout
        const customVaaBytes = serialize(
        createVAA("Uint8Array", {
        guardianSet: 0,
        timestamp: 0,
        nonce: 0,
        emitterChain: "Solana",
        emitterAddress: new UniversalAddress(new Uint8Array(32)),
        sequence: 0n,
        consistencyLevel: 0,
        signatures: [],
        // Using `serializeLayout` with the custom layout we created above
        payload: serializeLayout(customPayloadLayout, {
        bar: 42,
        foo: new Uint8Array([1, 2, 3]),
        }),
        }),
        );
        // Deserialize the VAA to get the custom payload
        const vaa = deserialize("Uint8Array", customVaaBytes);
        console.log(encoding.hex.encode(vaa.payload));
        console.log(deserializeLayout(customPayloadLayout, vaa.payload)); +
        +

        See example here

        + + +

        Protocols

        While Wormhole itself is a Generic Message Passing protocol, a number of protocols have been built on top of it to provide specific functionality.

        Each Protocol, if available, will have a Platform specific implementation. These implementations provide methods to generate transactions or read state from the contract on-chain.

        Wormhole Core

        The protocol that underlies all Wormhole activity is the Core protocol. This protocol is responsible for emitting the message containing the information necessary to perform bridging including Emitter address, the Sequence number for the message and the Payload of the message itself.

        -
          const wh = await wormhole("Testnet", [solana]);

        const chain = wh.getChain("Solana");
        const { signer, address } = await getSigner(chain);

        // Get a reference to the core messaging bridge
        const coreBridge = await chain.getWormholeCore();

        // Generate transactions, sign and send them
        const publishTxs = coreBridge.publishMessage(
        // Address of sender (emitter in VAA)
        address.address,
        // Message to send (payload in VAA)
        encoding.bytes.encode("lol"),
        // Nonce (user defined, no requirement for a specific value, useful to provide a unique identifier for the message)
        0,
        // ConsistencyLevel (ie finality of the message, see wormhole docs for more)
        0,
        );
        // Send the transaction(s) to publish the message
        const txids = await signSendWait(chain, publishTxs, signer);

        // Take the last txid in case multiple were sent
        // the last one should be the one containing the relevant
        // event or log info
        const txid = txids[txids.length - 1];

        // Grab the wormhole message id from the transaction logs or storage
        const [whm] = await chain.parseTransaction(txid!.txid);

        // Or pull the full message content as an Unsigned VAA
        // const msgs = await coreBridge.parseMessages(txid!.txid);
        // console.log(msgs);

        // Wait for the vaa to be signed and available with a timeout
        const vaa = await wh.getVaa(whm!, "Uint8Array", 60_000);
        console.log(vaa);
        // Also possible to search by txid but it takes longer to show up
        // console.log(await wh.getVaaByTxHash(txid!.txid, "Uint8Array"));

        const verifyTxs = coreBridge.verifyMessage(address.address, vaa!);
        console.log(await signSendWait(chain, verifyTxs, signer)); +
          const wh = await wormhole("Testnet", [solana, evm]);

        const chain = wh.getChain("Avalanche");
        const { signer, address } = await getSigner(chain);

        // Get a reference to the core messaging bridge
        const coreBridge = await chain.getWormholeCore();

        // Generate transactions, sign and send them
        const publishTxs = coreBridge.publishMessage(
        // Address of sender (emitter in VAA)
        address.address,
        // Message to send (payload in VAA)
        encoding.bytes.encode("lol"),
        // Nonce (user defined, no requirement for a specific value, useful to provide a unique identifier for the message)
        0,
        // ConsistencyLevel (ie finality of the message, see wormhole docs for more)
        0,
        );
        // Send the transaction(s) to publish the message
        const txids = await signSendWait(chain, publishTxs, signer);

        // Take the last txid in case multiple were sent
        // the last one should be the one containing the relevant
        // event or log info
        const txid = txids[txids.length - 1];

        // Grab the wormhole message id from the transaction logs or storage
        const [whm] = await chain.parseTransaction(txid!.txid);

        // Or pull the full message content as an Unsigned VAA
        // console.log(await coreBridge.parseMessages(txid!.txid));

        // Wait for the vaa to be signed and available with a timeout
        const vaa = await wh.getVaa(whm!, "Uint8Array", 60_000);
        console.log(vaa);

        // Also possible to search by txid but it takes longer to show up
        // console.log(await wh.getVaaByTxHash(txid!.txid, "Uint8Array"));

        // Note: calling verifyMessage manually is typically not a useful thing to do
        // as the VAA is typically submitted to the counterpart contract for
        // a given protocol and the counterpart contract will verify the VAA
        // this is simply for demo purposes
        const verifyTxs = coreBridge.verifyMessage(address.address, vaa!);
        console.log(await signSendWait(chain, verifyTxs, signer));
        -

        See example here

        +

        See example here

        Within the payload is the information necessary to perform whatever action is required based on the Protocol that uses it.

        @@ -90,7 +113,7 @@

        Internally, this uses the TokenBridge protocol client to transfer tokens. The TokenBridge protocol, like other Protocols, provides a consistent set of methods across all chains to generate a set of transactions for that specific chain.

        Native USDC Transfers

        We can also transfer native USDC using Circle's CCTP

        -
          const xfer = await wh.circleTransfer(
        // amount as bigint (base units)
        req.amount,
        // sender chain/address
        src.address,
        // receiver chain/address
        dst.address,
        // automatic delivery boolean
        req.automatic,
        // payload to be sent with the transfer
        undefined,
        // If automatic, native gas can be requested to be sent to the receiver
        req.nativeGas,
        );

        // Note, if the transfer is requested to be Automatic, a fee for performing the relay
        // will be present in the quote. The fee comes out of the amount requested to be sent.
        // If the user wants to receive 1.0 on the destination, the amount to send should be 1.0 + fee.
        // The same applies for native gas dropoff
        const quote = await CircleTransfer.quoteTransfer(src.chain, dst.chain, xfer.transfer);
        console.log("Quote", quote);

        console.log("Starting Transfer");
        const srcTxids = await xfer.initiateTransfer(src.signer);
        console.log(`Started Transfer: `, srcTxids);

        if (req.automatic) {
        const relayStatus = await waitForRelay(srcTxids[srcTxids.length - 1]!);
        console.log(`Finished relay: `, relayStatus);
        return;
        }

        // Note: Depending on chain finality, this timeout may need to be increased.
        // See https://developers.circle.com/stablecoin/docs/cctp-technical-reference#mainnet for more
        console.log("Waiting for Attestation");
        const attestIds = await xfer.fetchAttestation(60_000);
        console.log(`Got Attestation: `, attestIds);

        console.log("Completing Transfer");
        const dstTxids = await xfer.completeTransfer(dst.signer);
        console.log(`Completed Transfer: `, dstTxids); +
          const xfer = await wh.circleTransfer(
        // amount as bigint (base units)
        req.amount,
        // sender chain/address
        src.address,
        // receiver chain/address
        dst.address,
        // automatic delivery boolean
        req.automatic,
        // payload to be sent with the transfer
        undefined,
        // If automatic, native gas can be requested to be sent to the receiver
        req.nativeGas,
        );

        // Note, if the transfer is requested to be Automatic, a fee for performing the relay
        // will be present in the quote. The fee comes out of the amount requested to be sent.
        // If the user wants to receive 1.0 on the destination, the amount to send should be 1.0 + fee.
        // The same applies for native gas dropoff
        const quote = await CircleTransfer.quoteTransfer(src.chain, dst.chain, xfer.transfer);
        console.log("Quote", quote);

        console.log("Starting Transfer");
        const srcTxids = await xfer.initiateTransfer(src.signer);
        console.log(`Started Transfer: `, srcTxids);

        // Note: Depending on chain finality, this timeout may need to be increased.
        // See https://developers.circle.com/stablecoin/docs/cctp-technical-reference#mainnet for more
        console.log("Waiting for Attestation");
        const attestIds = await xfer.fetchAttestation(60_000);
        console.log(`Got Attestation: `, attestIds);

        console.log("Completing Transfer");
        const dstTxids = await xfer.completeTransfer(dst.signer);
        console.log(`Completed Transfer: `, dstTxids);

        See example here

        @@ -132,112 +155,42 @@
          // create new resolver, passing the set of routes to consider
        const resolver = wh.resolver([
        routes.TokenBridgeRoute, // manual token bridge
        routes.AutomaticTokenBridgeRoute, // automatic token bridge
        routes.CCTPRoute, // manual CCTP
        routes.AutomaticCCTPRoute, // automatic CCTP
        routes.AutomaticPorticoRoute, // Native eth transfers
        ]);
        -

        See example here

        +

        See example here

        Once created, the resolver can be used to provide a list of input and possible output tokens.

        -
          // what tokens are available on the source chain?
        const srcTokens = await resolver.supportedSourceTokens(sendChain);
        console.log(
        "Allowed source tokens: ",
        srcTokens.map((t) => canonicalAddress(t)),
        );

        // Grab the first one for the example
        // const sendToken = srcTokens[0]!;
        const sendToken = Wormhole.tokenId(sendChain.chain, "native");

        // given the send token, what can we possibly get on the destination chain?
        const destTokens = await resolver.supportedDestinationTokens(sendToken, sendChain, destChain);
        console.log(
        "For the given source token and routes configured, the following tokens may be receivable: ",
        destTokens.map((t) => canonicalAddress(t)),
        );
        //grab the first one for the example
        const destinationToken = destTokens[0]!; +
          const sendToken = Wormhole.tokenId(sendChain.chain, "native");

        // given the send token, what can we possibly get on the destination chain?
        const destTokens = await resolver.supportedDestinationTokens(sendToken, sendChain, destChain);
        console.log(
        "For the given source token and routes configured, the following tokens may be receivable: ",
        destTokens.map((t) => canonicalAddress(t)),
        );
        //grab the first one for the example
        const destinationToken = destTokens[0]!;
        -

        See example here

        +

        See example here

        Once the tokens are selected, a RouteTransferRequest may be created to provide a list of routes that can fulfil the request

        -
          // creating a transfer request fetches token details
        // since all routes will need to know about the tokens
        const tr = await routes.RouteTransferRequest.create(wh, {
        from: sender.address,
        to: receiver.address,
        source: sendToken,
        destination: destinationToken,
        });

        // resolve the transfer request to a set of routes that can perform it
        const foundRoutes = await resolver.findRoutes(tr);
        console.log("For the transfer parameters, we found these routes: ", foundRoutes); +
          // creating a transfer request fetches token details
        // since all routes will need to know about the tokens
        const tr = await routes.RouteTransferRequest.create(wh, {
        source: sendToken,
        destination: destinationToken,
        });

        // resolve the transfer request to a set of routes that can perform it
        const foundRoutes = await resolver.findRoutes(tr);
        console.log("For the transfer parameters, we found these routes: ", foundRoutes);
        -

        See example here

        +

        See example here

        Choosing the best route is currently left to the developer but strategies might include sorting by output amount or expected time to complete the transfer (no estimate currently provided).

        After choosing the best route, extra parameters like amount, nativeGasDropoff, and slippage can be passed, depending on the specific route selected and a quote can be retrieved with the validated request.

        -
          console.log("This route offers the following default options", bestRoute.getDefaultOptions());
        // Specify the amount as a decimal string
        const amt = "0.001";
        // Create the transfer params for this request
        const transferParams = { amount: amt, options: { nativeGas: 0 } };

        // validate the transfer params passed, this returns a new type of ValidatedTransferParams
        // which (believe it or not) is a validated version of the input params
        // this new var must be passed to the next step, quote
        const validated = await bestRoute.validate(transferParams);
        if (!validated.valid) throw validated.error;
        console.log("Validated parameters: ", validated.params);

        // get a quote for the transfer, this too returns a new type that must
        // be passed to the next step, execute (if you like the quote)
        const quote = await bestRoute.quote(validated.params);
        if (!quote.success) throw quote.error;
        console.log("Best route quote: ", quote); +
          console.log("This route offers the following default options", bestRoute.getDefaultOptions());
        // Specify the amount as a decimal string
        const amt = "0.001";
        // Create the transfer params for this request
        const transferParams = { amount: amt, options: { nativeGas: 0 } };

        // validate the transfer params passed, this returns a new type of ValidatedTransferParams
        // which (believe it or not) is a validated version of the input params
        // this new var must be passed to the next step, quote
        const validated = await bestRoute.validate(tr, transferParams);
        if (!validated.valid) throw validated.error;
        console.log("Validated parameters: ", validated.params);

        // get a quote for the transfer, this too returns a new type that must
        // be passed to the next step, execute (if you like the quote)
        const quote = await bestRoute.quote(tr, validated.params);
        if (!quote.success) throw quote.error;
        console.log("Best route quote: ", quote);
        -

        See example here

        +

        See example here

        Finally, assuming the quote looks good, the route can initiate the request with the quote and the signer

        -
            // Now the transfer may be initiated
        // A receipt will be returned, guess what you gotta do with that?
        const receipt = await bestRoute.initiate(sender.signer, quote);
        console.log("Initiated transfer with receipt: ", receipt); +
            // Now the transfer may be initiated
        // A receipt will be returned, guess what you gotta do with that?
        const receipt = await bestRoute.initiate(tr, sender.signer, quote, receiver.address);
        console.log("Initiated transfer with receipt: ", receipt);
        -

        See example here

        +

        See example here

        Note: See the router.ts example in the examples directory for a full working example

        See also

        The tsdoc is available here

        -

        Index

        Namespaces

        Index

        Namespaces

        Classes

        Interfaces

        Type Aliases

        Functions

        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_connect.routes.html b/docs/modules/_wormhole_foundation_sdk_connect.routes.html index 8318e7491..00a109867 100644 --- a/docs/modules/_wormhole_foundation_sdk_connect.routes.html +++ b/docs/modules/_wormhole_foundation_sdk_connect.routes.html @@ -1,5 +1,5 @@ -routes | Wormhole TS SDK - v0.7.0

        Index

        Classes

        AutomaticRoute +routes | Wormhole TS SDK - v1.13.2
        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_connect.rpc.html b/docs/modules/_wormhole_foundation_sdk_connect.rpc.html deleted file mode 100644 index 3d1f5f43c..000000000 --- a/docs/modules/_wormhole_foundation_sdk_connect.rpc.html +++ /dev/null @@ -1,2 +0,0 @@ -rpc | Wormhole TS SDK - v0.7.0

        Index

        Functions

        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_cosmwasm.html b/docs/modules/_wormhole_foundation_sdk_cosmwasm.html index e0efcbf5d..2070fbef7 100644 --- a/docs/modules/_wormhole_foundation_sdk_cosmwasm.html +++ b/docs/modules/_wormhole_foundation_sdk_cosmwasm.html @@ -1,4 +1,4 @@ -@wormhole-foundation/sdk-cosmwasm - v0.7.0 | Wormhole TS SDK - v0.7.0

        Module @wormhole-foundation/sdk-cosmwasm - v0.7.0

        Cosmwasm

        Stuff that idk what to do about yet

        +@wormhole-foundation/sdk-cosmwasm - v1.0.3 | Wormhole TS SDK - v1.13.2

        Module @wormhole-foundation/sdk-cosmwasm - v1.0.3

        Cosmwasm

        Stuff that idk what to do about yet

        RPC

        Right now, getRpc on the Platform type is sync, but the cosmjs client connect method is async. what do?

        Addresses

        Contract addresses are 32 bytes

        "Regular" addresses are 20 bytes

        @@ -8,4 +8,4 @@

        Index

        Cosmwasm

        Other

        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_cosmwasm_core.html b/docs/modules/_wormhole_foundation_sdk_cosmwasm_core.html index ff4d3301c..1189e31e8 100644 --- a/docs/modules/_wormhole_foundation_sdk_cosmwasm_core.html +++ b/docs/modules/_wormhole_foundation_sdk_cosmwasm_core.html @@ -1,8 +1,8 @@ -@wormhole-foundation/sdk-cosmwasm-core - v0.7.0 | Wormhole TS SDK - v0.7.0

        Module @wormhole-foundation/sdk-cosmwasm-core - v0.7.0

        Cosmwasm

        Stuff that idk what to do about yet

        +@wormhole-foundation/sdk-cosmwasm-core - v1.0.3 | Wormhole TS SDK - v1.13.2

        Module @wormhole-foundation/sdk-cosmwasm-core - v1.0.3

        Cosmwasm

        Stuff that idk what to do about yet

        RPC

        Right now, getRpc on the Platform type is sync, but the cosmjs client connect method is async. what do?

        Addresses

        Contract addresses are 32 bytes

        "Regular" addresses are 20 bytes

        Each chain has its own special prefix

        Transfers into cosmos

        Some knowledge of cosmos payload format is required to format the message correctly. This is somewhat similar to the need to understand Solana ATAs for transferring to Solana.

        Transfers between cosmos chains

        No attestation will be created since no VAA is created so fetchAttestation is a noop?

        -
        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_cosmwasm_ibc.html b/docs/modules/_wormhole_foundation_sdk_cosmwasm_ibc.html index a28846627..1409eee3c 100644 --- a/docs/modules/_wormhole_foundation_sdk_cosmwasm_ibc.html +++ b/docs/modules/_wormhole_foundation_sdk_cosmwasm_ibc.html @@ -1,8 +1,8 @@ -@wormhole-foundation/sdk-cosmwasm-ibc - v0.7.0 | Wormhole TS SDK - v0.7.0

        Module @wormhole-foundation/sdk-cosmwasm-ibc - v0.7.0

        Cosmwasm

        Stuff that idk what to do about yet

        +@wormhole-foundation/sdk-cosmwasm-ibc - v1.0.3 | Wormhole TS SDK - v1.13.2

        Module @wormhole-foundation/sdk-cosmwasm-ibc - v1.0.3

        Cosmwasm

        Stuff that idk what to do about yet

        RPC

        Right now, getRpc on the Platform type is sync, but the cosmjs client connect method is async. what do?

        Addresses

        Contract addresses are 32 bytes

        "Regular" addresses are 20 bytes

        Each chain has its own special prefix

        Transfers into cosmos

        Some knowledge of cosmos payload format is required to format the message correctly. This is somewhat similar to the need to understand Solana ATAs for transferring to Solana.

        Transfers between cosmos chains

        No attestation will be created since no VAA is created so fetchAttestation is a noop?

        -
        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_cosmwasm_tokenbridge.html b/docs/modules/_wormhole_foundation_sdk_cosmwasm_tokenbridge.html index 40527a2bd..9c530801e 100644 --- a/docs/modules/_wormhole_foundation_sdk_cosmwasm_tokenbridge.html +++ b/docs/modules/_wormhole_foundation_sdk_cosmwasm_tokenbridge.html @@ -1,8 +1,8 @@ -@wormhole-foundation/sdk-cosmwasm-tokenbridge - v0.7.0 | Wormhole TS SDK - v0.7.0

        Module @wormhole-foundation/sdk-cosmwasm-tokenbridge - v0.7.0

        Cosmwasm

        Stuff that idk what to do about yet

        +@wormhole-foundation/sdk-cosmwasm-tokenbridge - v1.0.3 | Wormhole TS SDK - v1.13.2

        Module @wormhole-foundation/sdk-cosmwasm-tokenbridge - v1.0.3

        Cosmwasm

        Stuff that idk what to do about yet

        RPC

        Right now, getRpc on the Platform type is sync, but the cosmjs client connect method is async. what do?

        Addresses

        Contract addresses are 32 bytes

        "Regular" addresses are 20 bytes

        Each chain has its own special prefix

        Transfers into cosmos

        Some knowledge of cosmos payload format is required to format the message correctly. This is somewhat similar to the need to understand Solana ATAs for transferring to Solana.

        Transfers between cosmos chains

        No attestation will be created since no VAA is created so fetchAttestation is a noop?

        -
        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_definitions.AutomaticCircleBridge.html b/docs/modules/_wormhole_foundation_sdk_definitions.AutomaticCircleBridge.html index ba8e0e952..249e6503c 100644 --- a/docs/modules/_wormhole_foundation_sdk_definitions.AutomaticCircleBridge.html +++ b/docs/modules/_wormhole_foundation_sdk_definitions.AutomaticCircleBridge.html @@ -1,2 +1,2 @@ -AutomaticCircleBridge | Wormhole TS SDK - v0.7.0
        \ No newline at end of file +AutomaticCircleBridge | Wormhole TS SDK - v1.13.2
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_definitions.AutomaticTokenBridge.html b/docs/modules/_wormhole_foundation_sdk_definitions.AutomaticTokenBridge.html index e7c42f1e1..26ad624be 100644 --- a/docs/modules/_wormhole_foundation_sdk_definitions.AutomaticTokenBridge.html +++ b/docs/modules/_wormhole_foundation_sdk_definitions.AutomaticTokenBridge.html @@ -1,3 +1,3 @@ -AutomaticTokenBridge | Wormhole TS SDK - v0.7.0

        Index

        Type Aliases

        ProtocolName +AutomaticTokenBridge | Wormhole TS SDK - v1.13.2
        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_definitions.CircleBridge.html b/docs/modules/_wormhole_foundation_sdk_definitions.CircleBridge.html index 9e5401fdc..7c7f28807 100644 --- a/docs/modules/_wormhole_foundation_sdk_definitions.CircleBridge.html +++ b/docs/modules/_wormhole_foundation_sdk_definitions.CircleBridge.html @@ -1,3 +1,3 @@ -CircleBridge | Wormhole TS SDK - v0.7.0

        Index

        Type Aliases

        Attestation +CircleBridge | Wormhole TS SDK - v1.13.2
        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_definitions.PorticoBridge.html b/docs/modules/_wormhole_foundation_sdk_definitions.PorticoBridge.html index de5a32d66..4d6ba2f12 100644 --- a/docs/modules/_wormhole_foundation_sdk_definitions.PorticoBridge.html +++ b/docs/modules/_wormhole_foundation_sdk_definitions.PorticoBridge.html @@ -1,3 +1,3 @@ -PorticoBridge | Wormhole TS SDK - v0.7.0

        Index

        Type Aliases

        ProtocolName +PorticoBridge | Wormhole TS SDK - v1.13.2
        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_definitions.TokenBridge.html b/docs/modules/_wormhole_foundation_sdk_definitions.TokenBridge.html index e0c0b1285..55327ddaf 100644 --- a/docs/modules/_wormhole_foundation_sdk_definitions.TokenBridge.html +++ b/docs/modules/_wormhole_foundation_sdk_definitions.TokenBridge.html @@ -1,4 +1,4 @@ -TokenBridge | Wormhole TS SDK - v0.7.0

        TokenBridge

        -

        Index

        Type Aliases

        ProtocolName +TokenBridge | Wormhole TS SDK - v1.13.2
        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_definitions.WormholeRegistry.html b/docs/modules/_wormhole_foundation_sdk_definitions.WormholeRegistry.html index 0e1fbf049..9b3f1defb 100644 --- a/docs/modules/_wormhole_foundation_sdk_definitions.WormholeRegistry.html +++ b/docs/modules/_wormhole_foundation_sdk_definitions.WormholeRegistry.html @@ -1,7 +1,7 @@ -WormholeRegistry | Wormhole TS SDK - v0.7.0

        WormholeRegistry is a namespace to provide consumers and downstream packages +WormholeRegistry | Wormhole TS SDK - v1.13.2

        WormholeRegistry is a namespace to provide consumers and downstream packages a way to include their own custom implementations of protocols or native address parsers.

        -

        Index

        Interfaces

        Index

        Interfaces

        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_definitions.html b/docs/modules/_wormhole_foundation_sdk_definitions.html index 05af15d31..e2f74d12f 100644 --- a/docs/modules/_wormhole_foundation_sdk_definitions.html +++ b/docs/modules/_wormhole_foundation_sdk_definitions.html @@ -1,4 +1,4 @@ -@wormhole-foundation/sdk-definitions - v0.7.0 | Wormhole TS SDK - v0.7.0

        Module @wormhole-foundation/sdk-definitions - v0.7.0

        Definitions SDK

        Replaces these files from old sdk:

        +@wormhole-foundation/sdk-definitions - v1.0.3 | Wormhole TS SDK - v1.13.2
        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_evm.html b/docs/modules/_wormhole_foundation_sdk_evm.html index 2de2777ee..d61411c25 100644 --- a/docs/modules/_wormhole_foundation_sdk_evm.html +++ b/docs/modules/_wormhole_foundation_sdk_evm.html @@ -1,4 +1,4 @@ -@wormhole-foundation/sdk-evm - v0.7.0 | Wormhole TS SDK - v0.7.0

        Module @wormhole-foundation/sdk-evm - v0.7.0

        EVM CONTEXT

        Supported chains:

        +@wormhole-foundation/sdk-evm - v1.0.3 | Wormhole TS SDK - v1.13.2

        Module @wormhole-foundation/sdk-evm - v1.0.3

        EVM CONTEXT

        Supported chains:

        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_evm_cctp.html b/docs/modules/_wormhole_foundation_sdk_evm_cctp.html index fd6bc70c3..0bc57eb77 100644 --- a/docs/modules/_wormhole_foundation_sdk_evm_cctp.html +++ b/docs/modules/_wormhole_foundation_sdk_evm_cctp.html @@ -1,4 +1,4 @@ -@wormhole-foundation/sdk-evm-cctp - v0.7.0 | Wormhole TS SDK - v0.7.0

        Module @wormhole-foundation/sdk-evm-cctp - v0.7.0

        EVM CONTEXT

        Supported chains:

        +@wormhole-foundation/sdk-evm-cctp - v1.0.3 | Wormhole TS SDK - v1.13.2

        Module @wormhole-foundation/sdk-evm-cctp - v1.0.3

        EVM CONTEXT

        Supported chains:

        • Ethereum
        • Moonbeam
        • @@ -8,4 +8,4 @@
        • Avalanche
        • Fantom
        -
        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_evm_core.html b/docs/modules/_wormhole_foundation_sdk_evm_core.html index c21392407..50fc6412a 100644 --- a/docs/modules/_wormhole_foundation_sdk_evm_core.html +++ b/docs/modules/_wormhole_foundation_sdk_evm_core.html @@ -1,4 +1,4 @@ -@wormhole-foundation/sdk-evm-core - v0.7.0 | Wormhole TS SDK - v0.7.0

        Module @wormhole-foundation/sdk-evm-core - v0.7.0

        EVM CONTEXT

        Supported chains:

        +@wormhole-foundation/sdk-evm-core - v1.0.3 | Wormhole TS SDK - v1.13.2

        Module @wormhole-foundation/sdk-evm-core - v1.0.3

        EVM CONTEXT

        Supported chains:

        • Ethereum
        • Moonbeam
        • @@ -8,4 +8,4 @@
        • Avalanche
        • Fantom
        -
        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_evm_tokenbridge.html b/docs/modules/_wormhole_foundation_sdk_evm_tokenbridge.html index 5bfa6694d..9f63725ff 100644 --- a/docs/modules/_wormhole_foundation_sdk_evm_tokenbridge.html +++ b/docs/modules/_wormhole_foundation_sdk_evm_tokenbridge.html @@ -1,4 +1,4 @@ -@wormhole-foundation/sdk-evm-tokenbridge - v0.7.0 | Wormhole TS SDK - v0.7.0

        Module @wormhole-foundation/sdk-evm-tokenbridge - v0.7.0

        EVM CONTEXT

        Supported chains:

        +@wormhole-foundation/sdk-evm-tokenbridge - v1.0.3 | Wormhole TS SDK - v1.13.2

        Module @wormhole-foundation/sdk-evm-tokenbridge - v1.0.3

        EVM CONTEXT

        Supported chains:

        • Ethereum
        • Moonbeam
        • @@ -8,4 +8,4 @@
        • Avalanche
        • Fantom
        -
        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_solana.html b/docs/modules/_wormhole_foundation_sdk_solana.html index ee67ab159..efe56382a 100644 --- a/docs/modules/_wormhole_foundation_sdk_solana.html +++ b/docs/modules/_wormhole_foundation_sdk_solana.html @@ -1,4 +1,4 @@ -@wormhole-foundation/sdk-solana - v0.7.0 | Wormhole TS SDK - v0.7.0

        Module @wormhole-foundation/sdk-solana - v0.7.0

        Solana Context

        Index

        Other

        utils +@wormhole-foundation/sdk-solana - v1.0.3 | Wormhole TS SDK - v1.13.2
        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_solana.utils.html b/docs/modules/_wormhole_foundation_sdk_solana.utils.html index 20dbe107f..315675d9e 100644 --- a/docs/modules/_wormhole_foundation_sdk_solana.utils.html +++ b/docs/modules/_wormhole_foundation_sdk_solana.utils.html @@ -1,5 +1,4 @@ -utils | Wormhole TS SDK - v0.7.0

        Index

        Functions

        deriveAddress -getAccountData +utils | Wormhole TS SDK - v1.13.2
        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_solana_core.html b/docs/modules/_wormhole_foundation_sdk_solana_core.html index 8e9fee3b8..e8ad72640 100644 --- a/docs/modules/_wormhole_foundation_sdk_solana_core.html +++ b/docs/modules/_wormhole_foundation_sdk_solana_core.html @@ -1,3 +1,3 @@ -@wormhole-foundation/sdk-solana-core - v0.7.0 | Wormhole TS SDK - v0.7.0

        Module @wormhole-foundation/sdk-solana-core - v0.7.0

        Solana Context

        Index

        Namespaces

        utils +@wormhole-foundation/sdk-solana-core - v1.0.3 | Wormhole TS SDK - v1.13.2

        Module @wormhole-foundation/sdk-solana-core - v1.0.3

        Solana Context

        Index

        Namespaces

        Variables

        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_solana_core.utils.html b/docs/modules/_wormhole_foundation_sdk_solana_core.utils.html index 15defb5b7..754f8107d 100644 --- a/docs/modules/_wormhole_foundation_sdk_solana_core.utils.html +++ b/docs/modules/_wormhole_foundation_sdk_solana_core.utils.html @@ -1,8 +1,8 @@ -utils | Wormhole TS SDK - v0.7.0

        Index

        Interfaces

        PostMessageAccounts +utils | Wormhole TS SDK - v1.13.2
        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/modules/_wormhole_foundation_sdk_solana_tokenbridge.html b/docs/modules/_wormhole_foundation_sdk_solana_tokenbridge.html index 4200d5571..203cfc16a 100644 --- a/docs/modules/_wormhole_foundation_sdk_solana_tokenbridge.html +++ b/docs/modules/_wormhole_foundation_sdk_solana_tokenbridge.html @@ -1,4 +1,4 @@ -@wormhole-foundation/sdk-solana-tokenbridge - v0.7.0 | Wormhole TS SDK - v0.7.0

        Module @wormhole-foundation/sdk-solana-tokenbridge - v0.7.0

        Solana Context

        Index

        Interfaces

        CompleteTransferNativeWithPayloadCpiAccounts +@wormhole-foundation/sdk-solana-tokenbridge - v1.0.3 | Wormhole TS SDK - v1.13.2
        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk.index.AccountAddress.html b/docs/types/_wormhole_foundation_sdk.index.AccountAddress.html deleted file mode 100644 index c4e1aded1..000000000 --- a/docs/types/_wormhole_foundation_sdk.index.AccountAddress.html +++ /dev/null @@ -1,2 +0,0 @@ -AccountAddress | Wormhole TS SDK - v0.7.0
        AccountAddress<C>: UniversalOrNative<C>

        An address that represents an account

        -

        Type Parameters

        • C extends Chain
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk.index.Attestation.html b/docs/types/_wormhole_foundation_sdk.index.Attestation.html deleted file mode 100644 index 1933e74f5..000000000 --- a/docs/types/_wormhole_foundation_sdk.index.Attestation.html +++ /dev/null @@ -1,2 +0,0 @@ -Attestation | Wormhole TS SDK - v0.7.0
        Attestation<PN>: PN extends "TokenBridge" | "AutomaticTokenBridge"
            ? AutomaticTokenBridge.VAA | TokenBridge.VAA
            : PN extends "AutomaticCircleBridge"
                ? AutomaticCircleBridge.VAA | CircleBridge.Attestation
                : PN extends "CircleBridge"
                    ? CircleBridge.Attestation
                    : PN extends "IbcBridge"
                        ? IbcTransferData
                        : PN extends "WormholeCore"
                            ? VAA<"Uint8Array">
                            : PN extends "PorticoBridge"
                                ? PorticoBridge.VAA
                                : any

        The full attestation that represents evidence of a transaction

        -

        Type Parameters

        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk.index.AttestationId.html b/docs/types/_wormhole_foundation_sdk.index.AttestationId.html deleted file mode 100644 index 12760f0d1..000000000 --- a/docs/types/_wormhole_foundation_sdk.index.AttestationId.html +++ /dev/null @@ -1,2 +0,0 @@ -AttestationId | Wormhole TS SDK - v0.7.0
        AttestationId<PN>: PN extends "TokenBridge" | "AutomaticTokenBridge" | "WormholeCore" | "PorticoBridge" | "AutomaticCircleBridge"
            ? WormholeMessageId
            : PN extends "AutomaticCircleBridge"
                ? WormholeMessageId | CircleMessageId
                : PN extends "CircleBridge"
                    ? CircleMessageId
                    : PN extends "IbcBridge"
                        ? IbcMessageId
                        : any

        The Identifier of an attestation, useful to look up the full attestation

        -

        Type Parameters

        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk.index.AutomaticCircleBridge.VAA.html b/docs/types/_wormhole_foundation_sdk.index.AutomaticCircleBridge.VAA.html deleted file mode 100644 index 668b33a1d..000000000 --- a/docs/types/_wormhole_foundation_sdk.index.AutomaticCircleBridge.VAA.html +++ /dev/null @@ -1,2 +0,0 @@ -VAA | Wormhole TS SDK - v0.7.0
        VAA<PayloadName>: ProtocolVAA<ProtocolName, PayloadName>

        The VAA types that are emitted from the AutomaticCirlceBridge protocol

        -

        Type Parameters

        • PayloadName extends PayloadNames = PayloadNames
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk.index.AutomaticTokenBridge.ProtocolName.html b/docs/types/_wormhole_foundation_sdk.index.AutomaticTokenBridge.ProtocolName.html deleted file mode 100644 index 25ae9ffdd..000000000 --- a/docs/types/_wormhole_foundation_sdk.index.AutomaticTokenBridge.ProtocolName.html +++ /dev/null @@ -1,2 +0,0 @@ -ProtocolName | Wormhole TS SDK - v0.7.0
        ProtocolName: typeof _protocol

        The compile time type of the AutomaticTokenBridge protocol

        -
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk.index.AutomaticTokenBridge.VAA.html b/docs/types/_wormhole_foundation_sdk.index.AutomaticTokenBridge.VAA.html deleted file mode 100644 index b18053896..000000000 --- a/docs/types/_wormhole_foundation_sdk.index.AutomaticTokenBridge.VAA.html +++ /dev/null @@ -1,2 +0,0 @@ -VAA | Wormhole TS SDK - v0.7.0

        The VAAs emitted from the AutomaticTokenBridge protocol

        -

        Type Parameters

        • PayloadName extends PayloadNames = PayloadNames
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk.index.ChainAddress.html b/docs/types/_wormhole_foundation_sdk.index.ChainAddress.html deleted file mode 100644 index f6bb66a97..000000000 --- a/docs/types/_wormhole_foundation_sdk.index.ChainAddress.html +++ /dev/null @@ -1,3 +0,0 @@ -ChainAddress | Wormhole TS SDK - v0.7.0
        ChainAddress<C>: {
            address: UniversalOrNative<C>;
            chain: C;
        }

        ChainAddress represents the parsed address for a given chain -and comes with the context of which chain its relevant for

        -

        Type Parameters

        • C extends Chain = Chain

        Type declaration

        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk.index.ChainConfig.html b/docs/types/_wormhole_foundation_sdk.index.ChainConfig.html deleted file mode 100644 index 9037eb4b7..000000000 --- a/docs/types/_wormhole_foundation_sdk.index.ChainConfig.html +++ /dev/null @@ -1,10 +0,0 @@ -ChainConfig | Wormhole TS SDK - v0.7.0
        ChainConfig<N, C>: {
            blockTime: number;
            chainId: number;
            contracts: Contracts;
            explorer?: explorer.ExplorerSettings;
            finalityThreshold: number;
            key: C;
            nativeChainId: string | bigint;
            nativeTokenDecimals: number;
            network: N;
            platform: ChainToPlatform<C>;
            rpc: string;
            tokenMap?: ChainTokens;
            wrappedNative?: Token;
        }

        Configuration for a given Chain

        -

        Type Parameters

        • N extends Network
        • C extends Chain

        Type declaration

        • blockTime: number

          Average block time in milliseconds

          -
        • chainId: number

          Wormhole Chain Id for this chain

          -
        • contracts: Contracts

          Contract addresses for this chain

          -
        • Optional explorer?: explorer.ExplorerSettings
        • finalityThreshold: number

          Number of blocks before a transaction is considered final

          -
        • key: C
        • nativeChainId: string | bigint

          Native chain id may be eip155 or genesis hash or network moninker or something else -depending on the platform

          -
        • nativeTokenDecimals: number

          Number of decimal places for the native gas token (e.g. 18 for ETH)

          -
        • network: N
        • platform: ChainToPlatform<C>
        • rpc: string

          Rpc address for this chain

          -
        • Optional tokenMap?: ChainTokens
        • Optional wrappedNative?: Token
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk.index.CircleAttestation.html b/docs/types/_wormhole_foundation_sdk.index.CircleAttestation.html deleted file mode 100644 index ee4410e74..000000000 --- a/docs/types/_wormhole_foundation_sdk.index.CircleAttestation.html +++ /dev/null @@ -1,2 +0,0 @@ -CircleAttestation | Wormhole TS SDK - v0.7.0
        CircleAttestation: string

        Attestation from circle attestation api

        -
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk.index.CircleBridge.Attestation.html b/docs/types/_wormhole_foundation_sdk.index.CircleBridge.Attestation.html deleted file mode 100644 index c82c1978b..000000000 --- a/docs/types/_wormhole_foundation_sdk.index.CircleBridge.Attestation.html +++ /dev/null @@ -1,2 +0,0 @@ -Attestation | Wormhole TS SDK - v0.7.0
        Attestation: {
            attestation?: string;
            message: Message;
        }

        Circle message and attestation if available

        -

        Type declaration

        • Optional attestation?: string
        • message: Message
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk.index.CircleBridge.ProtocolName.html b/docs/types/_wormhole_foundation_sdk.index.CircleBridge.ProtocolName.html deleted file mode 100644 index b2e6a721d..000000000 --- a/docs/types/_wormhole_foundation_sdk.index.CircleBridge.ProtocolName.html +++ /dev/null @@ -1,2 +0,0 @@ -ProtocolName | Wormhole TS SDK - v0.7.0
        ProtocolName: typeof _protocol

        The compile time type for the CircleBridge protocol

        -
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk.index.CircleMessageId.html b/docs/types/_wormhole_foundation_sdk.index.CircleMessageId.html deleted file mode 100644 index 5e181b2f3..000000000 --- a/docs/types/_wormhole_foundation_sdk.index.CircleMessageId.html +++ /dev/null @@ -1,3 +0,0 @@ -CircleMessageId | Wormhole TS SDK - v0.7.0
        CircleMessageId: {
            hash: string;
        }

        Circle Message Identifier -Used to fetch a Circle attestation

        -

        Type declaration

        • hash: string
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk.index.Contracts.html b/docs/types/_wormhole_foundation_sdk.index.Contracts.html deleted file mode 100644 index 24f83a27c..000000000 --- a/docs/types/_wormhole_foundation_sdk.index.Contracts.html +++ /dev/null @@ -1,2 +0,0 @@ -Contracts | Wormhole TS SDK - v0.7.0
        Contracts: {
            cctp?: contracts.CircleContracts;
            coreBridge?: string;
            gateway?: string;
            nftBridge?: string;
            portico?: contracts.PorticoContracts;
            relayer?: string;
            tokenBridge?: string;
            tokenBridgeRelayer?: string;
            translator?: string;
        } & UnknownContracts

        The Contract addresses set in configuration for a given chain

        -

        Type declaration

        • Optional cctp?: contracts.CircleContracts
        • Optional coreBridge?: string
        • Optional gateway?: string
        • Optional nftBridge?: string
        • Optional portico?: contracts.PorticoContracts
        • Optional relayer?: string
        • Optional tokenBridge?: string
        • Optional tokenBridgeRelayer?: string
        • Optional translator?: string
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk.index.GatewayTransferDetails.html b/docs/types/_wormhole_foundation_sdk.index.GatewayTransferDetails.html deleted file mode 100644 index d608968f7..000000000 --- a/docs/types/_wormhole_foundation_sdk.index.GatewayTransferDetails.html +++ /dev/null @@ -1,2 +0,0 @@ -GatewayTransferDetails | Wormhole TS SDK - v0.7.0
        GatewayTransferDetails: {
            amount: bigint;
            fee?: bigint;
            from: ChainAddress;
            nativeGas?: bigint;
            nonce?: number;
            payload?: Uint8Array;
            to: ChainAddress;
            token: TokenId;
        }

        Configuration for a transfer through the Gateway

        -

        Type declaration

        • amount: bigint
        • Optional fee?: bigint
        • from: ChainAddress
        • Optional nativeGas?: bigint
        • Optional nonce?: number
        • Optional payload?: Uint8Array
        • to: ChainAddress
        • token: TokenId
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk.index.IbcMessageId.html b/docs/types/_wormhole_foundation_sdk.index.IbcMessageId.html deleted file mode 100644 index 7cad31789..000000000 --- a/docs/types/_wormhole_foundation_sdk.index.IbcMessageId.html +++ /dev/null @@ -1,3 +0,0 @@ -IbcMessageId | Wormhole TS SDK - v0.7.0
        IbcMessageId: {
            chain: Chain;
            dstChannel: string;
            dstPort: string;
            sequence: number;
            srcChannel: string;
            srcPort: string;
        }

        Ibc Message Identifier -Used to fetch a Ibc attestation

        -

        Type declaration

        • chain: Chain
        • dstChannel: string
        • dstPort: string
        • sequence: number
        • srcChannel: string
        • srcPort: string
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk.index.NativeAddress.html b/docs/types/_wormhole_foundation_sdk.index.NativeAddress.html deleted file mode 100644 index 6f5bb7cd8..000000000 --- a/docs/types/_wormhole_foundation_sdk.index.NativeAddress.html +++ /dev/null @@ -1,2 +0,0 @@ -NativeAddress | Wormhole TS SDK - v0.7.0
        NativeAddress<C>: GetNativeAddress<ChainToPlatform<C>>

        An address that has been parsed into its Nativfe Address type

        -

        Type Parameters

        • C extends Chain
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk.index.PorticoBridge.ProtocolName.html b/docs/types/_wormhole_foundation_sdk.index.PorticoBridge.ProtocolName.html deleted file mode 100644 index c1114cfbb..000000000 --- a/docs/types/_wormhole_foundation_sdk.index.PorticoBridge.ProtocolName.html +++ /dev/null @@ -1,2 +0,0 @@ -ProtocolName | Wormhole TS SDK - v0.7.0
        ProtocolName: typeof _protocol

        The compile time protocol name type for Portico Bridge

        -
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk.index.PorticoBridge.VAA.html b/docs/types/_wormhole_foundation_sdk.index.PorticoBridge.VAA.html deleted file mode 100644 index 4f3c2985d..000000000 --- a/docs/types/_wormhole_foundation_sdk.index.PorticoBridge.VAA.html +++ /dev/null @@ -1,2 +0,0 @@ -VAA | Wormhole TS SDK - v0.7.0

        The VAA types emitted by the PorticoBridge protocol

        -

        Type Parameters

        • PayloadName extends PayloadNames = PayloadNames
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk.index.ProtocolImplementation.html b/docs/types/_wormhole_foundation_sdk.index.ProtocolImplementation.html deleted file mode 100644 index 7e942e80b..000000000 --- a/docs/types/_wormhole_foundation_sdk.index.ProtocolImplementation.html +++ /dev/null @@ -1,4 +0,0 @@ -ProtocolImplementation | Wormhole TS SDK - v0.7.0
        ProtocolImplementation<P, PN>: PN extends ProtocolName
            ? P extends keyof WormholeRegistry.ProtocolToPlatformMapping[PN]
                ? NonNullable<WormholeRegistry.ProtocolToPlatformMapping[PN][P]>
                : never
            : never

        The platform specific implementation from the registry - returns the ProtocolInitializer for constructing an instance - of the Platform implementation

        -

        Type Parameters

        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk.index.ProtocolInterface.html b/docs/types/_wormhole_foundation_sdk.index.ProtocolInterface.html deleted file mode 100644 index fdbef0151..000000000 --- a/docs/types/_wormhole_foundation_sdk.index.ProtocolInterface.html +++ /dev/null @@ -1,2 +0,0 @@ -ProtocolInterface | Wormhole TS SDK - v0.7.0

        The interface corresponding to the protocol passed in generic parameters

        -

        Type Parameters

        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk.index.ProtocolName.html b/docs/types/_wormhole_foundation_sdk.index.ProtocolName.html deleted file mode 100644 index 94d04de28..000000000 --- a/docs/types/_wormhole_foundation_sdk.index.ProtocolName.html +++ /dev/null @@ -1,3 +0,0 @@ -ProtocolName | Wormhole TS SDK - v0.7.0

        A string type representing the name of a protocol - derived from the keys of the protocol registry map

        -
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk.index.ProtocolVAA.html b/docs/types/_wormhole_foundation_sdk.index.ProtocolVAA.html deleted file mode 100644 index 9837ae5dc..000000000 --- a/docs/types/_wormhole_foundation_sdk.index.ProtocolVAA.html +++ /dev/null @@ -1,2 +0,0 @@ -ProtocolVAA | Wormhole TS SDK - v0.7.0

        Type alias ProtocolVAA<PN, PayloadName>

        ProtocolVAA<PN, PayloadName>: ComposeLiteral<PN, PayloadName, PayloadLiteral> extends infer PL extends PayloadLiteral
            ? DistributiveVAA<PL>
            : never

        A utility type that maps a protocol and payload name to its defined structure

        -

        Type Parameters

        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk.index.SequenceId.html b/docs/types/_wormhole_foundation_sdk.index.SequenceId.html deleted file mode 100644 index d4b7e8302..000000000 --- a/docs/types/_wormhole_foundation_sdk.index.SequenceId.html +++ /dev/null @@ -1,2 +0,0 @@ -SequenceId | Wormhole TS SDK - v0.7.0
        SequenceId: bigint

        The sequence number assigned to a given message by the core bridge

        -
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk.index.SignedTx.html b/docs/types/_wormhole_foundation_sdk.index.SignedTx.html deleted file mode 100644 index c7ba5aaa7..000000000 --- a/docs/types/_wormhole_foundation_sdk.index.SignedTx.html +++ /dev/null @@ -1,2 +0,0 @@ -SignedTx | Wormhole TS SDK - v0.7.0
        SignedTx: any

        A signed transaction in its canonical format

        -
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk.index.Signer.html b/docs/types/_wormhole_foundation_sdk.index.Signer.html deleted file mode 100644 index 0967db87f..000000000 --- a/docs/types/_wormhole_foundation_sdk.index.Signer.html +++ /dev/null @@ -1,6 +0,0 @@ -Signer | Wormhole TS SDK - v0.7.0

        A Signer is an interface that must be provided to certain methods -in the SDK to sign transactions. It can be either a SignOnlySigner -or a SignAndSendSigner depending on circumstances. -A Signer can be implemented by wrapping an existing offline wallet -or a web wallet

        -

        Type Parameters

        • N extends Network = Network
        • C extends Chain = Chain
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk.index.TokenAddress.html b/docs/types/_wormhole_foundation_sdk.index.TokenAddress.html deleted file mode 100644 index e3cd49e06..000000000 --- a/docs/types/_wormhole_foundation_sdk.index.TokenAddress.html +++ /dev/null @@ -1,3 +0,0 @@ -TokenAddress | Wormhole TS SDK - v0.7.0
        TokenAddress<C>: UniversalOrNative<C> | "native"

        An address representing an asset

        -

        Type Parameters

        • C extends Chain

        Remarks

        the string literal 'native' is used to represent the native gas token

        -
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk.index.TokenBridge.ProtocolName.html b/docs/types/_wormhole_foundation_sdk.index.TokenBridge.ProtocolName.html deleted file mode 100644 index ed9c18031..000000000 --- a/docs/types/_wormhole_foundation_sdk.index.TokenBridge.ProtocolName.html +++ /dev/null @@ -1,2 +0,0 @@ -ProtocolName | Wormhole TS SDK - v0.7.0
        ProtocolName: typeof _protocol

        The compile time type of the TokenBridge protocol

        -
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk.index.TokenBridge.VAA.html b/docs/types/_wormhole_foundation_sdk.index.TokenBridge.VAA.html deleted file mode 100644 index 28fa6e4a1..000000000 --- a/docs/types/_wormhole_foundation_sdk.index.TokenBridge.VAA.html +++ /dev/null @@ -1,2 +0,0 @@ -VAA | Wormhole TS SDK - v0.7.0

        The VAAs emitted from the TokenBridge protocol

        -

        Type Parameters

        • PayloadName extends PayloadNames = PayloadNames
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk.index.TokenTransferDetails.html b/docs/types/_wormhole_foundation_sdk.index.TokenTransferDetails.html deleted file mode 100644 index bdc2a6e62..000000000 --- a/docs/types/_wormhole_foundation_sdk.index.TokenTransferDetails.html +++ /dev/null @@ -1,2 +0,0 @@ -TokenTransferDetails | Wormhole TS SDK - v0.7.0
        TokenTransferDetails: {
            amount: bigint;
            automatic?: boolean;
            from: ChainAddress;
            nativeGas?: bigint;
            payload?: Uint8Array;
            to: ChainAddress;
            token: TokenId;
        }

        Details of a token transfer, used to initiate a transfer

        -

        Type declaration

        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk.index.TransactionId.html b/docs/types/_wormhole_foundation_sdk.index.TransactionId.html deleted file mode 100644 index e02753324..000000000 --- a/docs/types/_wormhole_foundation_sdk.index.TransactionId.html +++ /dev/null @@ -1,2 +0,0 @@ -TransactionId | Wormhole TS SDK - v0.7.0
        TransactionId<C>: {
            chain: C;
            txid: TxHash;
        }

        Fully qualified Transaction ID

        -

        Type Parameters

        • C extends Chain = Chain

        Type declaration

        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk.index.TxHash.html b/docs/types/_wormhole_foundation_sdk.index.TxHash.html deleted file mode 100644 index 5ebcd3089..000000000 --- a/docs/types/_wormhole_foundation_sdk.index.TxHash.html +++ /dev/null @@ -1,2 +0,0 @@ -TxHash | Wormhole TS SDK - v0.7.0
        TxHash: string

        Alias for string, used to look up transaction details

        -
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk.index.UniversalOrNative.html b/docs/types/_wormhole_foundation_sdk.index.UniversalOrNative.html deleted file mode 100644 index 7611bb4df..000000000 --- a/docs/types/_wormhole_foundation_sdk.index.UniversalOrNative.html +++ /dev/null @@ -1,2 +0,0 @@ -UniversalOrNative | Wormhole TS SDK - v0.7.0
        UniversalOrNative<C>: UniversalAddress | NativeAddress<C>

        A union type representing a parsed address

        -

        Type Parameters

        • C extends Chain
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk.index.WormholeMessageId.html b/docs/types/_wormhole_foundation_sdk.index.WormholeMessageId.html deleted file mode 100644 index 9a908b948..000000000 --- a/docs/types/_wormhole_foundation_sdk.index.WormholeMessageId.html +++ /dev/null @@ -1,2 +0,0 @@ -WormholeMessageId | Wormhole TS SDK - v0.7.0
        WormholeMessageId: {
            chain: Chain;
            emitter: UniversalAddress;
            sequence: SequenceId;
        }

        Wormhole Message Identifier used to fetch a VAA

        -

        Type declaration

        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_algorand.AlgorandPlatformType.html b/docs/types/_wormhole_foundation_sdk_algorand.AlgorandPlatformType.html index 282646bf7..49f6b05d4 100644 --- a/docs/types/_wormhole_foundation_sdk_algorand.AlgorandPlatformType.html +++ b/docs/types/_wormhole_foundation_sdk_algorand.AlgorandPlatformType.html @@ -1,2 +1,2 @@ -AlgorandPlatformType | Wormhole TS SDK - v0.7.0
        AlgorandPlatformType: typeof _platform

        Compile time Type for the Algorand Platform

        -
        \ No newline at end of file +AlgorandPlatformType | Wormhole TS SDK - v1.13.2
        AlgorandPlatformType: typeof _platform

        Compile time Type for the Algorand Platform

        +
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_connect.AccountAddress.html b/docs/types/_wormhole_foundation_sdk_connect.AccountAddress.html deleted file mode 100644 index 02b52070f..000000000 --- a/docs/types/_wormhole_foundation_sdk_connect.AccountAddress.html +++ /dev/null @@ -1,2 +0,0 @@ -AccountAddress | Wormhole TS SDK - v0.7.0
        AccountAddress<C>: UniversalOrNative<C>

        An address that represents an account

        -

        Type Parameters

        • C extends Chain
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_connect.Attestation.html b/docs/types/_wormhole_foundation_sdk_connect.Attestation.html deleted file mode 100644 index d14198db9..000000000 --- a/docs/types/_wormhole_foundation_sdk_connect.Attestation.html +++ /dev/null @@ -1,2 +0,0 @@ -Attestation | Wormhole TS SDK - v0.7.0
        Attestation<PN>: PN extends "TokenBridge" | "AutomaticTokenBridge"
            ? AutomaticTokenBridge.VAA | TokenBridge.VAA
            : PN extends "AutomaticCircleBridge"
                ? AutomaticCircleBridge.VAA | CircleBridge.Attestation
                : PN extends "CircleBridge"
                    ? CircleBridge.Attestation
                    : PN extends "IbcBridge"
                        ? IbcTransferData
                        : PN extends "WormholeCore"
                            ? VAA<"Uint8Array">
                            : PN extends "PorticoBridge"
                                ? PorticoBridge.VAA
                                : any

        The full attestation that represents evidence of a transaction

        -

        Type Parameters

        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_connect.AttestationId.html b/docs/types/_wormhole_foundation_sdk_connect.AttestationId.html deleted file mode 100644 index 0b55d1fc9..000000000 --- a/docs/types/_wormhole_foundation_sdk_connect.AttestationId.html +++ /dev/null @@ -1,2 +0,0 @@ -AttestationId | Wormhole TS SDK - v0.7.0
        AttestationId<PN>: PN extends "TokenBridge" | "AutomaticTokenBridge" | "WormholeCore" | "PorticoBridge" | "AutomaticCircleBridge"
            ? WormholeMessageId
            : PN extends "AutomaticCircleBridge"
                ? WormholeMessageId | CircleMessageId
                : PN extends "CircleBridge"
                    ? CircleMessageId
                    : PN extends "IbcBridge"
                        ? IbcMessageId
                        : any

        The Identifier of an attestation, useful to look up the full attestation

        -

        Type Parameters

        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_connect.AutomaticCircleBridge.VAA.html b/docs/types/_wormhole_foundation_sdk_connect.AutomaticCircleBridge.VAA.html deleted file mode 100644 index 7fd5673b2..000000000 --- a/docs/types/_wormhole_foundation_sdk_connect.AutomaticCircleBridge.VAA.html +++ /dev/null @@ -1,2 +0,0 @@ -VAA | Wormhole TS SDK - v0.7.0
        VAA<PayloadName>: ProtocolVAA<ProtocolName, PayloadName>

        The VAA types that are emitted from the AutomaticCirlceBridge protocol

        -

        Type Parameters

        • PayloadName extends PayloadNames = PayloadNames
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_connect.AutomaticTokenBridge.ProtocolName.html b/docs/types/_wormhole_foundation_sdk_connect.AutomaticTokenBridge.ProtocolName.html deleted file mode 100644 index 76ffb0ea0..000000000 --- a/docs/types/_wormhole_foundation_sdk_connect.AutomaticTokenBridge.ProtocolName.html +++ /dev/null @@ -1,2 +0,0 @@ -ProtocolName | Wormhole TS SDK - v0.7.0
        ProtocolName: typeof _protocol

        The compile time type of the AutomaticTokenBridge protocol

        -
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_connect.AutomaticTokenBridge.VAA.html b/docs/types/_wormhole_foundation_sdk_connect.AutomaticTokenBridge.VAA.html deleted file mode 100644 index 7eae9326c..000000000 --- a/docs/types/_wormhole_foundation_sdk_connect.AutomaticTokenBridge.VAA.html +++ /dev/null @@ -1,2 +0,0 @@ -VAA | Wormhole TS SDK - v0.7.0

        The VAAs emitted from the AutomaticTokenBridge protocol

        -

        Type Parameters

        • PayloadName extends PayloadNames = PayloadNames
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_connect.ChainAddress.html b/docs/types/_wormhole_foundation_sdk_connect.ChainAddress.html deleted file mode 100644 index d58a77d7a..000000000 --- a/docs/types/_wormhole_foundation_sdk_connect.ChainAddress.html +++ /dev/null @@ -1,3 +0,0 @@ -ChainAddress | Wormhole TS SDK - v0.7.0
        ChainAddress<C>: {
            address: UniversalOrNative<C>;
            chain: C;
        }

        ChainAddress represents the parsed address for a given chain -and comes with the context of which chain its relevant for

        -

        Type Parameters

        • C extends Chain = Chain

        Type declaration

        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_connect.ChainConfig.html b/docs/types/_wormhole_foundation_sdk_connect.ChainConfig.html deleted file mode 100644 index 04c374c8e..000000000 --- a/docs/types/_wormhole_foundation_sdk_connect.ChainConfig.html +++ /dev/null @@ -1,10 +0,0 @@ -ChainConfig | Wormhole TS SDK - v0.7.0
        ChainConfig<N, C>: {
            blockTime: number;
            chainId: number;
            contracts: Contracts;
            explorer?: explorer.ExplorerSettings;
            finalityThreshold: number;
            key: C;
            nativeChainId: string | bigint;
            nativeTokenDecimals: number;
            network: N;
            platform: ChainToPlatform<C>;
            rpc: string;
            tokenMap?: ChainTokens;
            wrappedNative?: Token;
        }

        Configuration for a given Chain

        -

        Type Parameters

        • N extends Network
        • C extends Chain

        Type declaration

        • blockTime: number

          Average block time in milliseconds

          -
        • chainId: number

          Wormhole Chain Id for this chain

          -
        • contracts: Contracts

          Contract addresses for this chain

          -
        • Optional explorer?: explorer.ExplorerSettings
        • finalityThreshold: number

          Number of blocks before a transaction is considered final

          -
        • key: C
        • nativeChainId: string | bigint

          Native chain id may be eip155 or genesis hash or network moninker or something else -depending on the platform

          -
        • nativeTokenDecimals: number

          Number of decimal places for the native gas token (e.g. 18 for ETH)

          -
        • network: N
        • platform: ChainToPlatform<C>
        • rpc: string

          Rpc address for this chain

          -
        • Optional tokenMap?: ChainTokens
        • Optional wrappedNative?: Token
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_connect.CircleAttestation.html b/docs/types/_wormhole_foundation_sdk_connect.CircleAttestation.html deleted file mode 100644 index 9613d529c..000000000 --- a/docs/types/_wormhole_foundation_sdk_connect.CircleAttestation.html +++ /dev/null @@ -1,2 +0,0 @@ -CircleAttestation | Wormhole TS SDK - v0.7.0
        CircleAttestation: string

        Attestation from circle attestation api

        -
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_connect.CircleBridge.Attestation.html b/docs/types/_wormhole_foundation_sdk_connect.CircleBridge.Attestation.html deleted file mode 100644 index 46da0671b..000000000 --- a/docs/types/_wormhole_foundation_sdk_connect.CircleBridge.Attestation.html +++ /dev/null @@ -1,2 +0,0 @@ -Attestation | Wormhole TS SDK - v0.7.0
        Attestation: {
            attestation?: string;
            message: Message;
        }

        Circle message and attestation if available

        -

        Type declaration

        • Optional attestation?: string
        • message: Message
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_connect.CircleBridge.ProtocolName.html b/docs/types/_wormhole_foundation_sdk_connect.CircleBridge.ProtocolName.html deleted file mode 100644 index 9e66959fd..000000000 --- a/docs/types/_wormhole_foundation_sdk_connect.CircleBridge.ProtocolName.html +++ /dev/null @@ -1,2 +0,0 @@ -ProtocolName | Wormhole TS SDK - v0.7.0
        ProtocolName: typeof _protocol

        The compile time type for the CircleBridge protocol

        -
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_connect.CircleMessageId.html b/docs/types/_wormhole_foundation_sdk_connect.CircleMessageId.html deleted file mode 100644 index b3763556d..000000000 --- a/docs/types/_wormhole_foundation_sdk_connect.CircleMessageId.html +++ /dev/null @@ -1,3 +0,0 @@ -CircleMessageId | Wormhole TS SDK - v0.7.0
        CircleMessageId: {
            hash: string;
        }

        Circle Message Identifier -Used to fetch a Circle attestation

        -

        Type declaration

        • hash: string
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_connect.Contracts.html b/docs/types/_wormhole_foundation_sdk_connect.Contracts.html deleted file mode 100644 index 96dea82a9..000000000 --- a/docs/types/_wormhole_foundation_sdk_connect.Contracts.html +++ /dev/null @@ -1,2 +0,0 @@ -Contracts | Wormhole TS SDK - v0.7.0
        Contracts: {
            cctp?: contracts.CircleContracts;
            coreBridge?: string;
            gateway?: string;
            nftBridge?: string;
            portico?: contracts.PorticoContracts;
            relayer?: string;
            tokenBridge?: string;
            tokenBridgeRelayer?: string;
            translator?: string;
        } & UnknownContracts

        The Contract addresses set in configuration for a given chain

        -

        Type declaration

        • Optional cctp?: contracts.CircleContracts
        • Optional coreBridge?: string
        • Optional gateway?: string
        • Optional nftBridge?: string
        • Optional portico?: contracts.PorticoContracts
        • Optional relayer?: string
        • Optional tokenBridge?: string
        • Optional tokenBridgeRelayer?: string
        • Optional translator?: string
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_connect.GatewayTransferDetails.html b/docs/types/_wormhole_foundation_sdk_connect.GatewayTransferDetails.html deleted file mode 100644 index e1b023673..000000000 --- a/docs/types/_wormhole_foundation_sdk_connect.GatewayTransferDetails.html +++ /dev/null @@ -1,2 +0,0 @@ -GatewayTransferDetails | Wormhole TS SDK - v0.7.0
        GatewayTransferDetails: {
            amount: bigint;
            fee?: bigint;
            from: ChainAddress;
            nativeGas?: bigint;
            nonce?: number;
            payload?: Uint8Array;
            to: ChainAddress;
            token: TokenId;
        }

        Configuration for a transfer through the Gateway

        -

        Type declaration

        • amount: bigint
        • Optional fee?: bigint
        • from: ChainAddress
        • Optional nativeGas?: bigint
        • Optional nonce?: number
        • Optional payload?: Uint8Array
        • to: ChainAddress
        • token: TokenId
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_connect.IbcMessageId.html b/docs/types/_wormhole_foundation_sdk_connect.IbcMessageId.html deleted file mode 100644 index 19a521679..000000000 --- a/docs/types/_wormhole_foundation_sdk_connect.IbcMessageId.html +++ /dev/null @@ -1,3 +0,0 @@ -IbcMessageId | Wormhole TS SDK - v0.7.0
        IbcMessageId: {
            chain: Chain;
            dstChannel: string;
            dstPort: string;
            sequence: number;
            srcChannel: string;
            srcPort: string;
        }

        Ibc Message Identifier -Used to fetch a Ibc attestation

        -

        Type declaration

        • chain: Chain
        • dstChannel: string
        • dstPort: string
        • sequence: number
        • srcChannel: string
        • srcPort: string
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_connect.NativeAddress.html b/docs/types/_wormhole_foundation_sdk_connect.NativeAddress.html deleted file mode 100644 index ff7120f8b..000000000 --- a/docs/types/_wormhole_foundation_sdk_connect.NativeAddress.html +++ /dev/null @@ -1,2 +0,0 @@ -NativeAddress | Wormhole TS SDK - v0.7.0
        NativeAddress<C>: GetNativeAddress<ChainToPlatform<C>>

        An address that has been parsed into its Nativfe Address type

        -

        Type Parameters

        • C extends Chain
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_connect.PorticoBridge.ProtocolName.html b/docs/types/_wormhole_foundation_sdk_connect.PorticoBridge.ProtocolName.html deleted file mode 100644 index 281ebf537..000000000 --- a/docs/types/_wormhole_foundation_sdk_connect.PorticoBridge.ProtocolName.html +++ /dev/null @@ -1,2 +0,0 @@ -ProtocolName | Wormhole TS SDK - v0.7.0
        ProtocolName: typeof _protocol

        The compile time protocol name type for Portico Bridge

        -
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_connect.PorticoBridge.VAA.html b/docs/types/_wormhole_foundation_sdk_connect.PorticoBridge.VAA.html deleted file mode 100644 index 85ad78d24..000000000 --- a/docs/types/_wormhole_foundation_sdk_connect.PorticoBridge.VAA.html +++ /dev/null @@ -1,2 +0,0 @@ -VAA | Wormhole TS SDK - v0.7.0

        The VAA types emitted by the PorticoBridge protocol

        -

        Type Parameters

        • PayloadName extends PayloadNames = PayloadNames
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_connect.ProtocolImplementation.html b/docs/types/_wormhole_foundation_sdk_connect.ProtocolImplementation.html deleted file mode 100644 index 900b6f0f1..000000000 --- a/docs/types/_wormhole_foundation_sdk_connect.ProtocolImplementation.html +++ /dev/null @@ -1,4 +0,0 @@ -ProtocolImplementation | Wormhole TS SDK - v0.7.0
        ProtocolImplementation<P, PN>: PN extends ProtocolName
            ? P extends keyof WormholeRegistry.ProtocolToPlatformMapping[PN]
                ? NonNullable<WormholeRegistry.ProtocolToPlatformMapping[PN][P]>
                : never
            : never

        The platform specific implementation from the registry - returns the ProtocolInitializer for constructing an instance - of the Platform implementation

        -

        Type Parameters

        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_connect.ProtocolInterface.html b/docs/types/_wormhole_foundation_sdk_connect.ProtocolInterface.html deleted file mode 100644 index c8c576a22..000000000 --- a/docs/types/_wormhole_foundation_sdk_connect.ProtocolInterface.html +++ /dev/null @@ -1,2 +0,0 @@ -ProtocolInterface | Wormhole TS SDK - v0.7.0

        The interface corresponding to the protocol passed in generic parameters

        -

        Type Parameters

        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_connect.ProtocolName.html b/docs/types/_wormhole_foundation_sdk_connect.ProtocolName.html deleted file mode 100644 index f9a4534d5..000000000 --- a/docs/types/_wormhole_foundation_sdk_connect.ProtocolName.html +++ /dev/null @@ -1,3 +0,0 @@ -ProtocolName | Wormhole TS SDK - v0.7.0

        A string type representing the name of a protocol - derived from the keys of the protocol registry map

        -
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_connect.ProtocolVAA.html b/docs/types/_wormhole_foundation_sdk_connect.ProtocolVAA.html deleted file mode 100644 index 31f87574b..000000000 --- a/docs/types/_wormhole_foundation_sdk_connect.ProtocolVAA.html +++ /dev/null @@ -1,2 +0,0 @@ -ProtocolVAA | Wormhole TS SDK - v0.7.0

        Type alias ProtocolVAA<PN, PayloadName>

        ProtocolVAA<PN, PayloadName>: ComposeLiteral<PN, PayloadName, PayloadLiteral> extends infer PL extends PayloadLiteral
            ? DistributiveVAA<PL>
            : never

        A utility type that maps a protocol and payload name to its defined structure

        -

        Type Parameters

        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_connect.SequenceId.html b/docs/types/_wormhole_foundation_sdk_connect.SequenceId.html deleted file mode 100644 index d87474fe6..000000000 --- a/docs/types/_wormhole_foundation_sdk_connect.SequenceId.html +++ /dev/null @@ -1,2 +0,0 @@ -SequenceId | Wormhole TS SDK - v0.7.0
        SequenceId: bigint

        The sequence number assigned to a given message by the core bridge

        -
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_connect.SignedTx.html b/docs/types/_wormhole_foundation_sdk_connect.SignedTx.html deleted file mode 100644 index e615b38af..000000000 --- a/docs/types/_wormhole_foundation_sdk_connect.SignedTx.html +++ /dev/null @@ -1,2 +0,0 @@ -SignedTx | Wormhole TS SDK - v0.7.0
        SignedTx: any

        A signed transaction in its canonical format

        -
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_connect.Signer.html b/docs/types/_wormhole_foundation_sdk_connect.Signer.html deleted file mode 100644 index 9f7d4ea8d..000000000 --- a/docs/types/_wormhole_foundation_sdk_connect.Signer.html +++ /dev/null @@ -1,6 +0,0 @@ -Signer | Wormhole TS SDK - v0.7.0

        A Signer is an interface that must be provided to certain methods -in the SDK to sign transactions. It can be either a SignOnlySigner -or a SignAndSendSigner depending on circumstances. -A Signer can be implemented by wrapping an existing offline wallet -or a web wallet

        -

        Type Parameters

        • N extends Network = Network
        • C extends Chain = Chain
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_connect.TokenAddress.html b/docs/types/_wormhole_foundation_sdk_connect.TokenAddress.html deleted file mode 100644 index bbe337e88..000000000 --- a/docs/types/_wormhole_foundation_sdk_connect.TokenAddress.html +++ /dev/null @@ -1,3 +0,0 @@ -TokenAddress | Wormhole TS SDK - v0.7.0
        TokenAddress<C>: UniversalOrNative<C> | "native"

        An address representing an asset

        -

        Type Parameters

        • C extends Chain

        Remarks

        the string literal 'native' is used to represent the native gas token

        -
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_connect.TokenBridge.ProtocolName.html b/docs/types/_wormhole_foundation_sdk_connect.TokenBridge.ProtocolName.html deleted file mode 100644 index 0fefa361e..000000000 --- a/docs/types/_wormhole_foundation_sdk_connect.TokenBridge.ProtocolName.html +++ /dev/null @@ -1,2 +0,0 @@ -ProtocolName | Wormhole TS SDK - v0.7.0
        ProtocolName: typeof _protocol

        The compile time type of the TokenBridge protocol

        -
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_connect.TokenBridge.VAA.html b/docs/types/_wormhole_foundation_sdk_connect.TokenBridge.VAA.html deleted file mode 100644 index ceef7b319..000000000 --- a/docs/types/_wormhole_foundation_sdk_connect.TokenBridge.VAA.html +++ /dev/null @@ -1,2 +0,0 @@ -VAA | Wormhole TS SDK - v0.7.0

        The VAAs emitted from the TokenBridge protocol

        -

        Type Parameters

        • PayloadName extends PayloadNames = PayloadNames
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_connect.TokenTransferDetails.html b/docs/types/_wormhole_foundation_sdk_connect.TokenTransferDetails.html deleted file mode 100644 index feff1b420..000000000 --- a/docs/types/_wormhole_foundation_sdk_connect.TokenTransferDetails.html +++ /dev/null @@ -1,2 +0,0 @@ -TokenTransferDetails | Wormhole TS SDK - v0.7.0
        TokenTransferDetails: {
            amount: bigint;
            automatic?: boolean;
            from: ChainAddress;
            nativeGas?: bigint;
            payload?: Uint8Array;
            to: ChainAddress;
            token: TokenId;
        }

        Details of a token transfer, used to initiate a transfer

        -

        Type declaration

        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_connect.TransactionId.html b/docs/types/_wormhole_foundation_sdk_connect.TransactionId.html deleted file mode 100644 index 99005064e..000000000 --- a/docs/types/_wormhole_foundation_sdk_connect.TransactionId.html +++ /dev/null @@ -1,2 +0,0 @@ -TransactionId | Wormhole TS SDK - v0.7.0
        TransactionId<C>: {
            chain: C;
            txid: TxHash;
        }

        Fully qualified Transaction ID

        -

        Type Parameters

        • C extends Chain = Chain

        Type declaration

        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_connect.TxHash.html b/docs/types/_wormhole_foundation_sdk_connect.TxHash.html deleted file mode 100644 index f367c7f1d..000000000 --- a/docs/types/_wormhole_foundation_sdk_connect.TxHash.html +++ /dev/null @@ -1,2 +0,0 @@ -TxHash | Wormhole TS SDK - v0.7.0
        TxHash: string

        Alias for string, used to look up transaction details

        -
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_connect.UniversalOrNative.html b/docs/types/_wormhole_foundation_sdk_connect.UniversalOrNative.html deleted file mode 100644 index c31876797..000000000 --- a/docs/types/_wormhole_foundation_sdk_connect.UniversalOrNative.html +++ /dev/null @@ -1,2 +0,0 @@ -UniversalOrNative | Wormhole TS SDK - v0.7.0
        UniversalOrNative<C>: UniversalAddress | NativeAddress<C>

        A union type representing a parsed address

        -

        Type Parameters

        • C extends Chain
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_connect.WormholeMessageId.html b/docs/types/_wormhole_foundation_sdk_connect.WormholeMessageId.html deleted file mode 100644 index cc9eb0bcb..000000000 --- a/docs/types/_wormhole_foundation_sdk_connect.WormholeMessageId.html +++ /dev/null @@ -1,2 +0,0 @@ -WormholeMessageId | Wormhole TS SDK - v0.7.0
        WormholeMessageId: {
            chain: Chain;
            emitter: UniversalAddress;
            sequence: SequenceId;
        }

        Wormhole Message Identifier used to fetch a VAA

        -

        Type declaration

        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_cosmwasm.CosmwasmPlatformType.html b/docs/types/_wormhole_foundation_sdk_cosmwasm.CosmwasmPlatformType.html index 66ad816ed..83e9c085c 100644 --- a/docs/types/_wormhole_foundation_sdk_cosmwasm.CosmwasmPlatformType.html +++ b/docs/types/_wormhole_foundation_sdk_cosmwasm.CosmwasmPlatformType.html @@ -1,2 +1,2 @@ -CosmwasmPlatformType | Wormhole TS SDK - v0.7.0
        CosmwasmPlatformType: typeof _platform

        Compile time type for Cosmwasm Platform

        -
        \ No newline at end of file +CosmwasmPlatformType | Wormhole TS SDK - v1.13.2
        CosmwasmPlatformType: typeof _platform

        Compile time type for Cosmwasm Platform

        +
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_definitions.AccountAddress.html b/docs/types/_wormhole_foundation_sdk_definitions.AccountAddress.html index 33e455088..0aa23afa7 100644 --- a/docs/types/_wormhole_foundation_sdk_definitions.AccountAddress.html +++ b/docs/types/_wormhole_foundation_sdk_definitions.AccountAddress.html @@ -1,2 +1,2 @@ -AccountAddress | Wormhole TS SDK - v0.7.0
        AccountAddress<C>: UniversalOrNative<C>

        An address that represents an account

        -

        Type Parameters

        • C extends Chain
        \ No newline at end of file +AccountAddress | Wormhole TS SDK - v1.13.2
        AccountAddress<C>: UniversalOrNative<C>

        An address that represents an account

        +

        Type Parameters

        • C extends Chain
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_definitions.Attestation.html b/docs/types/_wormhole_foundation_sdk_definitions.Attestation.html index f36ef945b..e6e42fd0d 100644 --- a/docs/types/_wormhole_foundation_sdk_definitions.Attestation.html +++ b/docs/types/_wormhole_foundation_sdk_definitions.Attestation.html @@ -1,2 +1,2 @@ -Attestation | Wormhole TS SDK - v0.7.0
        Attestation<PN>: PN extends "TokenBridge" | "AutomaticTokenBridge"
            ? AutomaticTokenBridge.VAA | TokenBridge.VAA
            : PN extends "AutomaticCircleBridge"
                ? AutomaticCircleBridge.VAA | CircleBridge.Attestation
                : PN extends "CircleBridge"
                    ? CircleBridge.Attestation
                    : PN extends "IbcBridge"
                        ? IbcTransferData
                        : PN extends "WormholeCore"
                            ? VAA<"Uint8Array">
                            : PN extends "PorticoBridge"
                                ? PorticoBridge.VAA
                                : any

        The full attestation that represents evidence of a transaction

        -

        Type Parameters

        \ No newline at end of file +Attestation | Wormhole TS SDK - v1.13.2
        Attestation<PN>: PN extends "TokenBridge" | "AutomaticTokenBridge"
            ? AutomaticTokenBridge.VAA | TokenBridge.VAA
            : PN extends "AutomaticCircleBridge"
                ? AutomaticCircleBridge.VAA | CircleBridge.Attestation
                : PN extends "CircleBridge"
                    ? CircleBridge.Attestation
                    : PN extends "IbcBridge"
                        ? IbcTransferData
                        : PN extends "WormholeCore"
                            ? VAA<"Uint8Array">
                            : PN extends "PorticoBridge"
                                ? PorticoBridge.VAA
                                : any

        The full attestation that represents evidence of a transaction

        +

        Type Parameters

        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_definitions.AttestationId.html b/docs/types/_wormhole_foundation_sdk_definitions.AttestationId.html index fb7e8c450..18f0e6e35 100644 --- a/docs/types/_wormhole_foundation_sdk_definitions.AttestationId.html +++ b/docs/types/_wormhole_foundation_sdk_definitions.AttestationId.html @@ -1,2 +1,2 @@ -AttestationId | Wormhole TS SDK - v0.7.0
        AttestationId<PN>: PN extends "TokenBridge" | "AutomaticTokenBridge" | "WormholeCore" | "PorticoBridge" | "AutomaticCircleBridge"
            ? WormholeMessageId
            : PN extends "AutomaticCircleBridge"
                ? WormholeMessageId | CircleMessageId
                : PN extends "CircleBridge"
                    ? CircleMessageId
                    : PN extends "IbcBridge"
                        ? IbcMessageId
                        : any

        The Identifier of an attestation, useful to look up the full attestation

        -

        Type Parameters

        \ No newline at end of file +AttestationId | Wormhole TS SDK - v1.13.2
        AttestationId<PN>: PN extends "TokenBridge" | "AutomaticTokenBridge" | "WormholeCore" | "PorticoBridge" | "AutomaticCircleBridge"
            ? WormholeMessageId
            : PN extends "AutomaticCircleBridge"
                ? WormholeMessageId | CircleMessageId
                : PN extends "CircleBridge"
                    ? CircleMessageId
                    : PN extends "IbcBridge"
                        ? IbcMessageId
                        : any

        The Identifier of an attestation, useful to look up the full attestation

        +

        Type Parameters

        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_definitions.AutomaticCircleBridge.VAA.html b/docs/types/_wormhole_foundation_sdk_definitions.AutomaticCircleBridge.VAA.html index f48609174..90db67cc4 100644 --- a/docs/types/_wormhole_foundation_sdk_definitions.AutomaticCircleBridge.VAA.html +++ b/docs/types/_wormhole_foundation_sdk_definitions.AutomaticCircleBridge.VAA.html @@ -1,2 +1,2 @@ -VAA | Wormhole TS SDK - v0.7.0
        VAA<PayloadName>: ProtocolVAA<ProtocolName, PayloadName>

        The VAA types that are emitted from the AutomaticCirlceBridge protocol

        -

        Type Parameters

        • PayloadName extends PayloadNames = PayloadNames
        \ No newline at end of file +VAA | Wormhole TS SDK - v1.13.2
        VAA<PayloadName>: ProtocolVAA<ProtocolName, PayloadName>

        The VAA types that are emitted from the AutomaticCirlceBridge protocol

        +

        Type Parameters

        • PayloadName extends PayloadNames = PayloadNames
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_definitions.AutomaticTokenBridge.ProtocolName.html b/docs/types/_wormhole_foundation_sdk_definitions.AutomaticTokenBridge.ProtocolName.html index db3f26a31..d3789a194 100644 --- a/docs/types/_wormhole_foundation_sdk_definitions.AutomaticTokenBridge.ProtocolName.html +++ b/docs/types/_wormhole_foundation_sdk_definitions.AutomaticTokenBridge.ProtocolName.html @@ -1,2 +1,2 @@ -ProtocolName | Wormhole TS SDK - v0.7.0
        ProtocolName: typeof _protocol

        The compile time type of the AutomaticTokenBridge protocol

        -
        \ No newline at end of file +ProtocolName | Wormhole TS SDK - v1.13.2
        ProtocolName: typeof _protocol

        The compile time type of the AutomaticTokenBridge protocol

        +
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_definitions.AutomaticTokenBridge.VAA.html b/docs/types/_wormhole_foundation_sdk_definitions.AutomaticTokenBridge.VAA.html index 74aee2b7a..f6c099e37 100644 --- a/docs/types/_wormhole_foundation_sdk_definitions.AutomaticTokenBridge.VAA.html +++ b/docs/types/_wormhole_foundation_sdk_definitions.AutomaticTokenBridge.VAA.html @@ -1,2 +1,2 @@ -VAA | Wormhole TS SDK - v0.7.0

        The VAAs emitted from the AutomaticTokenBridge protocol

        -

        Type Parameters

        • PayloadName extends PayloadNames = PayloadNames
        \ No newline at end of file +VAA | Wormhole TS SDK - v1.13.2

        The VAAs emitted from the AutomaticTokenBridge protocol

        +

        Type Parameters

        • PayloadName extends PayloadNames = PayloadNames
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_definitions.ChainAddress.html b/docs/types/_wormhole_foundation_sdk_definitions.ChainAddress.html index 717a52101..db1224743 100644 --- a/docs/types/_wormhole_foundation_sdk_definitions.ChainAddress.html +++ b/docs/types/_wormhole_foundation_sdk_definitions.ChainAddress.html @@ -1,3 +1,3 @@ -ChainAddress | Wormhole TS SDK - v0.7.0
        ChainAddress<C>: {
            address: UniversalOrNative<C>;
            chain: C;
        }

        ChainAddress represents the parsed address for a given chain +ChainAddress | Wormhole TS SDK - v1.13.2

        ChainAddress<C>: {
            address: UniversalOrNative<C>;
            chain: C;
        }

        ChainAddress represents the parsed address for a given chain and comes with the context of which chain its relevant for

        -

        Type Parameters

        • C extends Chain = Chain

        Type declaration

        \ No newline at end of file +

        Type Parameters

        • C extends Chain = Chain

        Type declaration

        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_definitions.ChainConfig.html b/docs/types/_wormhole_foundation_sdk_definitions.ChainConfig.html index 4c7b24d16..51f925b6b 100644 --- a/docs/types/_wormhole_foundation_sdk_definitions.ChainConfig.html +++ b/docs/types/_wormhole_foundation_sdk_definitions.ChainConfig.html @@ -1,4 +1,4 @@ -ChainConfig | Wormhole TS SDK - v0.7.0
        ChainConfig<N, C>: {
            blockTime: number;
            chainId: number;
            contracts: Contracts;
            explorer?: explorer.ExplorerSettings;
            finalityThreshold: number;
            key: C;
            nativeChainId: string | bigint;
            nativeTokenDecimals: number;
            network: N;
            platform: ChainToPlatform<C>;
            rpc: string;
            tokenMap?: ChainTokens;
            wrappedNative?: Token;
        }

        Configuration for a given Chain

        +ChainConfig | Wormhole TS SDK - v1.13.2
        ChainConfig<N, C>: {
            blockTime: number;
            chainId: number;
            contracts: Contracts;
            explorer?: explorer.ExplorerSettings;
            finalityThreshold: number;
            key: C;
            nativeChainId: string | bigint;
            nativeTokenDecimals: number;
            network: N;
            platform: ChainToPlatform<C>;
            rpc: string;
            tokenMap?: ChainTokens;
            wrappedNative?: Token;
        }

        Configuration for a given Chain

        Type Parameters

        • N extends Network
        • C extends Chain

        Type declaration

        • blockTime: number

          Average block time in milliseconds

        • chainId: number

          Wormhole Chain Id for this chain

        • contracts: Contracts

          Contract addresses for this chain

          @@ -7,4 +7,4 @@ depending on the platform

        • nativeTokenDecimals: number

          Number of decimal places for the native gas token (e.g. 18 for ETH)

        • network: N
        • platform: ChainToPlatform<C>
        • rpc: string

          Rpc address for this chain

          -
        • Optional tokenMap?: ChainTokens
        • Optional wrappedNative?: Token
        \ No newline at end of file +
      • Optional tokenMap?: ChainTokens
      • Optional wrappedNative?: Token
      • \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_definitions.CircleAttestation.html b/docs/types/_wormhole_foundation_sdk_definitions.CircleAttestation.html index e971730a6..1a1ea06e4 100644 --- a/docs/types/_wormhole_foundation_sdk_definitions.CircleAttestation.html +++ b/docs/types/_wormhole_foundation_sdk_definitions.CircleAttestation.html @@ -1,2 +1,2 @@ -CircleAttestation | Wormhole TS SDK - v0.7.0
        CircleAttestation: string

        Attestation from circle attestation api

        -
        \ No newline at end of file +CircleAttestation | Wormhole TS SDK - v1.13.2
        CircleAttestation: string

        Attestation from circle attestation api

        +
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_definitions.CircleBridge.Attestation.html b/docs/types/_wormhole_foundation_sdk_definitions.CircleBridge.Attestation.html index 6454925b0..e6529bdce 100644 --- a/docs/types/_wormhole_foundation_sdk_definitions.CircleBridge.Attestation.html +++ b/docs/types/_wormhole_foundation_sdk_definitions.CircleBridge.Attestation.html @@ -1,2 +1,2 @@ -Attestation | Wormhole TS SDK - v0.7.0
        Attestation: {
            attestation?: string;
            message: Message;
        }

        Circle message and attestation if available

        -

        Type declaration

        • Optional attestation?: string
        • message: Message
        \ No newline at end of file +Attestation | Wormhole TS SDK - v1.13.2
        Attestation: {
            attestation?: string;
            message: Message;
        }

        Circle message and attestation if available

        +

        Type declaration

        • Optional attestation?: string
        • message: Message
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_definitions.CircleBridge.ProtocolName.html b/docs/types/_wormhole_foundation_sdk_definitions.CircleBridge.ProtocolName.html index 7f793b73b..0c09e8bb5 100644 --- a/docs/types/_wormhole_foundation_sdk_definitions.CircleBridge.ProtocolName.html +++ b/docs/types/_wormhole_foundation_sdk_definitions.CircleBridge.ProtocolName.html @@ -1,2 +1,2 @@ -ProtocolName | Wormhole TS SDK - v0.7.0
        ProtocolName: typeof _protocol

        The compile time type for the CircleBridge protocol

        -
        \ No newline at end of file +ProtocolName | Wormhole TS SDK - v1.13.2
        ProtocolName: typeof _protocol

        The compile time type for the CircleBridge protocol

        +
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_definitions.CircleMessageId.html b/docs/types/_wormhole_foundation_sdk_definitions.CircleMessageId.html index 0569d85eb..c3ed6c2b9 100644 --- a/docs/types/_wormhole_foundation_sdk_definitions.CircleMessageId.html +++ b/docs/types/_wormhole_foundation_sdk_definitions.CircleMessageId.html @@ -1,3 +1,3 @@ -CircleMessageId | Wormhole TS SDK - v0.7.0
        CircleMessageId: {
            hash: string;
        }

        Circle Message Identifier +CircleMessageId | Wormhole TS SDK - v1.13.2

        CircleMessageId: {
            hash: string;
        }

        Circle Message Identifier Used to fetch a Circle attestation

        -

        Type declaration

        • hash: string
        \ No newline at end of file +

        Type declaration

        • hash: string
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_definitions.Contracts.html b/docs/types/_wormhole_foundation_sdk_definitions.Contracts.html index af9eb8d01..f2b78df56 100644 --- a/docs/types/_wormhole_foundation_sdk_definitions.Contracts.html +++ b/docs/types/_wormhole_foundation_sdk_definitions.Contracts.html @@ -1,2 +1,2 @@ -Contracts | Wormhole TS SDK - v0.7.0
        Contracts: {
            cctp?: contracts.CircleContracts;
            coreBridge?: string;
            gateway?: string;
            nftBridge?: string;
            portico?: contracts.PorticoContracts;
            relayer?: string;
            tokenBridge?: string;
            tokenBridgeRelayer?: string;
            translator?: string;
        } & UnknownContracts

        The Contract addresses set in configuration for a given chain

        -

        Type declaration

        • Optional cctp?: contracts.CircleContracts
        • Optional coreBridge?: string
        • Optional gateway?: string
        • Optional nftBridge?: string
        • Optional portico?: contracts.PorticoContracts
        • Optional relayer?: string
        • Optional tokenBridge?: string
        • Optional tokenBridgeRelayer?: string
        • Optional translator?: string
        \ No newline at end of file +Contracts | Wormhole TS SDK - v1.13.2
        Contracts: {
            cctp?: contracts.CircleContracts;
            coreBridge?: string;
            gateway?: string;
            nftBridge?: string;
            portico?: contracts.PorticoContracts;
            relayer?: string;
            tokenBridge?: string;
            tokenBridgeRelayer?: string;
            translator?: string;
        } & UnknownContracts

        The Contract addresses set in configuration for a given chain

        +

        Type declaration

        • Optional cctp?: contracts.CircleContracts
        • Optional coreBridge?: string
        • Optional gateway?: string
        • Optional nftBridge?: string
        • Optional portico?: contracts.PorticoContracts
        • Optional relayer?: string
        • Optional tokenBridge?: string
        • Optional tokenBridgeRelayer?: string
        • Optional translator?: string
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_definitions.GatewayTransferDetails.html b/docs/types/_wormhole_foundation_sdk_definitions.GatewayTransferDetails.html index f25628fd3..9d3e370ab 100644 --- a/docs/types/_wormhole_foundation_sdk_definitions.GatewayTransferDetails.html +++ b/docs/types/_wormhole_foundation_sdk_definitions.GatewayTransferDetails.html @@ -1,2 +1,2 @@ -GatewayTransferDetails | Wormhole TS SDK - v0.7.0
        GatewayTransferDetails: {
            amount: bigint;
            fee?: bigint;
            from: ChainAddress;
            nativeGas?: bigint;
            nonce?: number;
            payload?: Uint8Array;
            to: ChainAddress;
            token: TokenId;
        }

        Configuration for a transfer through the Gateway

        -

        Type declaration

        • amount: bigint
        • Optional fee?: bigint
        • from: ChainAddress
        • Optional nativeGas?: bigint
        • Optional nonce?: number
        • Optional payload?: Uint8Array
        • to: ChainAddress
        • token: TokenId
        \ No newline at end of file +GatewayTransferDetails | Wormhole TS SDK - v1.13.2
        GatewayTransferDetails: {
            amount: bigint;
            fee?: bigint;
            from: ChainAddress;
            nativeGas?: bigint;
            nonce?: number;
            payload?: Uint8Array;
            to: ChainAddress;
            token: TokenId;
        }

        Configuration for a transfer through the Gateway

        +

        Type declaration

        • amount: bigint
        • Optional fee?: bigint
        • from: ChainAddress
        • Optional nativeGas?: bigint
        • Optional nonce?: number
        • Optional payload?: Uint8Array
        • to: ChainAddress
        • token: TokenId
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_definitions.IbcMessageId.html b/docs/types/_wormhole_foundation_sdk_definitions.IbcMessageId.html index b532aee92..c73ff0ffb 100644 --- a/docs/types/_wormhole_foundation_sdk_definitions.IbcMessageId.html +++ b/docs/types/_wormhole_foundation_sdk_definitions.IbcMessageId.html @@ -1,3 +1,3 @@ -IbcMessageId | Wormhole TS SDK - v0.7.0
        IbcMessageId: {
            chain: Chain;
            dstChannel: string;
            dstPort: string;
            sequence: number;
            srcChannel: string;
            srcPort: string;
        }

        Ibc Message Identifier +IbcMessageId | Wormhole TS SDK - v1.13.2

        IbcMessageId: {
            chain: Chain;
            dstChannel: string;
            dstPort: string;
            sequence: number;
            srcChannel: string;
            srcPort: string;
        }

        Ibc Message Identifier Used to fetch a Ibc attestation

        -

        Type declaration

        • chain: Chain
        • dstChannel: string
        • dstPort: string
        • sequence: number
        • srcChannel: string
        • srcPort: string
        \ No newline at end of file +

        Type declaration

        • chain: Chain
        • dstChannel: string
        • dstPort: string
        • sequence: number
        • srcChannel: string
        • srcPort: string
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_definitions.NativeAddress.html b/docs/types/_wormhole_foundation_sdk_definitions.NativeAddress.html index 98806850b..28e9656c6 100644 --- a/docs/types/_wormhole_foundation_sdk_definitions.NativeAddress.html +++ b/docs/types/_wormhole_foundation_sdk_definitions.NativeAddress.html @@ -1,2 +1,2 @@ -NativeAddress | Wormhole TS SDK - v0.7.0
        NativeAddress<C>: GetNativeAddress<ChainToPlatform<C>>

        An address that has been parsed into its Nativfe Address type

        -

        Type Parameters

        • C extends Chain
        \ No newline at end of file +NativeAddress | Wormhole TS SDK - v1.13.2
        NativeAddress<C>: GetNativeAddress<ChainToPlatform<C>>

        An address that has been parsed into its Native Address type

        +

        Type Parameters

        • C extends Chain
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_definitions.PorticoBridge.ProtocolName.html b/docs/types/_wormhole_foundation_sdk_definitions.PorticoBridge.ProtocolName.html index 894251908..18d55b751 100644 --- a/docs/types/_wormhole_foundation_sdk_definitions.PorticoBridge.ProtocolName.html +++ b/docs/types/_wormhole_foundation_sdk_definitions.PorticoBridge.ProtocolName.html @@ -1,2 +1,2 @@ -ProtocolName | Wormhole TS SDK - v0.7.0
        ProtocolName: typeof _protocol

        The compile time protocol name type for Portico Bridge

        -
        \ No newline at end of file +ProtocolName | Wormhole TS SDK - v1.13.2
        ProtocolName: typeof _protocol

        The compile time protocol name type for Portico Bridge

        +
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_definitions.PorticoBridge.VAA.html b/docs/types/_wormhole_foundation_sdk_definitions.PorticoBridge.VAA.html index 6d6ce1606..3a4e7fd27 100644 --- a/docs/types/_wormhole_foundation_sdk_definitions.PorticoBridge.VAA.html +++ b/docs/types/_wormhole_foundation_sdk_definitions.PorticoBridge.VAA.html @@ -1,2 +1,2 @@ -VAA | Wormhole TS SDK - v0.7.0

        The VAA types emitted by the PorticoBridge protocol

        -

        Type Parameters

        • PayloadName extends PayloadNames = PayloadNames
        \ No newline at end of file +VAA | Wormhole TS SDK - v1.13.2

        The VAA types emitted by the PorticoBridge protocol

        +

        Type Parameters

        • PayloadName extends PayloadNames = PayloadNames
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_definitions.ProtocolImplementation.html b/docs/types/_wormhole_foundation_sdk_definitions.ProtocolImplementation.html index 7b5d48b79..ea6996417 100644 --- a/docs/types/_wormhole_foundation_sdk_definitions.ProtocolImplementation.html +++ b/docs/types/_wormhole_foundation_sdk_definitions.ProtocolImplementation.html @@ -1,4 +1,4 @@ -ProtocolImplementation | Wormhole TS SDK - v0.7.0
        ProtocolImplementation<P, PN>: PN extends ProtocolName
            ? P extends keyof WormholeRegistry.ProtocolToPlatformMapping[PN]
                ? NonNullable<WormholeRegistry.ProtocolToPlatformMapping[PN][P]>
                : never
            : never

        The platform specific implementation from the registry +ProtocolImplementation | Wormhole TS SDK - v1.13.2

        ProtocolImplementation<P, PN>: PN extends ProtocolName
            ? P extends keyof ProtocolToPlatformMapping[PN]
                ? NonNullable<ProtocolToPlatformMapping[PN][P]>
                : never
            : never

        The platform specific implementation from the registry returns the ProtocolInitializer for constructing an instance of the Platform implementation

        -

        Type Parameters

        \ No newline at end of file +

        Type Parameters

        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_definitions.ProtocolInterface.html b/docs/types/_wormhole_foundation_sdk_definitions.ProtocolInterface.html index 0cc276f7a..799b878ff 100644 --- a/docs/types/_wormhole_foundation_sdk_definitions.ProtocolInterface.html +++ b/docs/types/_wormhole_foundation_sdk_definitions.ProtocolInterface.html @@ -1,2 +1,2 @@ -ProtocolInterface | Wormhole TS SDK - v0.7.0

        The interface corresponding to the protocol passed in generic parameters

        -

        Type Parameters

        \ No newline at end of file +ProtocolInterface | Wormhole TS SDK - v1.13.2
        ProtocolInterface<PN, N, C>: ProtocolToInterfaceMapping<N, C>[PN]

        The interface corresponding to the protocol passed in generic parameters

        +

        Type Parameters

        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_definitions.ProtocolName.html b/docs/types/_wormhole_foundation_sdk_definitions.ProtocolName.html index 4028ccac4..7346f7996 100644 --- a/docs/types/_wormhole_foundation_sdk_definitions.ProtocolName.html +++ b/docs/types/_wormhole_foundation_sdk_definitions.ProtocolName.html @@ -1,3 +1,3 @@ -ProtocolName | Wormhole TS SDK - v0.7.0

        A string type representing the name of a protocol +ProtocolName | Wormhole TS SDK - v1.13.2

        ProtocolName: keyof ProtocolToInterfaceMapping

        A string type representing the name of a protocol derived from the keys of the protocol registry map

        -
        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_definitions.ProtocolVAA.html b/docs/types/_wormhole_foundation_sdk_definitions.ProtocolVAA.html index d42ae0889..e2a4627f4 100644 --- a/docs/types/_wormhole_foundation_sdk_definitions.ProtocolVAA.html +++ b/docs/types/_wormhole_foundation_sdk_definitions.ProtocolVAA.html @@ -1,2 +1,2 @@ -ProtocolVAA | Wormhole TS SDK - v0.7.0
        ProtocolVAA<PN, PayloadName>: ComposeLiteral<PN, PayloadName, PayloadLiteral> extends infer PL extends PayloadLiteral
            ? DistributiveVAA<PL>
            : never

        A utility type that maps a protocol and payload name to its defined structure

        -

        Type Parameters

        \ No newline at end of file +ProtocolVAA | Wormhole TS SDK - v1.13.2
        ProtocolVAA<PN, PayloadName>: ComposeLiteral<PN, PayloadName, PayloadLiteral> extends infer PL extends PayloadLiteral
            ? DistributiveVAA<PL>
            : never

        A utility type that maps a protocol and payload name to its defined structure

        +

        Type Parameters

        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_definitions.SequenceId.html b/docs/types/_wormhole_foundation_sdk_definitions.SequenceId.html index e7819f222..efb8afa43 100644 --- a/docs/types/_wormhole_foundation_sdk_definitions.SequenceId.html +++ b/docs/types/_wormhole_foundation_sdk_definitions.SequenceId.html @@ -1,2 +1,2 @@ -SequenceId | Wormhole TS SDK - v0.7.0
        SequenceId: bigint

        The sequence number assigned to a given message by the core bridge

        -
        \ No newline at end of file +SequenceId | Wormhole TS SDK - v1.13.2
        SequenceId: bigint

        The sequence number assigned to a given message by the core bridge

        +
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_definitions.SignedTx.html b/docs/types/_wormhole_foundation_sdk_definitions.SignedTx.html index 70d748235..b987a836c 100644 --- a/docs/types/_wormhole_foundation_sdk_definitions.SignedTx.html +++ b/docs/types/_wormhole_foundation_sdk_definitions.SignedTx.html @@ -1,2 +1,2 @@ -SignedTx | Wormhole TS SDK - v0.7.0
        SignedTx: any

        A signed transaction in its canonical format

        -
        \ No newline at end of file +SignedTx | Wormhole TS SDK - v1.13.2
        SignedTx: any

        A signed transaction in its canonical format

        +
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_definitions.Signer.html b/docs/types/_wormhole_foundation_sdk_definitions.Signer.html index 29bcea3f2..ee4c63600 100644 --- a/docs/types/_wormhole_foundation_sdk_definitions.Signer.html +++ b/docs/types/_wormhole_foundation_sdk_definitions.Signer.html @@ -1,6 +1,6 @@ -Signer | Wormhole TS SDK - v0.7.0

        A Signer is an interface that must be provided to certain methods +Signer | Wormhole TS SDK - v1.13.2

        A Signer is an interface that must be provided to certain methods in the SDK to sign transactions. It can be either a SignOnlySigner or a SignAndSendSigner depending on circumstances. A Signer can be implemented by wrapping an existing offline wallet or a web wallet

        -

        Type Parameters

        • N extends Network = Network
        • C extends Chain = Chain
        \ No newline at end of file +

        Type Parameters

        • N extends Network = Network
        • C extends Chain = Chain
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_definitions.TokenAddress.html b/docs/types/_wormhole_foundation_sdk_definitions.TokenAddress.html index 44fdbfdf5..06dc1c960 100644 --- a/docs/types/_wormhole_foundation_sdk_definitions.TokenAddress.html +++ b/docs/types/_wormhole_foundation_sdk_definitions.TokenAddress.html @@ -1,3 +1,3 @@ -TokenAddress | Wormhole TS SDK - v0.7.0
        TokenAddress<C>: UniversalOrNative<C> | "native"

        An address representing an asset

        +TokenAddress | Wormhole TS SDK - v1.13.2
        TokenAddress<C>: UniversalOrNative<C> | "native"

        An address representing an asset

        Type Parameters

        • C extends Chain

        Remarks

        the string literal 'native' is used to represent the native gas token

        -
        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_definitions.TokenBridge.ProtocolName.html b/docs/types/_wormhole_foundation_sdk_definitions.TokenBridge.ProtocolName.html index 4f3e88c6b..ed2945697 100644 --- a/docs/types/_wormhole_foundation_sdk_definitions.TokenBridge.ProtocolName.html +++ b/docs/types/_wormhole_foundation_sdk_definitions.TokenBridge.ProtocolName.html @@ -1,2 +1,2 @@ -ProtocolName | Wormhole TS SDK - v0.7.0
        ProtocolName: typeof _protocol

        The compile time type of the TokenBridge protocol

        -
        \ No newline at end of file +ProtocolName | Wormhole TS SDK - v1.13.2
        ProtocolName: typeof _protocol

        The compile time type of the TokenBridge protocol

        +
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_definitions.TokenBridge.VAA.html b/docs/types/_wormhole_foundation_sdk_definitions.TokenBridge.VAA.html index dd3ea54e3..fd3c649d3 100644 --- a/docs/types/_wormhole_foundation_sdk_definitions.TokenBridge.VAA.html +++ b/docs/types/_wormhole_foundation_sdk_definitions.TokenBridge.VAA.html @@ -1,2 +1,2 @@ -VAA | Wormhole TS SDK - v0.7.0

        The VAAs emitted from the TokenBridge protocol

        -

        Type Parameters

        • PayloadName extends PayloadNames = PayloadNames
        \ No newline at end of file +VAA | Wormhole TS SDK - v1.13.2

        The VAAs emitted from the TokenBridge protocol

        +

        Type Parameters

        • PayloadName extends PayloadNames = PayloadNames
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_definitions.TokenTransferDetails.html b/docs/types/_wormhole_foundation_sdk_definitions.TokenTransferDetails.html index 2f9a8d02c..f194c0df7 100644 --- a/docs/types/_wormhole_foundation_sdk_definitions.TokenTransferDetails.html +++ b/docs/types/_wormhole_foundation_sdk_definitions.TokenTransferDetails.html @@ -1,2 +1,2 @@ -TokenTransferDetails | Wormhole TS SDK - v0.7.0
        TokenTransferDetails: {
            amount: bigint;
            automatic?: boolean;
            from: ChainAddress;
            nativeGas?: bigint;
            payload?: Uint8Array;
            to: ChainAddress;
            token: TokenId;
        }

        Details of a token transfer, used to initiate a transfer

        -

        Type declaration

        \ No newline at end of file +TokenTransferDetails | Wormhole TS SDK - v1.13.2
        TokenTransferDetails: {
            amount: bigint;
            automatic?: boolean;
            from: ChainAddress;
            nativeGas?: bigint;
            payload?: Uint8Array;
            to: ChainAddress;
            token: TokenId;
        }

        Details of a token transfer, used to initiate a transfer

        +

        Type declaration

        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_definitions.TransactionId.html b/docs/types/_wormhole_foundation_sdk_definitions.TransactionId.html index 73418f670..d67d76008 100644 --- a/docs/types/_wormhole_foundation_sdk_definitions.TransactionId.html +++ b/docs/types/_wormhole_foundation_sdk_definitions.TransactionId.html @@ -1,2 +1,2 @@ -TransactionId | Wormhole TS SDK - v0.7.0
        TransactionId<C>: {
            chain: C;
            txid: TxHash;
        }

        Fully qualified Transaction ID

        -

        Type Parameters

        • C extends Chain = Chain

        Type declaration

        \ No newline at end of file +TransactionId | Wormhole TS SDK - v1.13.2
        TransactionId<C>: {
            chain: C;
            txid: TxHash;
        }

        Fully qualified Transaction ID

        +

        Type Parameters

        • C extends Chain = Chain

        Type declaration

        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_definitions.TxHash.html b/docs/types/_wormhole_foundation_sdk_definitions.TxHash.html index d9fd1962c..6fcadc24c 100644 --- a/docs/types/_wormhole_foundation_sdk_definitions.TxHash.html +++ b/docs/types/_wormhole_foundation_sdk_definitions.TxHash.html @@ -1,2 +1,2 @@ -TxHash | Wormhole TS SDK - v0.7.0
        TxHash: string

        Alias for string, used to look up transaction details

        -
        \ No newline at end of file +TxHash | Wormhole TS SDK - v1.13.2
        TxHash: string

        Alias for string, used to look up transaction details

        +
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_definitions.UniversalOrNative.html b/docs/types/_wormhole_foundation_sdk_definitions.UniversalOrNative.html index 75f84ad4e..6cbd7b844 100644 --- a/docs/types/_wormhole_foundation_sdk_definitions.UniversalOrNative.html +++ b/docs/types/_wormhole_foundation_sdk_definitions.UniversalOrNative.html @@ -1,2 +1,2 @@ -UniversalOrNative | Wormhole TS SDK - v0.7.0
        UniversalOrNative<C>: UniversalAddress | NativeAddress<C>

        A union type representing a parsed address

        -

        Type Parameters

        • C extends Chain
        \ No newline at end of file +UniversalOrNative | Wormhole TS SDK - v1.13.2
        UniversalOrNative<C>: UniversalAddress | NativeAddress<C>

        A union type representing a parsed address

        +

        Type Parameters

        • C extends Chain
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_definitions.WormholeMessageId.html b/docs/types/_wormhole_foundation_sdk_definitions.WormholeMessageId.html index 9a1e90dae..50537e3a5 100644 --- a/docs/types/_wormhole_foundation_sdk_definitions.WormholeMessageId.html +++ b/docs/types/_wormhole_foundation_sdk_definitions.WormholeMessageId.html @@ -1,2 +1,2 @@ -WormholeMessageId | Wormhole TS SDK - v0.7.0
        WormholeMessageId: {
            chain: Chain;
            emitter: UniversalAddress;
            sequence: SequenceId;
        }

        Wormhole Message Identifier used to fetch a VAA

        -

        Type declaration

        \ No newline at end of file +WormholeMessageId | Wormhole TS SDK - v1.13.2
        WormholeMessageId: {
            chain: Chain;
            emitter: UniversalAddress;
            sequence: SequenceId;
        }

        Wormhole Message Identifier used to fetch a VAA

        +

        Type declaration

        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_evm.EvmChains.html b/docs/types/_wormhole_foundation_sdk_evm.EvmChains.html index 9e1e482e1..f6dcee542 100644 --- a/docs/types/_wormhole_foundation_sdk_evm.EvmChains.html +++ b/docs/types/_wormhole_foundation_sdk_evm.EvmChains.html @@ -1,2 +1,2 @@ -EvmChains | Wormhole TS SDK - v0.7.0
        EvmChains: PlatformToChains<EvmPlatformType>

        Type representing a union of the EVM Chains

        -
        \ No newline at end of file +EvmChains | Wormhole TS SDK - v1.13.2
        EvmChains: PlatformToChains<EvmPlatformType>

        Type representing a union of the EVM Chains

        +
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_evm.EvmPlatformType.html b/docs/types/_wormhole_foundation_sdk_evm.EvmPlatformType.html index fb7f39e1f..04b4c0528 100644 --- a/docs/types/_wormhole_foundation_sdk_evm.EvmPlatformType.html +++ b/docs/types/_wormhole_foundation_sdk_evm.EvmPlatformType.html @@ -1,2 +1,2 @@ -EvmPlatformType | Wormhole TS SDK - v0.7.0
        EvmPlatformType: typeof _platform

        Type for the EVM Platform

        -
        \ No newline at end of file +EvmPlatformType | Wormhole TS SDK - v1.13.2
        EvmPlatformType: typeof _platform

        Type for the EVM Platform

        +
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_solana.PriorityFeeOptions.html b/docs/types/_wormhole_foundation_sdk_solana.PriorityFeeOptions.html index 534e92e56..09be45c80 100644 --- a/docs/types/_wormhole_foundation_sdk_solana.PriorityFeeOptions.html +++ b/docs/types/_wormhole_foundation_sdk_solana.PriorityFeeOptions.html @@ -1,6 +1,6 @@ -PriorityFeeOptions | Wormhole TS SDK - v0.7.0
        PriorityFeeOptions: {
            max?: number;
            min?: number;
            percentile?: number;
            percentileMultiple?: number;
        }

        Options for setting the priority fee for a transaction

        +PriorityFeeOptions | Wormhole TS SDK - v1.13.2
        PriorityFeeOptions: {
            max?: number;
            min?: number;
            percentile?: number;
            percentileMultiple?: number;
        }

        Options for setting the priority fee for a transaction

        Type declaration

        • Optional max?: number

          The maximum priority fee to use

        • Optional min?: number

          The minimum priority fee to use

        • Optional percentile?: number

          The percentile of recent fees to use as a base fee

        • Optional percentileMultiple?: number

          The multiple to apply to the percentile base fee

          -
        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_solana.SolanaPlatformType.html b/docs/types/_wormhole_foundation_sdk_solana.SolanaPlatformType.html index 576bd3fd6..9b011eda6 100644 --- a/docs/types/_wormhole_foundation_sdk_solana.SolanaPlatformType.html +++ b/docs/types/_wormhole_foundation_sdk_solana.SolanaPlatformType.html @@ -1,2 +1,2 @@ -SolanaPlatformType | Wormhole TS SDK - v0.7.0
        SolanaPlatformType: typeof _platform

        Type for the Solana Platform

        -
        \ No newline at end of file +SolanaPlatformType | Wormhole TS SDK - v1.13.2
        SolanaPlatformType: typeof _platform

        Type for the Solana Platform

        +
        \ No newline at end of file diff --git a/docs/types/_wormhole_foundation_sdk_solana.SolanaSendSignerOptions.html b/docs/types/_wormhole_foundation_sdk_solana.SolanaSendSignerOptions.html index 23e8ef033..ca4b29d53 100644 --- a/docs/types/_wormhole_foundation_sdk_solana.SolanaSendSignerOptions.html +++ b/docs/types/_wormhole_foundation_sdk_solana.SolanaSendSignerOptions.html @@ -1,6 +1,6 @@ -SolanaSendSignerOptions | Wormhole TS SDK - v0.7.0
        SolanaSendSignerOptions: {
            debug?: boolean;
            priorityFee?: PriorityFeeOptions;
            retries?: number;
            sendOpts?: SendOptions;
        }

        Options for the SolanaSendSigner

        +SolanaSendSignerOptions | Wormhole TS SDK - v1.13.2
        SolanaSendSignerOptions: {
            debug?: boolean;
            priorityFee?: PriorityFeeOptions;
            retries?: number;
            sendOpts?: SendOptions;
        }

        Options for the SolanaSendSigner

        Type declaration

        • Optional debug?: boolean

          log details of transaction attempts

        • Optional priorityFee?: PriorityFeeOptions

          determine compute budget and priority fees to land a transaction

        • Optional retries?: number

          how many times to attempt resubmitting the transaction to the network with a new blockhash

        • Optional sendOpts?: SendOptions

          any send options from solana/web3.js

          -
        \ No newline at end of file +
        \ No newline at end of file diff --git a/docs/variables/_wormhole_foundation_sdk.index.TokenTransfer.MAX_DECIMALS.html b/docs/variables/_wormhole_foundation_sdk.index.TokenTransfer.MAX_DECIMALS.html deleted file mode 100644 index 55a1165b9..000000000 --- a/docs/variables/_wormhole_foundation_sdk.index.TokenTransfer.MAX_DECIMALS.html +++ /dev/null @@ -1,2 +0,0 @@ -MAX_DECIMALS | Wormhole TS SDK - v0.7.0
        MAX_DECIMALS: 8 = 8

        8 is maximum precision supported by the token bridge VAA

        -
        \ No newline at end of file diff --git a/docs/variables/_wormhole_foundation_sdk.index.encoding.b58.html b/docs/variables/_wormhole_foundation_sdk.index.encoding.b58.html deleted file mode 100644 index b1e59ab2e..000000000 --- a/docs/variables/_wormhole_foundation_sdk.index.encoding.b58.html +++ /dev/null @@ -1,4 +0,0 @@ -b58 | Wormhole TS SDK - v0.7.0
        b58: {
            decode: ((str) => Uint8Array);
            encode: ((input) => string);
        }

        Base58 encoding and decoding utilities

        -

        Type declaration

        • decode: ((str) => Uint8Array)

          decode a base58 string to Uint8Array

          -
            • (str): Uint8Array
            • Parameters

              • str: string

              Returns Uint8Array

        • encode: ((input) => string)

          encode a string or Uint8Array to base58

          -
            • (input): string
            • Parameters

              • input: string | Uint8Array

              Returns string

        \ No newline at end of file diff --git a/docs/variables/_wormhole_foundation_sdk.index.encoding.b64.html b/docs/variables/_wormhole_foundation_sdk.index.encoding.b64.html deleted file mode 100644 index 233410322..000000000 --- a/docs/variables/_wormhole_foundation_sdk.index.encoding.b64.html +++ /dev/null @@ -1,5 +0,0 @@ -b64 | Wormhole TS SDK - v0.7.0
        b64: {
            decode: ((str) => Uint8Array);
            encode: ((input) => string);
            valid: ((input) => boolean);
        }

        Base64 encoding and decoding utilities

        -

        Type declaration

        • decode: ((str) => Uint8Array)

          decode a base64 string to Uint8Array

          -
            • (str): Uint8Array
            • Parameters

              • str: string

              Returns Uint8Array

        • encode: ((input) => string)

          encode a string or Uint8Array to base64

          -
            • (input): string
            • Parameters

              • input: string | Uint8Array

              Returns string

        • valid: ((input) => boolean)

          check if a string is valid base64

          -
            • (input): boolean
            • Parameters

              • input: string

              Returns boolean

        \ No newline at end of file diff --git a/docs/variables/_wormhole_foundation_sdk.index.encoding.bignum.html b/docs/variables/_wormhole_foundation_sdk.index.encoding.bignum.html deleted file mode 100644 index b39f1481f..000000000 --- a/docs/variables/_wormhole_foundation_sdk.index.encoding.bignum.html +++ /dev/null @@ -1,7 +0,0 @@ -bignum | Wormhole TS SDK - v0.7.0
        bignum: {
            decode: ((input) => bigint);
            encode: ((input, prefix?) => string);
            toBytes: ((input, length?) => Uint8Array);
            toString: ((input, prefix?) => string);
        }

        BigInt encoding and decoding utilities

        -

        Type declaration

        • decode: ((input) => bigint)

          decode a hex string or bytes to a bigint

          -
            • (input): bigint
            • Parameters

              • input: string | Uint8Array

              Returns bigint

        • encode: ((input, prefix?) => string)

          encode a bigint as a hex string

          -
            • (input, prefix?): string
            • Parameters

              • input: bigint
              • Optional prefix: boolean

              Returns string

        • toBytes: ((input, length?) => Uint8Array)

          convert a bigint or number to bytes, - optionally specify length, left padded with 0s to length

          -
            • (input, length?): Uint8Array
            • Parameters

              • input: bigint | number
              • Optional length: number

              Returns Uint8Array

        • toString: ((input, prefix?) => string)

          convert a bigint to a hexstring

          -
            • (input, prefix?): string
            • Parameters

              • input: bigint
              • Optional prefix: boolean

              Returns string

        \ No newline at end of file diff --git a/docs/variables/_wormhole_foundation_sdk.index.encoding.bytes.html b/docs/variables/_wormhole_foundation_sdk.index.encoding.bytes.html deleted file mode 100644 index 6cc0a2a18..000000000 --- a/docs/variables/_wormhole_foundation_sdk.index.encoding.bytes.html +++ /dev/null @@ -1,7 +0,0 @@ -bytes | Wormhole TS SDK - v0.7.0
        bytes: {
            concat: ((...args) => Uint8Array);
            decode: ((value) => string);
            encode: ((value) => Uint8Array);
            equals: ((lhs, rhs) => boolean);
            zpad: ((arr, length, padStart?) => Uint8Array);
        }

        Uint8Array encoding and decoding utilities

        -

        Type declaration

        • concat: ((...args) => Uint8Array)

          concatenate multiple Uint8Arrays into a single Uint8Array

          -
            • (...args): Uint8Array
            • Parameters

              • Rest ...args: Uint8Array[]

              Returns Uint8Array

        • decode: ((value) => string)

          decode a Uint8Array to string

          -
            • (value): string
            • Parameters

              • value: Uint8Array

              Returns string

        • encode: ((value) => Uint8Array)

          encode a string to Uint8Array

          -
            • (value): Uint8Array
            • Parameters

              • value: string

              Returns Uint8Array

        • equals: ((lhs, rhs) => boolean)

          compare two Uint8Arrays for equality

          -
            • (lhs, rhs): boolean
            • Parameters

              • lhs: Uint8Array
              • rhs: Uint8Array

              Returns boolean

        • zpad: ((arr, length, padStart?) => Uint8Array)

          pad a Uint8Array to a given length, optionally specifying padding direction

          -
            • (arr, length, padStart?): Uint8Array
            • Parameters

              • arr: Uint8Array
              • length: number
              • Optional padStart: boolean

              Returns Uint8Array

        \ No newline at end of file diff --git a/docs/variables/_wormhole_foundation_sdk.index.encoding.hex.html b/docs/variables/_wormhole_foundation_sdk.index.encoding.hex.html deleted file mode 100644 index 48668ffde..000000000 --- a/docs/variables/_wormhole_foundation_sdk.index.encoding.hex.html +++ /dev/null @@ -1,5 +0,0 @@ -hex | Wormhole TS SDK - v0.7.0
        hex: {
            decode: ((input) => Uint8Array);
            encode: ((input, prefix?) => string);
            valid: ((input) => boolean);
        }

        Base16/Hex encoding and decoding utilities

        -

        Type declaration

        • decode: ((input) => Uint8Array)

          decode a hex string to Uint8Array

          -
            • (input): Uint8Array
            • Parameters

              • input: string

              Returns Uint8Array

        • encode: ((input, prefix?) => string)

          encode a string or Uint8Array to hex

          -
            • (input, prefix?): string
            • Parameters

              • input: string | Uint8Array
              • Optional prefix: boolean

              Returns string

        • valid: ((input) => boolean)

          check if a string is valid hex

          -
            • (input): boolean
            • Parameters

              • input: string

              Returns boolean

        \ No newline at end of file diff --git a/docs/variables/_wormhole_foundation_sdk_algorand._platform.html b/docs/variables/_wormhole_foundation_sdk_algorand._platform.html index f89f9b633..71d491707 100644 --- a/docs/variables/_wormhole_foundation_sdk_algorand._platform.html +++ b/docs/variables/_wormhole_foundation_sdk_algorand._platform.html @@ -1,2 +1,2 @@ -_platform | Wormhole TS SDK - v0.7.0
        _platform: "Algorand" = "Algorand"

        Runtime value for the Algorand Platform

        -
        \ No newline at end of file +_platform | Wormhole TS SDK - v1.13.2
        _platform: "Algorand" = "Algorand"

        Runtime value for the Algorand Platform

        +
        \ No newline at end of file diff --git a/docs/variables/_wormhole_foundation_sdk_base.encoding.b58.html b/docs/variables/_wormhole_foundation_sdk_base.encoding.b58.html index 4ec991538..064cadfdf 100644 --- a/docs/variables/_wormhole_foundation_sdk_base.encoding.b58.html +++ b/docs/variables/_wormhole_foundation_sdk_base.encoding.b58.html @@ -1,4 +1,4 @@ -b58 | Wormhole TS SDK - v0.7.0
        b58: {
            decode: ((str) => Uint8Array);
            encode: ((input) => string);
        } = ...

        Base58 encoding and decoding utilities

        +b58 | Wormhole TS SDK - v1.13.2
        b58: {
            decode: ((str) => Uint8Array);
            encode: ((input) => string);
        } = ...

        Base58 encoding and decoding utilities

        Type declaration

        • decode: ((str) => Uint8Array)

          decode a base58 string to Uint8Array

            • (str): Uint8Array
            • Parameters

              • str: string

              Returns Uint8Array

        • encode: ((input) => string)

          encode a string or Uint8Array to base58

          -
            • (input): string
            • Parameters

              • input: string | Uint8Array

              Returns string

        \ No newline at end of file +
          • (input): string
          • Parameters

            • input: string | Uint8Array

            Returns string

        \ No newline at end of file diff --git a/docs/variables/_wormhole_foundation_sdk_base.encoding.b64.html b/docs/variables/_wormhole_foundation_sdk_base.encoding.b64.html index cfe5ede9c..bed0e9b48 100644 --- a/docs/variables/_wormhole_foundation_sdk_base.encoding.b64.html +++ b/docs/variables/_wormhole_foundation_sdk_base.encoding.b64.html @@ -1,5 +1,5 @@ -b64 | Wormhole TS SDK - v0.7.0
        b64: {
            decode: ((str) => Uint8Array);
            encode: ((input) => string);
            valid: ((input) => boolean);
        } = ...

        Base64 encoding and decoding utilities

        +b64 | Wormhole TS SDK - v1.13.2
        b64: {
            decode: ((str) => Uint8Array);
            encode: ((input) => string);
            valid: ((input) => boolean);
        } = ...

        Base64 encoding and decoding utilities

        Type declaration

        • decode: ((str) => Uint8Array)

          decode a base64 string to Uint8Array

            • (str): Uint8Array
            • Parameters

              • str: string

              Returns Uint8Array

        • encode: ((input) => string)

          encode a string or Uint8Array to base64

            • (input): string
            • Parameters

              • input: string | Uint8Array

              Returns string

        • valid: ((input) => boolean)

          check if a string is valid base64

          -
            • (input): boolean
            • Parameters

              • input: string

              Returns boolean

        \ No newline at end of file +
          • (input): boolean
          • Parameters

            • input: string

            Returns boolean

        \ No newline at end of file diff --git a/docs/variables/_wormhole_foundation_sdk_base.encoding.bignum.html b/docs/variables/_wormhole_foundation_sdk_base.encoding.bignum.html index 3732ebba8..11cc09673 100644 --- a/docs/variables/_wormhole_foundation_sdk_base.encoding.bignum.html +++ b/docs/variables/_wormhole_foundation_sdk_base.encoding.bignum.html @@ -1,7 +1,9 @@ -bignum | Wormhole TS SDK - v0.7.0
        bignum: {
            decode: ((input) => bigint);
            encode: ((input, prefix?) => string);
            toBytes: ((input, length?) => Uint8Array);
            toString: ((input, prefix?) => string);
        } = ...

        BigInt encoding and decoding utilities

        +bignum | Wormhole TS SDK - v1.13.2
        bignum: {
            decode: ((input) => bigint);
            encode: ((input, prefix?) => string);
            toBigInt: ((input) => bigint);
            toBytes: ((input, length?) => Uint8Array);
            toNumber: ((input) => number);
            toString: ((input, prefix?) => string);
        } = ...

        BigInt encoding and decoding utilities

        Type declaration

        • decode: ((input) => bigint)

          decode a hex string or bytes to a bigint

            • (input): bigint
            • Parameters

              • input: string | Uint8Array

              Returns bigint

        • encode: ((input, prefix?) => string)

          encode a bigint as a hex string

          -
            • (input, prefix?): string
            • Parameters

              • input: bigint
              • prefix: boolean = false

              Returns string

        • toBytes: ((input, length?) => Uint8Array)

          convert a bigint or number to bytes, +

            • (input, prefix?): string
            • Parameters

              • input: bigint
              • prefix: boolean = false

              Returns string

        • toBigInt: ((input) => bigint)

          safe cast from number to bigint

          +
            • (input): bigint
            • Parameters

              • input: number

              Returns bigint

        • toBytes: ((input, length?) => Uint8Array)

          convert a bigint or number to bytes, optionally specify length, left padded with 0s to length

          -
            • (input, length?): Uint8Array
            • Parameters

              • input: number | bigint
              • Optional length: number

              Returns Uint8Array

        • toString: ((input, prefix?) => string)

          convert a bigint to a hexstring

          -
            • (input, prefix?): string
            • Parameters

              • input: bigint
              • prefix: boolean = false

              Returns string

        \ No newline at end of file +
          • (input, length?): Uint8Array
          • Parameters

            • input: number | bigint
            • Optional length: number

            Returns Uint8Array

      • toNumber: ((input) => number)

        safe cast from bigint to number

        +
          • (input): number
          • Parameters

            • input: bigint

            Returns number

      • toString: ((input, prefix?) => string)

        convert a bigint to a hexstring

        +
          • (input, prefix?): string
          • Parameters

            • input: bigint
            • prefix: boolean = false

            Returns string

      • \ No newline at end of file diff --git a/docs/variables/_wormhole_foundation_sdk_base.encoding.bytes.html b/docs/variables/_wormhole_foundation_sdk_base.encoding.bytes.html index 32f156441..6d3698077 100644 --- a/docs/variables/_wormhole_foundation_sdk_base.encoding.bytes.html +++ b/docs/variables/_wormhole_foundation_sdk_base.encoding.bytes.html @@ -1,7 +1,7 @@ -bytes | Wormhole TS SDK - v0.7.0
        bytes: {
            concat: ((...args) => Uint8Array);
            decode: ((value) => string);
            encode: ((value) => Uint8Array);
            equals: ((lhs, rhs) => boolean);
            zpad: ((arr, length, padStart?) => Uint8Array);
        } = ...

        Uint8Array encoding and decoding utilities

        +bytes | Wormhole TS SDK - v1.13.2
        bytes: {
            concat: ((...args) => Uint8Array);
            decode: ((value) => string);
            encode: ((value) => Uint8Array);
            equals: ((lhs, rhs) => boolean);
            zpad: ((arr, length, padStart?) => Uint8Array);
        } = ...

        Uint8Array encoding and decoding utilities

        Type declaration

        • concat: ((...args) => Uint8Array)

          concatenate multiple Uint8Arrays into a single Uint8Array

            • (...args): Uint8Array
            • Parameters

              • Rest ...args: Uint8Array[]

              Returns Uint8Array

        • decode: ((value) => string)

          decode a Uint8Array to string

            • (value): string
            • Parameters

              • value: Uint8Array

              Returns string

        • encode: ((value) => Uint8Array)

          encode a string to Uint8Array

            • (value): Uint8Array
            • Parameters

              • value: string

              Returns Uint8Array

        • equals: ((lhs, rhs) => boolean)

          compare two Uint8Arrays for equality

            • (lhs, rhs): boolean
            • Parameters

              • lhs: Uint8Array
              • rhs: Uint8Array

              Returns boolean

        • zpad: ((arr, length, padStart?) => Uint8Array)

          pad a Uint8Array to a given length, optionally specifying padding direction

          -
            • (arr, length, padStart?): Uint8Array
            • Parameters

              • arr: Uint8Array
              • length: number
              • padStart: boolean = true

              Returns Uint8Array

        \ No newline at end of file +
          • (arr, length, padStart?): Uint8Array
          • Parameters

            • arr: Uint8Array
            • length: number
            • padStart: boolean = true

            Returns Uint8Array

        \ No newline at end of file diff --git a/docs/variables/_wormhole_foundation_sdk_base.encoding.hex.html b/docs/variables/_wormhole_foundation_sdk_base.encoding.hex.html index 0801cf8b6..2432e6756 100644 --- a/docs/variables/_wormhole_foundation_sdk_base.encoding.hex.html +++ b/docs/variables/_wormhole_foundation_sdk_base.encoding.hex.html @@ -1,5 +1,5 @@ -hex | Wormhole TS SDK - v0.7.0
        hex: {
            decode: ((input) => Uint8Array);
            encode: ((input, prefix?) => string);
            valid: ((input) => boolean);
        } = ...

        Base16/Hex encoding and decoding utilities

        +hex | Wormhole TS SDK - v1.13.2
        hex: {
            decode: ((input) => Uint8Array);
            encode: ((input, prefix?) => string);
            valid: ((input) => boolean);
        } = ...

        Base16/Hex encoding and decoding utilities

        Type declaration

        • decode: ((input) => Uint8Array)

          decode a hex string to Uint8Array

            • (input): Uint8Array
            • Parameters

              • input: string

              Returns Uint8Array

        • encode: ((input, prefix?) => string)

          encode a string or Uint8Array to hex

            • (input, prefix?): string
            • Parameters

              • input: string | Uint8Array
              • prefix: boolean = false

              Returns string

        • valid: ((input) => boolean)

          check if a string is valid hex

          -
            • (input): boolean
            • Parameters

              • input: string

              Returns boolean

        \ No newline at end of file +
          • (input): boolean
          • Parameters

            • input: string

            Returns boolean

        \ No newline at end of file diff --git a/docs/variables/_wormhole_foundation_sdk_connect.TokenTransfer.MAX_DECIMALS.html b/docs/variables/_wormhole_foundation_sdk_connect.TokenTransfer.MAX_DECIMALS.html index a53e67b20..018ecfb1f 100644 --- a/docs/variables/_wormhole_foundation_sdk_connect.TokenTransfer.MAX_DECIMALS.html +++ b/docs/variables/_wormhole_foundation_sdk_connect.TokenTransfer.MAX_DECIMALS.html @@ -1,2 +1,2 @@ -MAX_DECIMALS | Wormhole TS SDK - v0.7.0
        MAX_DECIMALS: 8 = 8

        8 is maximum precision supported by the token bridge VAA

        -
        \ No newline at end of file +MAX_DECIMALS | Wormhole TS SDK - v1.13.2
        MAX_DECIMALS: 8 = 8

        8 is maximum precision supported by the token bridge VAA

        +
        \ No newline at end of file diff --git a/docs/variables/_wormhole_foundation_sdk_connect.encoding.b58.html b/docs/variables/_wormhole_foundation_sdk_connect.encoding.b58.html deleted file mode 100644 index e5b711178..000000000 --- a/docs/variables/_wormhole_foundation_sdk_connect.encoding.b58.html +++ /dev/null @@ -1,4 +0,0 @@ -b58 | Wormhole TS SDK - v0.7.0
        b58: {
            decode: ((str) => Uint8Array);
            encode: ((input) => string);
        }

        Base58 encoding and decoding utilities

        -

        Type declaration

        • decode: ((str) => Uint8Array)

          decode a base58 string to Uint8Array

          -
            • (str): Uint8Array
            • Parameters

              • str: string

              Returns Uint8Array

        • encode: ((input) => string)

          encode a string or Uint8Array to base58

          -
            • (input): string
            • Parameters

              • input: string | Uint8Array

              Returns string

        \ No newline at end of file diff --git a/docs/variables/_wormhole_foundation_sdk_connect.encoding.b64.html b/docs/variables/_wormhole_foundation_sdk_connect.encoding.b64.html deleted file mode 100644 index 3418364ec..000000000 --- a/docs/variables/_wormhole_foundation_sdk_connect.encoding.b64.html +++ /dev/null @@ -1,5 +0,0 @@ -b64 | Wormhole TS SDK - v0.7.0
        b64: {
            decode: ((str) => Uint8Array);
            encode: ((input) => string);
            valid: ((input) => boolean);
        }

        Base64 encoding and decoding utilities

        -

        Type declaration

        • decode: ((str) => Uint8Array)

          decode a base64 string to Uint8Array

          -
            • (str): Uint8Array
            • Parameters

              • str: string

              Returns Uint8Array

        • encode: ((input) => string)

          encode a string or Uint8Array to base64

          -
            • (input): string
            • Parameters

              • input: string | Uint8Array

              Returns string

        • valid: ((input) => boolean)

          check if a string is valid base64

          -
            • (input): boolean
            • Parameters

              • input: string

              Returns boolean

        \ No newline at end of file diff --git a/docs/variables/_wormhole_foundation_sdk_connect.encoding.bignum.html b/docs/variables/_wormhole_foundation_sdk_connect.encoding.bignum.html deleted file mode 100644 index d5cacf238..000000000 --- a/docs/variables/_wormhole_foundation_sdk_connect.encoding.bignum.html +++ /dev/null @@ -1,7 +0,0 @@ -bignum | Wormhole TS SDK - v0.7.0
        bignum: {
            decode: ((input) => bigint);
            encode: ((input, prefix?) => string);
            toBytes: ((input, length?) => Uint8Array);
            toString: ((input, prefix?) => string);
        }

        BigInt encoding and decoding utilities

        -

        Type declaration

        • decode: ((input) => bigint)

          decode a hex string or bytes to a bigint

          -
            • (input): bigint
            • Parameters

              • input: string | Uint8Array

              Returns bigint

        • encode: ((input, prefix?) => string)

          encode a bigint as a hex string

          -
            • (input, prefix?): string
            • Parameters

              • input: bigint
              • Optional prefix: boolean

              Returns string

        • toBytes: ((input, length?) => Uint8Array)

          convert a bigint or number to bytes, - optionally specify length, left padded with 0s to length

          -
            • (input, length?): Uint8Array
            • Parameters

              • input: bigint | number
              • Optional length: number

              Returns Uint8Array

        • toString: ((input, prefix?) => string)

          convert a bigint to a hexstring

          -
            • (input, prefix?): string
            • Parameters

              • input: bigint
              • Optional prefix: boolean

              Returns string

        \ No newline at end of file diff --git a/docs/variables/_wormhole_foundation_sdk_connect.encoding.bytes.html b/docs/variables/_wormhole_foundation_sdk_connect.encoding.bytes.html deleted file mode 100644 index 5f8e065e8..000000000 --- a/docs/variables/_wormhole_foundation_sdk_connect.encoding.bytes.html +++ /dev/null @@ -1,7 +0,0 @@ -bytes | Wormhole TS SDK - v0.7.0
        bytes: {
            concat: ((...args) => Uint8Array);
            decode: ((value) => string);
            encode: ((value) => Uint8Array);
            equals: ((lhs, rhs) => boolean);
            zpad: ((arr, length, padStart?) => Uint8Array);
        }

        Uint8Array encoding and decoding utilities

        -

        Type declaration

        • concat: ((...args) => Uint8Array)

          concatenate multiple Uint8Arrays into a single Uint8Array

          -
            • (...args): Uint8Array
            • Parameters

              • Rest ...args: Uint8Array[]

              Returns Uint8Array

        • decode: ((value) => string)

          decode a Uint8Array to string

          -
            • (value): string
            • Parameters

              • value: Uint8Array

              Returns string

        • encode: ((value) => Uint8Array)

          encode a string to Uint8Array

          -
            • (value): Uint8Array
            • Parameters

              • value: string

              Returns Uint8Array

        • equals: ((lhs, rhs) => boolean)

          compare two Uint8Arrays for equality

          -
            • (lhs, rhs): boolean
            • Parameters

              • lhs: Uint8Array
              • rhs: Uint8Array

              Returns boolean

        • zpad: ((arr, length, padStart?) => Uint8Array)

          pad a Uint8Array to a given length, optionally specifying padding direction

          -
            • (arr, length, padStart?): Uint8Array
            • Parameters

              • arr: Uint8Array
              • length: number
              • Optional padStart: boolean

              Returns Uint8Array

        \ No newline at end of file diff --git a/docs/variables/_wormhole_foundation_sdk_connect.encoding.hex.html b/docs/variables/_wormhole_foundation_sdk_connect.encoding.hex.html deleted file mode 100644 index babd10869..000000000 --- a/docs/variables/_wormhole_foundation_sdk_connect.encoding.hex.html +++ /dev/null @@ -1,5 +0,0 @@ -hex | Wormhole TS SDK - v0.7.0
        hex: {
            decode: ((input) => Uint8Array);
            encode: ((input, prefix?) => string);
            valid: ((input) => boolean);
        }

        Base16/Hex encoding and decoding utilities

        -

        Type declaration

        • decode: ((input) => Uint8Array)

          decode a hex string to Uint8Array

          -
            • (input): Uint8Array
            • Parameters

              • input: string

              Returns Uint8Array

        • encode: ((input, prefix?) => string)

          encode a string or Uint8Array to hex

          -
            • (input, prefix?): string
            • Parameters

              • input: string | Uint8Array
              • Optional prefix: boolean

              Returns string

        • valid: ((input) => boolean)

          check if a string is valid hex

          -
            • (input): boolean
            • Parameters

              • input: string

              Returns boolean

        \ No newline at end of file diff --git a/docs/variables/_wormhole_foundation_sdk_cosmwasm._platform.html b/docs/variables/_wormhole_foundation_sdk_cosmwasm._platform.html index 7f6f9d14f..ccedea623 100644 --- a/docs/variables/_wormhole_foundation_sdk_cosmwasm._platform.html +++ b/docs/variables/_wormhole_foundation_sdk_cosmwasm._platform.html @@ -1,2 +1,2 @@ -_platform | Wormhole TS SDK - v0.7.0
        _platform: "Cosmwasm" = "Cosmwasm"

        Runtime value for the Cosmwasm Platform

        -
        \ No newline at end of file +_platform | Wormhole TS SDK - v1.13.2
        _platform: "Cosmwasm" = "Cosmwasm"

        Runtime value for the Cosmwasm Platform

        +
        \ No newline at end of file diff --git a/docs/variables/_wormhole_foundation_sdk_evm._platform.html b/docs/variables/_wormhole_foundation_sdk_evm._platform.html index b0445b1c4..064c91e34 100644 --- a/docs/variables/_wormhole_foundation_sdk_evm._platform.html +++ b/docs/variables/_wormhole_foundation_sdk_evm._platform.html @@ -1,2 +1,2 @@ -_platform | Wormhole TS SDK - v0.7.0
        _platform: "Evm" = 'Evm'

        Runtime value for the EVM Platform

        -
        \ No newline at end of file +_platform | Wormhole TS SDK - v1.13.2
        _platform: "Evm" = 'Evm'

        Runtime value for the EVM Platform

        +
        \ No newline at end of file diff --git a/docs/variables/_wormhole_foundation_sdk_solana.DefaultPriorityFeeOptions.html b/docs/variables/_wormhole_foundation_sdk_solana.DefaultPriorityFeeOptions.html index 418058983..5797e9a9f 100644 --- a/docs/variables/_wormhole_foundation_sdk_solana.DefaultPriorityFeeOptions.html +++ b/docs/variables/_wormhole_foundation_sdk_solana.DefaultPriorityFeeOptions.html @@ -1,2 +1,2 @@ -DefaultPriorityFeeOptions | Wormhole TS SDK - v0.7.0
        DefaultPriorityFeeOptions: PriorityFeeOptions = ...

        Recommended priority fee options

        -
        \ No newline at end of file +DefaultPriorityFeeOptions | Wormhole TS SDK - v1.13.2
        DefaultPriorityFeeOptions: PriorityFeeOptions = ...

        Recommended priority fee options

        +
        \ No newline at end of file diff --git a/docs/variables/_wormhole_foundation_sdk_solana._platform.html b/docs/variables/_wormhole_foundation_sdk_solana._platform.html index 9edd4a137..6f6c90016 100644 --- a/docs/variables/_wormhole_foundation_sdk_solana._platform.html +++ b/docs/variables/_wormhole_foundation_sdk_solana._platform.html @@ -1,2 +1,2 @@ -_platform | Wormhole TS SDK - v0.7.0
        _platform: "Solana" = 'Solana'

        Runtime value for the Solana Platform

        -
        \ No newline at end of file +_platform | Wormhole TS SDK - v1.13.2
        _platform: "Solana" = 'Solana'

        Runtime value for the Solana Platform

        +
        \ No newline at end of file diff --git a/docs/variables/_wormhole_foundation_sdk_solana_core.postMessageLayout.html b/docs/variables/_wormhole_foundation_sdk_solana_core.postMessageLayout.html index 1da154134..3033f564f 100644 --- a/docs/variables/_wormhole_foundation_sdk_solana_core.postMessageLayout.html +++ b/docs/variables/_wormhole_foundation_sdk_solana_core.postMessageLayout.html @@ -1,2 +1,2 @@ -postMessageLayout | Wormhole TS SDK - v0.7.0
        postMessageLayout: readonly [{
            binary: "bytes";
            name: "discriminator";
            size: 4;
        }, {
            binary: "uint";
            endianness: "little";
            name: "consistencyLevel";
            size: 1;
        }, {
            binary: "bytes";
            custom: {
                from: ((val) => Uint8Array);
                to: ((val) => UniversalAddress);
            };
            name: "emitterAuthority";
            size: 32;
        }, {
            binary: "uint";
            endianness: "little";
            name: "messageStatus";
            size: 1;
        }, {
            binary: "uint";
            name: "gap";
            size: 3;
        }, {
            binary: "uint";
            endianness: "little";
            name: "timestamp";
            size: 4;
        }, {
            binary: "uint";
            endianness: "little";
            name: "nonce";
            size: 4;
        }, {
            binary: "uint";
            endianness: "little";
            name: "sequence";
            size: 8;
        }, {
            binary: "uint";
            endianness: "little";
            name: "emitterChain";
            size: 2;
        }, {
            binary: "bytes";
            custom: {
                from: ((val) => Uint8Array);
                to: ((val) => UniversalAddress);
            };
            name: "emitterAddress";
            size: 32;
        }, {
            binary: "uint";
            endianness: "little";
            name: "payloadLength";
            size: 4;
        }, {
            binary: "bytes";
            name: "payload";
        }] = ...

        Binary layout for postMessage account

        -
        \ No newline at end of file +postMessageLayout | Wormhole TS SDK - v1.13.2
        postMessageLayout: Layout = ...

        Binary layout for postMessage account

        +
        \ No newline at end of file From 2d37d40aca3b7523a68152662842a363f7b676c4 Mon Sep 17 00:00:00 2001 From: martin0995 Date: Fri, 14 Mar 2025 18:43:15 +0100 Subject: [PATCH 2/2] Workflow for automatically updating docs on release --- .github/workflows/update-docs.yml | 65 +++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 .github/workflows/update-docs.yml diff --git a/.github/workflows/update-docs.yml b/.github/workflows/update-docs.yml new file mode 100644 index 000000000..652cc72e3 --- /dev/null +++ b/.github/workflows/update-docs.yml @@ -0,0 +1,65 @@ +name: Update Documentation + +on: + release: + types: [published] + +jobs: + update-docs: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Get the latest published NPM version + id: get_version + run: echo "LATEST_VERSION=$(npm show @wormhole-foundation/sdk version)" >> $GITHUB_ENV + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + + - name: Install the latest published SDK version + run: npm install @wormhole-foundation/sdk@$LATEST_VERSION --save-exact + + - name: Update package.json version to match NPM release + run: | + jq --arg ver "$LATEST_VERSION" '.version=$ver' package.json > package.tmp.json && mv package.tmp.json package.json + + - name: Install other dependencies + run: npm ci + + - name: Generate documentation + run: npm run docs + + - name: Commit and push changes + run: | + git config --global user.name "github-actions[bot]" + git config --global user.email "github-actions[bot]@users.noreply.github.com" + + git checkout -b update-docs-${{ env.LATEST_VERSION }} + + echo "Checking Git Status Before Adding Files:" + git status + + git restore package.json package-lock.json + + echo "Checking Git Status After Reset:" + git status + + git add docs/ + git commit -m "Automated documentation update for SDK version $LATEST_VERSION" || exit 0 + + git push origin update-docs-${{ env.LATEST_VERSION }} + + - name: Create a pull request using GitHub CLI + run: | + gh pr create --title "Automated Documentation Update for SDK version ${{ env.LATEST_VERSION }}" \ + --body "This PR updates the documentation to match the latest SDK release: **${{ env.LATEST_VERSION }}**." \ + --base main \ + --head update-docs-${{ env.LATEST_VERSION }} \ + --label "automated,documentation" + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}