Name Records
Call the service to get the parsing record
import { Services } from '@jazdid/jaz-did-sdk';
// Request parameter combination 1, keyType is DomainName
const data1 = {
keyType: 'DomainName',
registrar: registrarAddress,
domainName: `${domainName}.bab`,
chain: 'bnb',
};
// Request parameter combination 2, keyType is Address
const data2 = {
keyType: 'Address',
registrar: registrarAddress,
address: privateAaccount,
chain: 'bnb',
};
await Services.domainService.resolveList(data1);Supports the key of parsing records
Call the contract to get parsing records (batch)
Call the contract to get the parsing record (single)
Last updated