ForwarderContract

Update a forwarder contract.

Changed on

Update a forwarder contract.

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

post/v1/forwarder_contracts/{id}

Request

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

Path parameters

idstring required

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

Updated

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

Changes