Overview
Display options change what a DAS response includes. Pass them in anoptions object, or as displayOptions. Every option defaults to false.
Options
Native balance
WithshowNativeBalance, list responses include:
total_price is the balance in SOL multiplied by price_per_sol, in USD.
Rust SDK
In the OrbitFlare Rust SDK, build options withDisplayOptions and pass them to a list request with .options(). get_asset, get_asset_batch and get_asset_with_proof have _with_options variants that take them as a second argument. For getTokenAccounts, call .show_zero_balance(true) on the request.
Accepted for compatibility
These options are accepted so existing requests do not fail, but they do not change the response yet:showGrandTotal, showRawData, showSystemMetadata and showClosedAccounts.
Not supported
requireFullIndex: true asks for a guarantee that the index is complete. The API cannot give that guarantee yet, so it rejects the request with -32602 instead of answering without it. requireFullIndex: false is accepted.
Unknown option names are also rejected with -32602, so a typo does not silently change your results.