upgradeRecord
upgradeRecord
is a method on the ARIO
class that upgrades an existing ArNS record from a lease to a permanent ownership (permabuy). This allows converting a leased name to permanent ownership.
upgradeRecord
requires authentication.
Examples
upgradeRecord
Parameters
Parameter | Type | Description | Optional |
---|---|---|---|
name | string | The ArNS name to upgrade to permanent ownership | false |
fundFrom | string | The source of funds: 'balance', 'stakes', 'any', or 'turbo' | true |
paidBy | string | string[] | Wallet address(es) that will pay for the purchase (used with fundFrom: 'turbo') | true |
tags | array | An array of GQL tag objects to attach to the transfer AO message | true |