# Revoke sponsorship

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

```typescript
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.

{% hint style="warning" %}
**Warning:** This action can only be performed if the caller is the sponsor of the job at the given index.
{% endhint %}

{% hint style="warning" %}
**Warning:** This action will perform an on-chain transaction and requires that the eesSDK object was initialised with a wallet client.
{% endhint %}
