Stake tokens/NFTs into a DAO to gain voting power
dexe_vote_build_depositBuilds calldata to stake governance tokens and optional NFT IDs into a DAO GovPool for voting power without broadcasting; supports native-coin or ERC20 deposits.
Instructions
Builds calldata; does not broadcast. GovPool.deposit(amount, nftIds) — stakes into the DAO to gain voting power. Payable: native-coin DAOs pass value; ERC20 DAOs pass value=0 and need the GovUserKeeper approve first.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"govPool": "<govPool>",
"amount": "<amount>"
},
"name": "dexe_vote_build_deposit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | Native coin (BNB/ETH, 18 decimals) sent with the tx — native-staking DAOs only. RAW base units, digits only ('1500000000000000000' = 1.5 at 18 dec); '1.5' is REJECTED — scale it, or use dexe_proposal_create. Pass '0' for ERC20-staking DAOs | 0 |
| amount | Yes | Governance token to stake, in that token's own decimals. RAW base units, digits only ('1500000000000000000' = 1.5 at 18 dec); '1.5' is REJECTED — scale it, or use dexe_proposal_create | |
| nftIds | No | Your governance NFT token ids, decimal; [] for ERC20-only DAOs. | |
| chainId | No | Chain this payload targets: 56 mainnet, 97 testnet. Default: the configured chain. | |
| govPool | Yes | DAO GovPool address (dexe_dao_registry_lookup). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | ||
| warnings | No | ||
| advisories | No | Deprecated — use warnings. |