Skip to main content

Overview

Display options change what a DAS response includes. Pass them in an options object, or as displayOptions. Every option defaults to false.

Options

Native balance

With showNativeBalance, list responses include:
total_price is the balance in SOL multiplied by price_per_sol, in USD.

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.