Skip to main content

JS Kit SDK API Reference / Domain / GetDomainRecordsParams

Interface: GetDomainRecordsParams<T, U>

Defined in: domain/getDomainRecords.ts:56

Parameters for retrieving domain records.

Example

const params: GetDomainRecordsParams<[Record.Url], [undefined]> = {
rpc,
domain: "example.sns",
records: [Record.Url],
};

Type Parameters

T

T extends Record[]

U

U extends { [K in keyof T]: ReadonlyUint8Array | undefined }

Properties

domain

domain: string

Defined in: domain/getDomainRecords.ts:68

Full domain name.


options?

optional options?: GetDomainRecordsOptions<T, U>

Defined in: domain/getDomainRecords.ts:72

Record retrieval options.


records

records: [...T[]]

Defined in: domain/getDomainRecords.ts:70

Record types to retrieve.


rpc

rpc: Rpc<GetAccountInfoApi & GetMultipleAccountsApi & GetTokenLargestAccountsApi & GetSlotApi>

Defined in: domain/getDomainRecords.ts:61

RPC client.