Alchemy · JSON Structure

Alchemy Gas Manager Api Sponsor User Operation Request Structure

JSON-RPC request to sponsor a user operation via the Gas Manager paymaster.

Type: object Properties: 4
Web3BlockchainRPCNFTIndexingAccount Abstraction

Sponsor User Operation Request is a JSON Structure definition published by Alchemy, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id jsonrpc method params

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/alchemy/refs/heads/main/json-structure/alchemy-gas-manager-api-sponsor-user-operation-request-structure.json",
  "name": "Sponsor User Operation Request",
  "description": "JSON-RPC request to sponsor a user operation via the Gas Manager paymaster.",
  "type": "object",
  "properties": {
    "id": {
      "type": "int32",
      "description": "Request ID.",
      "example": 1
    },
    "jsonrpc": {
      "type": "string",
      "description": "JSON-RPC version.",
      "example": "2.0"
    },
    "method": {
      "type": "string",
      "description": "Alchemy paymaster method.",
      "example": "alchemy_requestGasAndPaymasterAndData"
    },
    "params": {
      "type": "array",
      "description": "Sponsorship parameters array.",
      "items": {}
    }
  }
}