Skip to main content
Relayers are opt-in, audited contracts that can make calls to the Vault on your behalf. They can use the sender’s ERC20 vault allowance, internal balance, or BPTs after being approved.

Types of relayers

BalancerRelayer

The BalancerRelayer allows you to execute multiple vault actions in a single transaction by chaining them together. This improves UX by reducing the number of transactions needed for complex operations. Example of chaining multiple actions:

PoolCreationHelper

The PoolCreationHelper is a specialized relayer that simplifies pool creation and initial liquidity provision. See the PoolCreationHelper documentation for details. Key features:
  • Creates and joins pools in a single transaction
  • Supports joining WBERA pools with either WBERA or BERA
  • Handles both weighted and stable pool creation

Approving a relayer

Before a relayer can act on your behalf, you must approve it using the Vault’s setRelayerApproval function:
For example, to approve the PoolCreationHelper:
Only approve relayers that have been audited and are part of the official BEX deployment.