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
CreateShard
Class CreateShard
Hierarchy
Transaction
CreateShard
Index
Constructors
constructor
Methods
fee
network
Id
rlp
Bytes
seq
set
Fee
set
Seq
sign
to
Encode
Object
toJSON
type
unsigned
Hash
Constructors
constructor
new
Create
Shard
(
params
:
object
, networkId
:
NetworkId
)
:
CreateShard
Parameters
params:
object
users
:
PlatformAddress
[]
networkId:
NetworkId
Returns
CreateShard
Methods
fee
fee
(
)
:
U64
|
null
Returns
U64
|
null
network
Id
network
Id
(
)
:
NetworkId
Returns
NetworkId
rlp
Bytes
rlp
Bytes
(
)
:
Buffer
Returns
Buffer
seq
seq
(
)
:
number
|
null
Returns
number
|
null
set
Fee
set
Fee
(
fee
:
U64Value
)
:
void
Parameters
fee:
U64Value
Returns
void
set
Seq
set
Seq
(
seq
:
number
)
:
void
Parameters
seq:
number
Returns
void
sign
sign
(
params
:
object
)
:
SignedTransaction
Parameters
params:
object
fee
:
U64Value
secret
:
H256Value
seq
:
number
Returns
SignedTransaction
to
Encode
Object
to
Encode
Object
(
)
:
any
[]
Returns
any
[]
toJSON
toJSON
(
)
:
TransactionJSON
Returns
TransactionJSON
type
type
(
)
:
string
Returns
string
unsigned
Hash
unsigned
Hash
(
)
:
H256
Returns
H256
Globals
Create
Shard
constructor
fee
network
Id
rlp
Bytes
seq
set
Fee
set
Seq
sign
to
Encode
Object
toJSON
type
unsigned
Hash
Generated using
TypeDoc