updateGatewaySettings

updateGatewaySettings is a method on the ARIO class that writes new gateway settings to the caller's gateway configuration.

updateGatewaySettings requires authentication.

Example

updateGatewaySettings

const { id: txId } = await ario.updateGatewaySettings({
    minDelegatedStake: new ARIOToken(100).toMARIO()
});

Parameters

ParameterTypeDescriptionOptional
autoStakebooleanIf true, automatically stakes gateway rewards.true
allowDelegatedStakingboolean

If true, allows third parties to delegate stake to the gateway.

true
minDelegatedStakenumber

Minimum number of tokens, in mARIO that can be delegated to the gateway.

true

delegateRewardShareRatio

number

Percentage of gateway rewards to share with delegates. e.g. 10%

true
labelstring

Friendly name for gateway, min 1 character, max 64 characters.

true
notestring

A note to be associated with gateway, max 256 characters.

true
propertiesstring - ArweaveTxId

ArweaveTxId to properties object containing additional gateway configuration details.

true
observerWalletstring - WalletAddress

Public wallet address for wallet used to upload network observations.

true
fqdnstring

Fully qualified domain name, must be valid domain owned by gateway operator.

true
portnumber

Port number to use when accessing gateway, generally 443 (https)

true
protocolstring - "http" || "https"

Protocol to use when accessing gateway, only "https" is supported for network participation.

true
tagsarray

An array of GQL tag objects to attach to the joinNetwork AO message.

true

Was this page helpful?