Paymaster

Update a paymaster.

Changed on

Update a paymaster.

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

post/v1/paymasters/{id}

Request

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

Path parameters

idstring required

Request body

addressstring required

Specifies the address of the paymaster

urlstring

Specifies the paymaster URL

contextobject

Specifies the context, that is, the arbitrary repositories that the specific paymaster may require

namestring

Specifies the name of the paymaster

Example request

{
  "address": "0x7d526b7e99fbf52850a183...",
  "url": "https://rpc.mypaymaster.xyz",
  "context": {
    "key": "value"
  }
}

Response

Updated

idstring required
object'paymaster' required
createdAtinteger required
addressstring required
urlstring
contextobject

Changes