UpdateGlobalVar

This transaction is used to update the global variable settings.

Name
Type
Required
Description

type

String

yes

The value is "UpdateGlovalVar "

fromChainId

yes

The layer3 chain id

subAccountId

yes

The subaccount id

parameter

yes

Different operation has different variable

seriaId

u64

yes

The serial id

There are 5 parameters, different operations correspond to different parameters:

Modify the collect-fee account.

Name
Type
Required
Description

feeAccount

yes

The fee account id

For example:

{
  "type": "UpdateGlobalVar",
  "fromChainId": 1,
  "subAccountId": 1,
  "parameter": {
    "feeAccount": {
      "accountId": 10
    }
  },
  "serialId": 100
}

Last updated