Skip to main content
POST
getNonInclusionProofs

Non-Inclusion Proofs

Supply between 1 and 1,000 nullifier values and the nullifier tree account. Each leaf must encode a BN254 scalar field element. The request fails if a nullifier is already used or queued for that tree. Proofs follow the order of the requested leaves. Each proof includes the sibling path, bounding lowElement and highElement values and their indices, and the root. For nullifier trees, rootSeq is the tree’s update sequence, and rootIndex is the root’s position in the Solana account’s root history.

Request Parameters

array
required
Nullifier values encoded as base58 32-byte BN254 scalar field elements.
string
required
Tree account to query. The state tree and nullifier tree share one account.

Authorizations

api-key
string
query
required

Your Helius API key.

Body

application/json
id
string
default:1
required

An ID to identify the request.

jsonrpc
enum<string>
default:2.0
required

The JSON-RPC protocol version.

Available options:
2.0
method
enum<string>
default:getNonInclusionProofs
required

The method to invoke. Must match the final URL path segment.

Available options:
getNonInclusionProofs
params
object
required
Example:

Response

JSON-RPC response. Inspect error before reading result.

id
string
required

The request ID.

jsonrpc
enum<string>
required

The version of the JSON-RPC protocol.

Available options:
2.0
error
object
result
object