Alpine· Docs
Contents

Guides

Guard external costs

Cap provider and gas costs with an external cost guard.

Your app fee is one line among several. Provider and network costs are others — reconciled the same way, and worth guarding before they surprise you.

  1. 01 · Read every cost line

    A transfer's cost is not one number. Alongside your app_fee sit platform_fee, provider_fee, and gas_fee — each a line, each in the same unit.

    fees.lines[].kind ∈
      app_fee · platform_fee · provider_fee · gas_fee
  2. 02 · Decide who bears them

    The bearer on the instruction decides whether external costs come out of what lands or sit on top. Quote first: the quote returns the lines before you commit, so a cost is never a surprise at settlement.

Boundary

External-rail finalisation is operator tooling today, not a public call — a payout to an external rail cannot be driven to completion through this API yet. Internal movements are the public surface; plan external ones around that.

gateway 0.1.0 · sandbox