protocol_fee
Calculate the protocol fee for a given USDC amount (6-decimal units). Returns the fee, the net amount after fee, and formatted versions of both. Use this before building escrow contracts to understand the true cost.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount as a BigInt string in USDC 6-decimal units (e.g. '1000000000' = 1000 USDC) |