Scaffold deposit calldata
build_deposit_txGenerate unsigned approve-and-deposit calldata for Hashpower markets. Provide the USDC amount in native units (6 decimals), then simulate and sign locally. Not for production bots.
Instructions
PROTOTYPE ONLY. Returns unsigned approve+deposit calldata. Simulate, then sign locally. Not for production bots.
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": {
"amount": "<amount>"
},
"name": "build_deposit_tx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | USDC native units, integer string (6 decimals) |