typescript-sdk

Home > @3rdweb/sdk > AppModule > setForwarder

AppModule.setForwarder() method

Set trusted forwarder for the modules. Every module that is deployed after this call will use the new forwarder. Trusted forwarder is used to forward gasless transactions. Trusted Forwarder of each module cannot be changed once it is deployed.

Signature:

setForwarder(address: string): Promise<void>;

Parameters

Parameter Type Description
address string The address of the trusted forwarder contract

Returns:

Promise<void>