Token sale position for a wallet
dexe_read_token_sale_positionRead a buyer's token sale position across chosen tiers: purchasable status, claimable amount, vesting withdrawable, lockup ETA, total sold, and whitelist proof for accurate participation checks.
Instructions
Read-only. Tier params + user state across N tiers: purchasable status, claimable amount, vesting withdrawable, lockup ETA, totalSold, merkle root. whitelists adds the user's proof, making canParticipate accurate for gated tiers.
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": {
"tokenSaleProposal": "<tokenSaleProposal>",
"tierIds": "<tierIds>",
"user": "<user>"
},
"name": "dexe_read_token_sale_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | Buyer address to report state for. | |
| chainId | No | Chain to read from: 56 mainnet, 97 testnet. Needs an RPC for it. Default: the configured chain. | |
| tierIds | Yes | Tier ids to report on, decimal strings (1 to 50). | |
| whitelists | No | Optional per-tier whitelist (for MerkleWhitelist proof generation). | |
| tokenSaleProposal | Yes | TokenSaleProposal helper address |