Prerequisites
Before you begin, ensure that you’ve: These are required so any example below runs with a validkit and adapter.
Use with adapters on both chains
SetuseForwarder: true when you have adapters for both chains but want the
Forwarding Service to submit the mint transaction on the destination:
TypeScript
Use without a destination adapter
When you don’t have access to a wallet on the destination chain, such as with server-side or custodial bridge flows, omit the destination adapter and passrecipientAddress with useForwarder: true:
TypeScript
data field is undefined.