SettleMint
API integrationToken features

transaction-fee-accounting

API reference for configuring the transaction-fee-accounting token feature so the platform records per-operation fee accruals on chain without on-chain deduction.

The transaction-fee-accounting token feature records the accrued fee for each mint, burn, or transfer operation without deducting on chain. The platform exposes the accrual ledger for off-chain settlement. It is mutually exclusive with transaction-fee.

For the operator how-to, see Transaction fee accounting how-to. For the architecture model, see Transaction fee accounting architecture.

Configuration during token creation

{
  "transaction-fee-accounting": {
    "mintFeeBps": 50,
    "burnFeeBps": 50,
    "transferFeeBps": 25,
    "recipient": "0x..."
  }
}
ParameterTypeRequiredDescription
mintFeeBpsIntegerYesRecorded mint-fee accrual rate.
burnFeeBpsIntegerYesRecorded burn-fee accrual rate.
transferFeeBpsIntegerYesRecorded transfer-fee accrual rate.
recipientEthereum addressYesRecipient identity recorded on accrual entries. Not transferred to automatically.

Behaviour

The platform records the accrual but does not transfer. Holders receive the full gross amount. Settlement to recipient happens off chain through the operating-team's banking flow, using the accrual ledger as the reconciliation source.

Reading the accrual ledger

GET /api/v2/token/{address}/features/transaction-fee-accounting
GET /api/v2/token/{address}/features/transaction-fee-accounting/entries?since={block}

Returns the running accrual totals and the per-operation entries since a given block.

Marking settled

POST /api/v2/token/{address}/features/transaction-fee-accounting/settle
{
  "entriesUpTo": "0x...",
  "settledAmount": "..."
}

Marks accrual entries as settled. The platform records the off-chain settlement reference for the audit ledger.

On this page