2.3 Payment Distribution Pipeline

Trustless Settlement

AggrixX402's primary technical challenge is ensuring fair, verifiable, and instant distribution.

Distribution Method

Distribution is handled through a sequence of non-custodial smart contract calls. The Aggrix Node acts as the trigger, but the distribution logic is immutable.

Step
Description

1. Trigger

Aggrix Node calls the distributeBundle() function on the distribution contract with the original Tx Hash and the bundle ID.

2. Allocation

The contract calculates the precise X402 amount for API-A (40%), API-B (30%), etc., based on the bundle's fixed allocation map.

3. Payout

The contract initiates the required X402 transfers directly from the dedicated Aggrix escrow account to the individual service provider wallets.

Note: Failed distribution attempts are automatically logged, and the agent's funds may be refunded (minus gas) or retried, depending on the bundle's resilience configuration.

Last updated