Skip to main content

Get Methods

Some smart contracts are expected to implement certain well-defined get-methods.

For instance, any subdomain resolver smart contract for TOS DNS is expected to implement the get-method dnsresolve. Custom smart contracts can specify their own get-methods.

danger

At this time, our only general recommendation is to implement the get-method seqno (without parameters) that returns the current seqno of a smart contract that uses sequence numbers to prevent replay attacks related to inbound external methods whenever such a method is appropriate.