> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gol.network/llms.txt
> Use this file to discover all available pages before exploring further.

# Post v1projects accounts eip7702 setupprepare



## OpenAPI

````yaml /openapi/platform.json post /v1/projects/{projectId}/accounts/{account}/eip7702-setup/prepare
openapi: 3.1.0
info:
  title: GOL Platform API
  description: >-
    Public API for GOL developer projects, credentials, owner gas policies,
    hosted gas executions, and webhooks.
  version: 0.5.0
servers:
  - url: http://localhost:4100
    description: Local development
security: []
tags:
  - name: system
  - name: authentication
  - name: projects
  - name: api-keys
  - name: audit
  - name: gas-executions
  - name: gas-policies
  - name: webhooks
paths:
  /v1/projects/{projectId}/accounts/{account}/eip7702-setup/prepare:
    post:
      tags:
        - gas-policies
      operationId: prepareEip7702Setup
      parameters:
        - schema:
            format: uuid
            type: string
          in: path
          name: projectId
          required: true
        - schema:
            pattern: ^0x[0-9a-fA-F]{40}$
            type: string
          in: path
          name: account
          required: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              additionalProperties: false
              type: object
              properties: {}
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                  - account
                  - chainId
                  - core
                  - delegate
                  - bootstrap
                  - delegation
                  - authorization
                  - initData
                  - initDataHash
                  - relayedCall
                  - selfSentCall
                  - sponsorship
                  - observedBlockNumber
                properties:
                  account:
                    pattern: ^0x[0-9a-fA-F]{40}$
                    type: string
                  chainId:
                    type: number
                    enum:
                      - 84532
                  core:
                    pattern: ^0x[0-9a-fA-F]{40}$
                    type: string
                  delegate:
                    pattern: ^0x[0-9a-fA-F]{40}$
                    type: string
                  bootstrap:
                    pattern: ^0x[0-9a-fA-F]{40}$
                    type: string
                  delegation:
                    anyOf:
                      - type: string
                        enum:
                          - none
                      - type: string
                        enum:
                          - reviewed_uninitialized
                  authorization:
                    anyOf:
                      - type: 'null'
                      - type: object
                        required:
                          - chainId
                          - address
                          - nonce
                          - hash
                          - selfSentNonce
                        properties:
                          chainId:
                            type: number
                            enum:
                              - 84532
                          address:
                            pattern: ^0x[0-9a-fA-F]{40}$
                            type: string
                          nonce:
                            pattern: ^(0|[1-9][0-9]{0,77})$
                            type: string
                          hash:
                            pattern: ^0x[0-9a-fA-F]{64}$
                            type: string
                          selfSentNonce:
                            pattern: ^(0|[1-9][0-9]{0,77})$
                            type: string
                  initData:
                    type: string
                  initDataHash:
                    pattern: ^0x[0-9a-fA-F]{64}$
                    type: string
                  relayedCall:
                    type: object
                    required:
                      - to
                      - functionName
                    properties:
                      to:
                        pattern: ^0x[0-9a-fA-F]{40}$
                        type: string
                      functionName:
                        type: string
                        enum:
                          - initializeAccount
                  selfSentCall:
                    type: object
                    required:
                      - to
                      - data
                    properties:
                      to:
                        pattern: ^0x[0-9a-fA-F]{40}$
                        type: string
                      data:
                        type: string
                  sponsorship:
                    type: object
                    required:
                      - available
                      - remainingToday
                    properties:
                      available:
                        type: boolean
                      remainingToday:
                        type: integer
                  observedBlockNumber:
                    pattern: ^(0|[1-9][0-9]{0,77})$
                    type: string
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                additionalProperties: false
                type: object
                required:
                  - error
                properties:
                  error:
                    additionalProperties: false
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                additionalProperties: false
                type: object
                required:
                  - error
                properties:
                  error:
                    additionalProperties: false
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
        '403':
          description: Default Response
          content:
            application/json:
              schema:
                additionalProperties: false
                type: object
                required:
                  - error
                properties:
                  error:
                    additionalProperties: false
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                additionalProperties: false
                type: object
                required:
                  - error
                properties:
                  error:
                    additionalProperties: false
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
        '409':
          description: Default Response
          content:
            application/json:
              schema:
                additionalProperties: false
                type: object
                required:
                  - error
                properties:
                  error:
                    additionalProperties: false
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
        '429':
          description: Default Response
          content:
            application/json:
              schema:
                additionalProperties: false
                type: object
                required:
                  - error
                properties:
                  error:
                    additionalProperties: false
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                additionalProperties: false
                type: object
                required:
                  - error
                properties:
                  error:
                    additionalProperties: false
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
        '503':
          description: Default Response
          content:
            application/json:
              schema:
                additionalProperties: false
                type: object
                required:
                  - error
                properties:
                  error:
                    additionalProperties: false
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````