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

Revoke sponsorship

You can revoke your sponsorship of a job with the ees-sdk.

const transactionReceipt: TransactionReceipt = await eesSDK.revokeSponsorship(index);

Here index is of type bigint and specifies the index of job to revoke sponsorship for. The returned value of viem's type TransactionReceipt gives information about the transaction.

Warning: This action can only be performed if the caller is the sponsor of the job at the given index.

Warning: This action will perform an on-chain transaction and requires that the eesSDK object was initialised with a wallet client.

PreviousSponsor jobNextListen for created jobs

Last updated 10 months ago