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
Parameters
Parameter | Type | Description | Optional |
---|---|---|---|
autoStake | boolean | If true, automatically stakes gateway rewards. | true |
allowDelegatedStaking | boolean | If true, allows third parties to delegate stake to the gateway. | true |
minDelegatedStake | number | Minimum number of tokens, in | true |
delegateRewardShareRatio | number | Percentage of gateway rewards to share with delegates. e.g. 10% | true |
label | string | Friendly name for gateway, min 1 character, max 64 characters. | true |
note | string | A note to be associated with gateway, max 256 characters. | true |
properties | string - ArweaveTxId | ArweaveTxId to properties object containing additional gateway configuration details. | true |
observerWallet | string - WalletAddress | Public wallet address for wallet used to upload network observations. | true |
fqdn | string | Fully qualified domain name, must be valid domain owned by gateway operator. | true |
port | number | Port number to use when accessing gateway, generally 443 (https) | true |
protocol | string - "http" || "https" | Protocol to use when accessing gateway, only "https" is supported for network participation. | true |
tags | array | An array of GQL tag objects to attach to the joinNetwork AO message. | true |