Reverse Resolution Sample Code
Constants
const JSON_RPC_PROVIDER = "" // JSON-RPC provider url
const REVERSE_RECORDS_ADDRESS = "0x87f4483E4157a6592dd1d1546f145B5EE22c790a";
const REVERSE_RECORDS_ABI = [
{
type: "function",
name: "getName",
stateMutability: "view",
inputs: [
{
internalType: "address",
name: "addr",
type: "address",
},
],
outputs: [
{
internalType: "string",
name: "",
type: "string",
},
],
},
];ethers.js
web3.js
caver-js
Sample Wallet Address and Domain
If the implementation of reverse resolution is successful, it should return the following domain when the following wallet address is fetched.
Wallet Address:
0x0000ac03932ff48ee30209774e3f10fb0ac522e9Domain:
kns.klay
Last updated
