[solved] - New Quote Endpoint for MAYAName Management

Solved by !470

Create a new endpoint to improve the user experience for registering and updating MAYANames (from any chain).

This will enable users and interfaces to easily generate the required memos and calculate the required registration fee.

The endpoint will also support setting affiliate->subaffiliate relationships.

Endpoint Name: /quote/mayaname/parameters...

  • Input parameters:
    • name
    • registration_asset (the asset paying registration fee; its chain is used to initiate the command, e.g., ARB.ETH)
    • owner (MAYA format: mayaxxx, other chains: <chain>/<address>)
    • expiry (in years)
    • alias_chain
    • alias_address
    • default_affiliate_bps
    • preferred_asset
    • subaffiliate_name (mayaname or maya address)
    • subaffiliate_share_bps
  • Output:
    • amount (in registration_asset)
    • memo
    • message - any error logs that appeared during the simulation, suggesting a potential issue with execution
Edited by ZlyDevMaya