requestPrimaryName
requestPrimaryName
is a method on the ARIO
class that requests a primary name for the caller's address. The request must be approved by the new owner of the requested name via the approvePrimaryNameRequest
API.
requestPrimaryName
requires authentication.
setPrimaryName
A simpler way to request a primary name is to use the setPrimaryName
API. This will request the primary name and approve it in a single API call.
Examples
transfer
Parameters
Parameter | Type | Description | Optional |
---|---|---|---|
name | string | Primary name being requested. | false |