Prepare a transaction to move vault shares to another chain
Returns the transaction that moves vault shares the caller already holds to another chain, together with the cross-chain delivery fee it must carry. Send transaction.value exactly as returned and broadcast promptly: a value that differs at all, or a stale fee quote, is rejected on-chain. To deposit and transfer in one transaction, pass destinationChainId to GET /v2/amplify/deposit instead.
Authorizations
API key in format: pxl_<public_id>_
Query Parameters
BoringVault contract address (0x + 40 hex chars)
"0x6c6494Fd9962eB98B94ffA48F6679058F820700e"
Vault share amount to transfer, in share token base units (decimal string)
"1000000000000000000"
Address sending the transaction. Must hold at least shareAmount on the source chain and be permitted to transfer shares across chains.
"0x1234567890abcdef1234567890abcdef12345678"
Source EVM chain ID
1
EVM chain ID to transfer the shares to. The vault must have a route open to this chain; if it does not, the request returns 400.
196
Recipient of the minted shares on the destination chain. Defaults to userAddress.
"0x1234567890abcdef1234567890abcdef12345678"
Gas to request for execution on the destination chain. Must fall within the route’s permitted range; both bounds are returned on the response so a rejected value can be corrected.
"100000"
Controls response fields. "encoded" (default): ABI-encoded calldata only. "full": calldata + ABI fragment, function name, args. "structured": ABI fragment, function name, args only.
encoded, full, structured Response
Fee quote backing transaction.value. Priced at the current block and sensitive to gas conditions — request it again if the transaction is not broadcast promptly, because a stale quote is rejected on-chain.
The resolved destination route, echoed so the accepted messageGas range is visible.