Retrieves a specific node from an auction AVL tree by its index.
The auction node at the specified index, or null if index is out of bounds
const tree = await fetchAuctionAVLTreeV1(umi, treePda);const node = getAuctionTreeNode(tree, 5);if (node) { console.log(`Node 5 bid: ${node.bid.pricePerToken}`);}
The auction AVL tree to search in
The 1-based index of the node to retrieve
Generated using TypeDoc
Retrieves a specific node from an auction AVL tree by its index.
Returns
The auction node at the specified index, or null if index is out of bounds
Example