Search
Preparing search index...
The search index is not available
CodeChain JavaScript SDK
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
SetWorldUsersTransaction
Class SetWorldUsersTransaction
Change the users of the world
Hierarchy
SetWorldUsersTransaction
Index
Constructors
constructor
Properties
network
Id
nonce
shard
Id
type
users
world
Id
Methods
hash
rlp
Bytes
to
Encode
Object
toJSON
fromJSON
Constructors
constructor
new
Set
World
Users
Transaction
(
data
:
SetWorldUsersData
)
:
SetWorldUsersTransaction
Parameters
data:
SetWorldUsersData
Returns
SetWorldUsersTransaction
Properties
network
Id
network
Id
:
NetworkId
nonce
nonce
:
number
shard
Id
shard
Id
:
number
type
type
:
"setWorldUsers"
= "setWorldUsers"
users
users
:
PlatformAddress
[]
world
Id
world
Id
:
number
Methods
hash
hash
(
)
:
H256
Returns
H256
rlp
Bytes
rlp
Bytes
(
)
:
Buffer
Returns
Buffer
to
Encode
Object
to
Encode
Object
(
)
:
(
string
|
number
|
PlatformAddress
[]
)
[]
Returns
(
string
|
number
|
PlatformAddress
[]
)
[]
toJSON
toJSON
(
)
:
object
Returns
object
type
:
string
data
:
object
network
Id
:
string
nonce
:
number
shard
Id
:
number
users
:
PlatformAddress
[]
world
Id
:
number
Static
fromJSON
fromJSON
(
obj
:
any
)
:
SetWorldUsersTransaction
Parameters
obj:
any
Returns
SetWorldUsersTransaction
Globals
Set
World
Users
Transaction
constructor
network
Id
nonce
shard
Id
type
users
world
Id
hash
rlp
Bytes
to
Encode
Object
toJSON
fromJSON
Generated using
TypeDoc
Change the users of the world