BTB
/

Portal

Bridgewebsite
Wormhole Portal token bridge. Moves ERC20 and native tokens between EVM chains and Solana by locking or burning on the source chain and minting or releasing on the destination, using signed Wormhole VAAs. An agent can bridge tokens, attest new tokens, and redeem inbound transfers.

What you can do

bridge ERC20Send tokens from an EVM chain to another chainApprove the Portal bridge for the amount, then call transferTokens on the source chain with the destination Wormhole chain id and a bytes32 recipient. Pay the message fee in msg.value.
bridge native ETH or gas tokenWrap and bridge the native gas tokenCall wrapAndTransferETH with msg.value set to the amount plus the message fee.
redeem transferReceive tokens on the destination chainWait for the guardian signed VAA on Wormholescan, then call completeTransfer (or completeTransferAndUnwrapETH) with the VAA bytes on the destination chain.
Bridged tokens are wrapped copies on most chains. Their value depends on the bridge contracts and guardian set.
Redeeming needs the signed VAA from the Wormhole guardians, so a transfer is not final until the VAA exists and is redeemed.
Wormhole message fees are charged in the source chain native token and are paid on each transfer.
Recipient is a bytes32 value. A wrong recipient encoding sends tokens to an unrecoverable address.

Contracts

Read any function, or build a write and sign it. Amounts are in base units (1 USDC = 1000000).
Portal Token Bridgebridge on ethereum0x3ee18B2214AFF97000D974cf647E7C347E8fa585
write transferTokens(address,uint256,uint16,bytes32,uint256,uint32)
Lock or burn an ERC20 and send a transfer message. Args: token, amount, recipientChain (Wormhole chain id), recipient (bytes32, left padded address), arbiterFee (0 if none), nonce (any value). Approve the bridge for the token first. msg.value pays the Wormhole message fee.
write wrapAndTransferETH(uint16,bytes32,uint256,uint32)
Wrap the native gas token and bridge it. msg.value must cover the amount plus the Wormhole message fee. Args: recipientChain, recipient (bytes32), arbiterFee, nonce.
write attestToken(address,uint32)
Publish an attestation for a token so it can be wrapped on other chains. msg.value pays the Wormhole message fee. Run this once per token before the first transfer to a new chain.
write transferTokensWithPayload(address,uint256,uint16,bytes32,uint32,bytes)
Bridge tokens and attach a payload for a contract on the destination chain. Args: token, amount, recipientChain, recipient (bytes32 of the destination contract), nonce, payload.
write completeTransfer(bytes)
Redeem an inbound transfer using the signed VAA bytes from Wormholescan. Mints the wrapped token or releases the native token to the recipient. Anyone can submit it.
write completeTransferAndUnwrapETH(bytes)
Redeem an inbound transfer of wrapped native ETH and send native ETH to the recipient. Takes the signed VAA bytes.
write completeTransferWithPayload(bytes)
Redeem a transfer that carries a payload. Takes the signed VAA bytes. The destination recipient contract must call it.
read wrappedAsset(uint16,bytes32)
Local wrapped token address for a remote token. Args: origin Wormhole chain id, origin token address as bytes32. Returns the zero address if no wrapped token exists yet.
read isWrappedAsset(address)
True if the token is a wrapped asset minted by this bridge.
read isTransferCompleted(bytes32)
True if a VAA hash has already been redeemed. Check it before calling completeTransfer.
Portal Token Bridgebridge on bsc0xB6F6D86a8f9879A9c87f643768d9efc38c1Da6E7
write transferTokens(address,uint256,uint16,bytes32,uint256,uint32)
Lock or burn an ERC20 and send a transfer message. Args: token, amount, recipientChain (Wormhole chain id), recipient (bytes32, left padded address), arbiterFee (0 if none), nonce (any value). Approve the bridge for the token first. msg.value pays the Wormhole message fee.
write wrapAndTransferETH(uint16,bytes32,uint256,uint32)
Wrap the native gas token and bridge it. msg.value must cover the amount plus the Wormhole message fee. Args: recipientChain, recipient (bytes32), arbiterFee, nonce.
write attestToken(address,uint32)
Publish an attestation for a token so it can be wrapped on other chains. msg.value pays the Wormhole message fee. Run this once per token before the first transfer to a new chain.
write transferTokensWithPayload(address,uint256,uint16,bytes32,uint32,bytes)
Bridge tokens and attach a payload for a contract on the destination chain. Args: token, amount, recipientChain, recipient (bytes32 of the destination contract), nonce, payload.
write completeTransfer(bytes)
Redeem an inbound transfer using the signed VAA bytes from Wormholescan. Mints the wrapped token or releases the native token to the recipient. Anyone can submit it.
write completeTransferAndUnwrapETH(bytes)
Redeem an inbound transfer of wrapped native ETH and send native ETH to the recipient. Takes the signed VAA bytes.
write completeTransferWithPayload(bytes)
Redeem a transfer that carries a payload. Takes the signed VAA bytes. The destination recipient contract must call it.
read wrappedAsset(uint16,bytes32)
Local wrapped token address for a remote token. Args: origin Wormhole chain id, origin token address as bytes32. Returns the zero address if no wrapped token exists yet.
read isWrappedAsset(address)
True if the token is a wrapped asset minted by this bridge.
read isTransferCompleted(bytes32)
True if a VAA hash has already been redeemed. Check it before calling completeTransfer.
Portal Token Bridgebridge on base0x8d2de8d2f73F1F4cAB472AC9A881C9b123C79627
write transferTokens(address,uint256,uint16,bytes32,uint256,uint32)
Lock or burn an ERC20 and send a transfer message. Args: token, amount, recipientChain (Wormhole chain id), recipient (bytes32, left padded address), arbiterFee (0 if none), nonce (any value). Approve the bridge for the token first. msg.value pays the Wormhole message fee.
write wrapAndTransferETH(uint16,bytes32,uint256,uint32)
Wrap the native gas token and bridge it. msg.value must cover the amount plus the Wormhole message fee. Args: recipientChain, recipient (bytes32), arbiterFee, nonce.
write attestToken(address,uint32)
Publish an attestation for a token so it can be wrapped on other chains. msg.value pays the Wormhole message fee. Run this once per token before the first transfer to a new chain.
write transferTokensWithPayload(address,uint256,uint16,bytes32,uint32,bytes)
Bridge tokens and attach a payload for a contract on the destination chain. Args: token, amount, recipientChain, recipient (bytes32 of the destination contract), nonce, payload.
write completeTransfer(bytes)
Redeem an inbound transfer using the signed VAA bytes from Wormholescan. Mints the wrapped token or releases the native token to the recipient. Anyone can submit it.
write completeTransferAndUnwrapETH(bytes)
Redeem an inbound transfer of wrapped native ETH and send native ETH to the recipient. Takes the signed VAA bytes.
write completeTransferWithPayload(bytes)
Redeem a transfer that carries a payload. Takes the signed VAA bytes. The destination recipient contract must call it.
read wrappedAsset(uint16,bytes32)
Local wrapped token address for a remote token. Args: origin Wormhole chain id, origin token address as bytes32. Returns the zero address if no wrapped token exists yet.
read isWrappedAsset(address)
True if the token is a wrapped asset minted by this bridge.
read isTransferCompleted(bytes32)
True if a VAA hash has already been redeemed. Check it before calling completeTransfer.
Portal Token Bridgebridge on arbitrum0x0b2402144Bb366A632D14B83F244D2e0e21bD39c
write transferTokens(address,uint256,uint16,bytes32,uint256,uint32)
Lock or burn an ERC20 and send a transfer message. Args: token, amount, recipientChain (Wormhole chain id), recipient (bytes32, left padded address), arbiterFee (0 if none), nonce (any value). Approve the bridge for the token first. msg.value pays the Wormhole message fee.
write wrapAndTransferETH(uint16,bytes32,uint256,uint32)
Wrap the native gas token and bridge it. msg.value must cover the amount plus the Wormhole message fee. Args: recipientChain, recipient (bytes32), arbiterFee, nonce.
write attestToken(address,uint32)
Publish an attestation for a token so it can be wrapped on other chains. msg.value pays the Wormhole message fee. Run this once per token before the first transfer to a new chain.
write transferTokensWithPayload(address,uint256,uint16,bytes32,uint32,bytes)
Bridge tokens and attach a payload for a contract on the destination chain. Args: token, amount, recipientChain, recipient (bytes32 of the destination contract), nonce, payload.
write completeTransfer(bytes)
Redeem an inbound transfer using the signed VAA bytes from Wormholescan. Mints the wrapped token or releases the native token to the recipient. Anyone can submit it.
write completeTransferAndUnwrapETH(bytes)
Redeem an inbound transfer of wrapped native ETH and send native ETH to the recipient. Takes the signed VAA bytes.
write completeTransferWithPayload(bytes)
Redeem a transfer that carries a payload. Takes the signed VAA bytes. The destination recipient contract must call it.
read wrappedAsset(uint16,bytes32)
Local wrapped token address for a remote token. Args: origin Wormhole chain id, origin token address as bytes32. Returns the zero address if no wrapped token exists yet.
read isWrappedAsset(address)
True if the token is a wrapped asset minted by this bridge.
read isTransferCompleted(bytes32)
True if a VAA hash has already been redeemed. Check it before calling completeTransfer.
Portal Token Bridgebridge on optimism0x1D68124e65faFC907325e3EDbF8c4d84499DAa8b
write transferTokens(address,uint256,uint16,bytes32,uint256,uint32)
Lock or burn an ERC20 and send a transfer message. Args: token, amount, recipientChain (Wormhole chain id), recipient (bytes32, left padded address), arbiterFee (0 if none), nonce (any value). Approve the bridge for the token first. msg.value pays the Wormhole message fee.
write wrapAndTransferETH(uint16,bytes32,uint256,uint32)
Wrap the native gas token and bridge it. msg.value must cover the amount plus the Wormhole message fee. Args: recipientChain, recipient (bytes32), arbiterFee, nonce.
write attestToken(address,uint32)
Publish an attestation for a token so it can be wrapped on other chains. msg.value pays the Wormhole message fee. Run this once per token before the first transfer to a new chain.
write transferTokensWithPayload(address,uint256,uint16,bytes32,uint32,bytes)
Bridge tokens and attach a payload for a contract on the destination chain. Args: token, amount, recipientChain, recipient (bytes32 of the destination contract), nonce, payload.
write completeTransfer(bytes)
Redeem an inbound transfer using the signed VAA bytes from Wormholescan. Mints the wrapped token or releases the native token to the recipient. Anyone can submit it.
write completeTransferAndUnwrapETH(bytes)
Redeem an inbound transfer of wrapped native ETH and send native ETH to the recipient. Takes the signed VAA bytes.
write completeTransferWithPayload(bytes)
Redeem a transfer that carries a payload. Takes the signed VAA bytes. The destination recipient contract must call it.
read wrappedAsset(uint16,bytes32)
Local wrapped token address for a remote token. Args: origin Wormhole chain id, origin token address as bytes32. Returns the zero address if no wrapped token exists yet.
read isWrappedAsset(address)
True if the token is a wrapped asset minted by this bridge.
read isTransferCompleted(bytes32)
True if a VAA hash has already been redeemed. Check it before calling completeTransfer.
Portal Token Bridgebridge on polygon0x5a58505a96D1dbf8dF91cB21B54419FC36e93fdE
write transferTokens(address,uint256,uint16,bytes32,uint256,uint32)
Lock or burn an ERC20 and send a transfer message. Args: token, amount, recipientChain (Wormhole chain id), recipient (bytes32, left padded address), arbiterFee (0 if none), nonce (any value). Approve the bridge for the token first. msg.value pays the Wormhole message fee.
write wrapAndTransferETH(uint16,bytes32,uint256,uint32)
Wrap the native gas token and bridge it. msg.value must cover the amount plus the Wormhole message fee. Args: recipientChain, recipient (bytes32), arbiterFee, nonce.
write attestToken(address,uint32)
Publish an attestation for a token so it can be wrapped on other chains. msg.value pays the Wormhole message fee. Run this once per token before the first transfer to a new chain.
write transferTokensWithPayload(address,uint256,uint16,bytes32,uint32,bytes)
Bridge tokens and attach a payload for a contract on the destination chain. Args: token, amount, recipientChain, recipient (bytes32 of the destination contract), nonce, payload.
write completeTransfer(bytes)
Redeem an inbound transfer using the signed VAA bytes from Wormholescan. Mints the wrapped token or releases the native token to the recipient. Anyone can submit it.
write completeTransferAndUnwrapETH(bytes)
Redeem an inbound transfer of wrapped native ETH and send native ETH to the recipient. Takes the signed VAA bytes.
write completeTransferWithPayload(bytes)
Redeem a transfer that carries a payload. Takes the signed VAA bytes. The destination recipient contract must call it.
read wrappedAsset(uint16,bytes32)
Local wrapped token address for a remote token. Args: origin Wormhole chain id, origin token address as bytes32. Returns the zero address if no wrapped token exists yet.
read isWrappedAsset(address)
True if the token is a wrapped asset minted by this bridge.
read isTransferCompleted(bytes32)
True if a VAA hash has already been redeemed. Check it before calling completeTransfer.
Portal Token Bridgebridge on avalanche0x0e082F06FF657D94310cB8cE8B0D9a04541d8052
write transferTokens(address,uint256,uint16,bytes32,uint256,uint32)
Lock or burn an ERC20 and send a transfer message. Args: token, amount, recipientChain (Wormhole chain id), recipient (bytes32, left padded address), arbiterFee (0 if none), nonce (any value). Approve the bridge for the token first. msg.value pays the Wormhole message fee.
write wrapAndTransferETH(uint16,bytes32,uint256,uint32)
Wrap the native gas token and bridge it. msg.value must cover the amount plus the Wormhole message fee. Args: recipientChain, recipient (bytes32), arbiterFee, nonce.
write attestToken(address,uint32)
Publish an attestation for a token so it can be wrapped on other chains. msg.value pays the Wormhole message fee. Run this once per token before the first transfer to a new chain.
write transferTokensWithPayload(address,uint256,uint16,bytes32,uint32,bytes)
Bridge tokens and attach a payload for a contract on the destination chain. Args: token, amount, recipientChain, recipient (bytes32 of the destination contract), nonce, payload.
write completeTransfer(bytes)
Redeem an inbound transfer using the signed VAA bytes from Wormholescan. Mints the wrapped token or releases the native token to the recipient. Anyone can submit it.
write completeTransferAndUnwrapETH(bytes)
Redeem an inbound transfer of wrapped native ETH and send native ETH to the recipient. Takes the signed VAA bytes.
write completeTransferWithPayload(bytes)
Redeem a transfer that carries a payload. Takes the signed VAA bytes. The destination recipient contract must call it.
read wrappedAsset(uint16,bytes32)
Local wrapped token address for a remote token. Args: origin Wormhole chain id, origin token address as bytes32. Returns the zero address if no wrapped token exists yet.
read isWrappedAsset(address)
True if the token is a wrapped asset minted by this bridge.
read isTransferCompleted(bytes32)
True if a VAA hash has already been redeemed. Check it before calling completeTransfer.
Portal Token Bridge (Solana program)bridge on solanawormDTUJ6AWPNvk59vGQbDvGJmqbDTdgWgAqcLBCgUb
write TransferNative
Solana instruction: lock a native SPL token and emit a transfer message.
write TransferWrapped
Solana instruction: burn a wrapped SPL token and emit a transfer message back toward its origin chain.
write CompleteNative
Solana instruction: redeem an inbound VAA for a native token, releasing it from custody.
write CompleteWrapped
Solana instruction: redeem an inbound VAA for a wrapped token, minting it to the recipient.
write AttestToken
Solana instruction: publish an attestation for an SPL token so it can be wrapped on other chains.