> For the complete documentation index, see [llms.txt](https://docs.agilefi.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.agilefi.org/governance/queue.md).

# Queue

After a proposal has succeeded, any address can call the queue method to move the proposal into the Timelock queue. A proposal can only be queued if it has succeeded.

**Governor Alpha**

```
function queue(uint proposalId)
```

* `proposalId`: ID of a proposal that has succeeded.
* `RETURN`: No return, reverts on error.

**Solidity**

```
GovernorAlpha gov = GovernorAlpha(0x123...); // contract address
gov.queue(proposalId);
```

**Web3 1.2.6**

```javascript
const tx = gov.methods.queue(proposalId).send({ from: sender });
```
