The receipt
A receipt is the cost of one trade as it happened, read from the chain and split into four lines.
The four lines
- Pool
- LP fee and price impact.
- Protocol fees
- The venue’s protocol and creator fees.
- Network
- Transaction fee and tips.
- Terminal fee
- What the terminal took.
Each line is shown in SOL, in USD at the time of the trade, and in basis points of the trade. Their sum is the total.
Reading the measure
The bar under a receipt’s total is the same cost as a length: it starts at the arrival price and each part is one line, in the order of the list. On a Landed fill the vertical line at the end is your cap and the empty length before it is the room the fill left. Ticks under the bar are 50 basis points apart. A hatched bar is a bill, expected before signing; a solid bar was read from the chain. Prices with a long run of zeros are written with the count below the line: 0.0₄4128 is 0.00004128.
Arrival price and landed price
The arrival price is the pool’s mid at the instant before your swap. The landed price is what each token cost you with every line included. The distance between them is the total.
On a Landed fill
A Landed fill adds three figures: the cap you set, the room the fill left under it before the fee, and the fee taken against the full rate.