EES
  • Ethereum Execution Service
  • Concepts
    • Jobs and registry
    • Executors and coordination
    • Applications
    • Execution modules
    • Fee modules
    • Execution fees
    • Sponsored jobs
  • Coordination
    • Staking
    • Designation
    • Slashing
  • Execution modules
    • RegularTimeInterval
  • Fee modules
    • LinearAuction
    • PeggedLinearAuction
  • Deployments
  • Guides
    • Create an application
    • Sponsor jobs
    • Build an executor bot
  • EES DAO
  • SDK
    • Types
    • Query jobs
    • Execute batch
    • Create job
    • Delete job
    • Sponsor job
    • Revoke sponsorship
    • Listen for created jobs
  • EES Subgraph
  • Technical reference
    • API
      • Core
        • JobRegistry
        • Coordinator
      • Periphery
        • Querier
Powered by GitBook
On this page
  1. SDK

Sponsor job

PreviousDelete jobNextRevoke sponsorship

Last updated 6 months ago

The ees-sdk makes it easy to generate an EIP-712 signature required to sponsor a job. As mentioned , sponsoring a subscription means that all execution fees associated with execution of the job are paid by you.

const signature: `0x${string}` = await eesSDK.generateSponsorSignature(jobSpecification);

Here jobSpecification has type . The returned value is an EIP-712 signature which can be used as input to creating a job.

Note: A signature can only be redeemed by a single job. Providing an already redeemed signature when creating a job will cause the transaction to revert.

Note: This action does not perform an on-chan transaction but still requires that eesSDK was initialised with a wallet client.

here
JobSpecification