V2 Records
Get Record V2
import { Record, getRecordV2 } from "@bonfida/spl-name-service";
const recordOptions = { deserialize: true };
const discordRecord = getRecordV2(connection, domain, Record.Discord, recordOptions);Get multiple V2 Records
import { Record, getMultipleRecordsV2 } from "@bonfida/spl-name-service";
const recordsToFetch = [Record.Discord, Record.Twitter, Record.Telegram];
const recordOptions = { deserialize: true };
const domainRecords = getMultipleRecordsV2(
connection,
domain,
recordsToFetch,
recordOptions,
);
Verify Staleness and Verify Right of Association
Verify Staleness
Verify Right of Association
Walkthrough
Last updated