ForwarderContract

Create a new forwarder contract.

Changed on

Create a new forwarder contract.

This object represents the forwarder contract that will be used to pay the gas fees of the transactions.

post/v1/forwarder_contracts

Request

  • Base URL: https://api.openfort.io
  • URL: https://api.openfort.io/v1/forwarder_contracts
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Request body

addressstring required

Specifies the address of the paymaster

chainIdinteger required

The chain ID. Must be a supported chain.

namestring

Specifies the name of the paymaster

Example request

{
  "address": "0x7d526b7e99fbf52850a183...",
  "chainId": 80002
}

Response

Created

idstring required
object'forwarderContract' required
createdAtinteger required
addressstring required
chainIdnumber double required
namestring

Changes