UpdateGlobalVar

This transaction is used to update the global variable settings.

NameTypeRequiredDescription

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.

NameTypeRequiredDescription

feeAccount

yes

The fee account id

For example:

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

Last updated