joinNetwork
joinNetwork
is a method on the ARIO
class that joins a gateway to the ar.io network using its associated wallet.
joinNetwork
requires authentication.
Examples
joinNetwork
Parameters
Parameter | Type | Description | Required |
---|---|---|---|
qty | number | Amount in mARIO to stake when joining network | Yes |
autoStake | boolean | Whether to automatically stake gateway rewards | Yes |
allowDelegatedStaking | boolean | Whether to allow third parties to delegate stake | Yes |
minDelegatedStake | number | Minimum amount in mARIO that can be delegated | Yes |
delegateRewardShareRatio | number | Percentage of rewards to share with delegates (e.g., 10) | Yes |
label | string | Gateway name (1-64 characters) | Yes |
note | string | Gateway description (max 256 characters) | Yes |
properties | string | Arweave transaction ID containing additional gateway configuration | Yes |
observerWallet | string | Wallet address used for network observations | Yes |
fqdn | string | Valid domain name owned by the gateway operator | Yes |
port | number | Port number for gateway access (typically 443) | Yes |
protocol | string | Access protocol (only 'https' supported) | Yes |
tags | array | An array of GQL tag objects to attach to the transaction | No |