Overview
The SDK currently supports specific add-ons from the QuickNode Marketplace with native functions for the add-on's RPC methods.
Supported Add-ons
Token and NFT API v2 bundle
The Token and NFT API v2 bundle RPC methods are supported by corresponding SDK functions.
Example
import { Core } from '@quicknode/sdk';
const core = new Core({
endpointUrl: "https://my-endpoint-name.quiknode.pro/myauthtoken/",
config: {
addOns: {
nftTokenV2: true,
},
},
});
core.client.qn_fetchNFTs({
wallet: "0xD10E24685c7CDD3cd3BaAA86b09C92Be28c834B6",
perPage: 2,
}).then(nfts => console.log(nfts));
Documentation
Please see the linked RPC documentation for parameters and response structure. An example can also be viewed using the QuickNode SDK
selection in the code example dropdown.