Build Subscription Transaction
build_subscription_txGenerate the cryptographic transaction calldata required to purchase a subscription on Arbitrum One. Output covers a two-step payload: ERC-20 RLC token approve followed by contract purchaseSubscription. This tool strictly builds calldata and does not submit transactions; the calling agent must sign and broadcast the payload externally.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | Yes | Subscription tier: 0 = 1 day ($20), 1 = 3 days ($50), 2 = 7 days ($100) | |
| agent_address | Yes | EVM address of the agent that will receive the subscription, e.g. 0x1234... | |
| sponsor_address | No | Optional EVM address of a sponsor who pays for the agent's subscription |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |