Name Resolver

Return a valid RNS name for the requested node, or the empty string if no name is defined for the requested node.

Mainnet

See RNS Testnet section for testing environment information.

Index

Methods

setName

Sets the name associated with an RNS node, for reverse records.

May only be called by the owner of that node in the RNS registry.

Signature

function setName(bytes32 node, string calldata name) external

Parameters

  • node: the node to update.
  • name: the name to set.

Events

event NameChanged(bytes32 node, string name);

name

Returns the name associated with an RNS node, for reverse records.

Signature

function name(bytes32 node) external view returns (string memory)

Parameters

  • node: the node to query.

Events

event NameChanged(bytes32 node, string name);

Returns the associated name.

Receive updates

Get the latest updates from the Rootstock ecosystem

Loading...