> For the complete documentation index, see [llms.txt](https://docs.quipuswap.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.quipuswap.com/smart-contracts/dex-2.0/auction-contract/entrypoints-overview/admin-entrypoints/confirm_admin.md).

# confirm\_admin

An entrypoint for a pending administrator. A pending administrator must just call it and he will become a new administrator of the contract.

### Call parameters

An entrypoint doesn't accept any parameters.

### Usage

{% tabs %}
{% tab title="🌮 Taquito" %}

```javascript
const auctionAddress = "KT1...";
const auction = await tezos.contract.at(auctionAddress);
const operation = await auction.methods.confirm_admin([]).send();

await operation.confirmation();
```

{% endtab %}
{% endtabs %}

### Errors

* `401` - `sender` of the transaction is not current pending administrator (not the address that was assigned by the current administrator to the shift).
* `411` - `pending_admin` in the storage is `None` (admin didn't call [***set\_admin***](/smart-contracts/dex-2.0/auction-contract/entrypoints-overview/admin-entrypoints/set_admin.md) entrypoint).
* `412` - non payable entrypoint (can't accept TEZ tokens during call of an entrypoint).
