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
SetWorldOwnersTransaction
Class SetWorldOwnersTransaction
Change the owners of the world
Hierarchy
SetWorldOwnersTransaction
Index
Constructors
constructor
Properties
network
Id
nonce
owners
shard
Id
type
world
Id
Methods
hash
rlp
Bytes
to
Encode
Object
toJSON
fromJSON
Constructors
constructor
new
Set
World
Owners
Transaction
(
data
:
SetWorldOwnersData
)
:
SetWorldOwnersTransaction
Parameters
data:
SetWorldOwnersData
Returns
SetWorldOwnersTransaction
Properties
network
Id
network
Id
:
NetworkId
nonce
nonce
:
number
owners
owners
:
PlatformAddress
[]
shard
Id
shard
Id
:
number
type
type
:
"setWorldOwners"
= "setWorldOwners"
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
owners
:
PlatformAddress
[]
shard
Id
:
number
world
Id
:
number
Static
fromJSON
fromJSON
(
obj
:
any
)
:
SetWorldOwnersTransaction
Parameters
obj:
any
Returns
SetWorldOwnersTransaction
Globals
Set
World
Owners
Transaction
constructor
network
Id
nonce
owners
shard
Id
type
world
Id
hash
rlp
Bytes
to
Encode
Object
toJSON
fromJSON
Generated using
TypeDoc
Change the owners of the world