Exports transactions.
npm install @pascalcoin-sbx/encoding-docs-cliA pascalCoin operation hash
A type that itself is made up of multiple other types.
| Position | Field | Description | Name | |
| -------- | ---------- | ---------------------------------------------------------------------------------------------------------------------------- | --------------------- | ------------------------------------ |
| 1 | block | The block the operation is in.
4byte 32bit int value | Int32 | unsigned: true
endian: LE
|
| 2 | account | The account number that signed the operation.
An account number
4byte 32bit int value | AccountNumber (Int32) | unsigned: true
endian: LE
|
| 3 | nOperation | The n_operation value of the account with the current operation.
Accounts n_operation value.
4byte 32bit int value | NOperation (Int32) | unsigned: true
endian: LE
|
| 4 | md160 | The RIPEMD160 hash of the operation data.
Bytes with a fixed length of 20 | BytesFixedLength | |
A type that itself is made up of multiple other types.
| Position | Field | Description | Name | |
| -------- | -------- | ---------------------------------------------------------------------- | ----- | ------------------------------------ |
| 1 | curve | Key curve id
2byte 16bit int value | Bytes | unsigned: true
endian: LE
|
| 2 | x_length | Length of X value
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 3 | x | The X value of the public key.
Bytes with variable size prepended | Bytes | |
| 4 | y_length | Length of Y value
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 5 | y | The X value of the public key.
Bytes with variable size prepended | Bytes | |
A type that itself is made up of multiple other types.
| Position | Field | Description | Name | |
| -------- | ------ | -------------------------------------------------------------- | ----- | ------------------------------------ |
| 1 | curve | Key curve id
2byte 16bit int value | Bytes | unsigned: true
endian: LE
|
| 2 | length | 2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 3 | key | The private key value.
Bytes with variable size prepended | Bytes | |
The coder for the raw representation of a Transaction operation
A type that itself is made up of multiple other types.
| Position | Field | Description | Name | |
| -------- | -------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------- | ------------------------------------ |
| 1 | sender | The sender account.
An account number
4byte 32bit int value | AccountNumber (Int32) | unsigned: true
endian: LE
|
| 2 | nOperation | The next n_operation value of the sender.
Accounts n_operation value.
4byte 32bit int value | NOperation (Int32) | unsigned: true
endian: LE
|
| 3 | target | The receiving account.
An account number
4byte 32bit int value | AccountNumber (Int32) | unsigned: true
endian: LE
|
| 4 | amount | The amount that is sent from sender to receiver.
A type for currency values.
8byte 64bit int value | Currency (Int64) | unsigned: true
endian: LE
|
| 5 | fee | The fee included in the operation.
A type for currency values.
8byte 64bit int value | Currency (Int64) | unsigned: true
endian: LE
|
| 6 | payload_length | The length of the payload
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 7 | payload | The payload of the operation.
Bytes with variable size prepended | Bytes | |
| 8 | v2_pubkey | Empty pubkey (6 zero bytes) - previously active in <= v2.
A type that itself is made up of multiple other types. | CompositeType | |
| 8.1 | curve | Key curve id
2byte 16bit int value | Bytes | unsigned: true
endian: LE
|
| 8.2 | x_length | Length of X value
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 8.3 | x | The X value of the public key.
Bytes with variable size prepended | Bytes | |
| 8.4 | y_length | Length of Y value
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 8.5 | y | The X value of the public key.
Bytes with variable size prepended | Bytes | |
| 9 | r_length | Length of r.
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 10 | r | R value of the sign operation.
Bytes with variable size prepended | Bytes | |
| 11 | s_length | Length of s.
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 12 | s | S value of the sign operation.
Bytes with variable size prepended | Bytes | |
Digest encoder for a Transaction operation.
A type that itself is made up of multiple other types.
| Position | Field | Description | Name | |
| -------- | --------------- | ------------------------------------------------------------------------------------------------------------ | --------------------- | ------------------------------------ |
| 1 | sender | The sender account.
An account number
4byte 32bit int value | AccountNumber (Int32) | unsigned: true
endian: LE
|
| 2 | nOperation | The next n_operation value of the sender.
Accounts n_operation value.
4byte 32bit int value | NOperation (Int32) | unsigned: true
endian: LE
|
| 3 | target | The receiving account.
An account number
4byte 32bit int value | AccountNumber (Int32) | unsigned: true
endian: LE
|
| 4 | amount | The amount that is sent from sender to receiver.
A type for currency values.
8byte 64bit int value | Currency (Int64) | unsigned: true
endian: LE
|
| 5 | fee | The fee included in the operation.
A type for currency values.
8byte 64bit int value | Currency (Int64) | unsigned: true
endian: LE
|
| 6 | payload | The payload of the operation.
Bytes without length prepended. | Bytes | |
| 7 | v2_pubkey_curve | Curve ID 0 - previously active in <= v2.
Key curve id
2byte 16bit int value | Bytes | unsigned: true
endian: LE
|
| 8 | optype | Operation type.
Operation type in 8 bits | OpType (Int8) | unsigned: true
endian: LE
|
The coder for the raw representation of a ChangeKey operation
A type that itself is made up of multiple other types.
| Position | Field | Description | Name | |
| -------- | -------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------- | ------------------------------------ |
| 1 | signer | The signer of the operation.
An account number
4byte 32bit int value | AccountNumber (Int32) | unsigned: true
endian: LE
|
| 2 | nOperation | The next n_operation value of the buyer.
Accounts n_operation value.
4byte 32bit int value | NOperation (Int32) | unsigned: true
endian: LE
|
| 3 | fee | The fee paid for the operation.
A type for currency values.
8byte 64bit int value | Currency (Int64) | unsigned: true
endian: LE
|
| 4 | payload_length | The length of the payload
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 5 | payload | The payload of the operation.
Bytes with variable size prepended | Bytes | |
| 6 | v2_public_key | Empty pubkey (6 zero bytes) - previously active in <= v2.
A type that itself is made up of multiple other types. | CompositeType | |
| 6.1 | curve | Key curve id
2byte 16bit int value | Bytes | unsigned: true
endian: LE
|
| 6.2 | x_length | Length of X value
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 6.3 | x | The X value of the public key.
Bytes with variable size prepended | Bytes | |
| 6.4 | y_length | Length of Y value
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 6.5 | y | The X value of the public key.
Bytes with variable size prepended | Bytes | |
| 7 | pubkey_length | The encoded length of the following public key
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 8 | public_key | A type that itself is made up of multiple other types. | CompositeType | |
| 8.1 | curve | Key curve id
2byte 16bit int value | Bytes | unsigned: true
endian: LE
|
| 8.2 | x_length | Length of X value
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 8.3 | x | The X value of the public key.
Bytes with variable size prepended | Bytes | |
| 8.4 | y_length | Length of Y value
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 8.5 | y | The X value of the public key.
Bytes with variable size prepended | Bytes | |
| 10 | r_length | Length of r.
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 11 | r | R value of the sign operation.
Bytes with variable size prepended | Bytes | |
| 12 | s_length | Length of s.
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 13 | s | S value of the sign operation.
Bytes with variable size prepended | Bytes | |
Digest encoder for a ChangeKey operation.
A type that itself is made up of multiple other types.
| Position | Field | Description | Name | |
| -------- | --------------- | ------------------------------------------------------------------------------------------------- | --------------------- | ------------------------------------ |
| 1 | signer | The account that executes the operation.
An account number
4byte 32bit int value | AccountNumber (Int32) | unsigned: true
endian: LE
|
| 2 | nOperation | The next n_operation of the signer.
Accounts n_operation value.
4byte 32bit int value | NOperation (Int32) | unsigned: true
endian: LE
|
| 3 | fee | The fee associated with the operation
A type for currency values.
8byte 64bit int value | Currency (Int64) | unsigned: true
endian: LE
|
| 4 | payload | The payload of the operation.
Bytes without length prepended. | Bytes | |
| 5 | v2_pubkey_curve | Curve ID 0 - previously active in <= v2.
Key curve id
2byte 16bit int value | Bytes | unsigned: true
endian: LE
|
| 6 | newPublicKey | The new public key of the account.
A type that itself is made up of multiple other types. | CompositeType | |
| 6.1 | curve | Key curve id
2byte 16bit int value | Bytes | unsigned: true
endian: LE
|
| 6.2 | x_length | Length of X value
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 6.3 | x | The X value of the public key.
Bytes with variable size prepended | Bytes | |
| 6.4 | y_length | Length of Y value
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 6.5 | y | The X value of the public key.
Bytes with variable size prepended | Bytes | |
| 7 | optype | The optype as 8bit int.
Operation type in 8 bits | OpType (Int8) | unsigned: true
endian: LE
|
The coder for the raw representation of a List Account operation
A type that itself is made up of multiple other types.
| Position | Field | Description | Name | |
| -------- | ---------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------- | ------------------------------------ |
| 1 | signer | The account that executes the operation.
An account number
4byte 32bit int value | AccountNumber (Int32) | unsigned: true
endian: LE
|
| 2 | target | The account that will be listed.
An account number
4byte 32bit int value | AccountNumber (Int32) | unsigned: true
endian: LE
|
| 3 | optype | The optype of the operation (4)
Operation type in 16 bits | OpType (Int16) | unsigned: true
endian: LE
|
| 4 | nOperation | The next n_operation of the signer.
Accounts n_operation value.
4byte 32bit int value | NOperation (Int32) | unsigned: true
endian: LE
|
| 5 | price | The price of the target account.
A type for currency values.
8byte 64bit int value | Currency (Int64) | unsigned: true
endian: LE
|
| 6 | accountToPay | The account where the amount goes to when the target is sold.
An account number
4byte 32bit int value | AccountNumber (Int32) | unsigned: true
endian: LE
|
| 7 | v2_pubkey | Empty pubkey (6 zero bytes) - previously active in <= v2.
A type that itself is made up of multiple other types. | CompositeType | |
| 7.1 | curve | Key curve id
2byte 16bit int value | Bytes | unsigned: true
endian: LE
|
| 7.2 | x_length | Length of X value
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 7.3 | x | The X value of the public key.
Bytes with variable size prepended | Bytes | |
| 7.4 | y_length | Length of Y value
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 7.5 | y | The X value of the public key.
Bytes with variable size prepended | Bytes | |
| 8 | pubkey_length | The encoded length of the following public key
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 9 | public_key | A type that itself is made up of multiple other types. | CompositeType | |
| 9.1 | curve | 2byte 16bit int value
Key curve id | Bytes | unsigned: true
endian: LE
|
| 9.2 | x_length | 2byte 16bit int value
Length of X value | Int16 | unsigned: true
endian: LE
|
| 9.3 | x | Bytes with variable size prepended
The X value of the public key. | Bytes | |
| 9.4 | y_length | 2byte 16bit int value
Length of Y value | Int16 | unsigned: true
endian: LE
|
| 9.5 | y | Bytes with variable size prepended
The X value of the public key. | Bytes | |
| 11 | lockedUntilBlock | The block number until the account is locked.
4byte 32bit int value | Int32 | unsigned: true
endian: LE
|
| 12 | fee | The fee associated with the operation
A type for currency values.
8byte 64bit int value | Currency (Int64) | unsigned: true
endian: LE
|
| 13 | payload_length | The length of the payload
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 14 | payload | The payload of the operation.
Bytes with variable size prepended | Bytes | |
| 15 | r_length | Length of r.
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 16 | r | R value of the sign operation.
Bytes with variable size prepended | Bytes | |
| 17 | s_length | Length of s.
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 18 | s | S value of the sign operation.
Bytes with variable size prepended | Bytes | |
Digest encoder for a List operation.
A type that itself is made up of multiple other types.
| Position | Field | Description | Name | |
| -------- | ---------------- | --------------------------------------------------------------------------------------------------------------- | --------------------- | ------------------------------------ |
| 1 | signer | The account that executes the operation.
An account number
4byte 32bit int value | AccountNumber (Int32) | unsigned: true
endian: LE
|
| 2 | target | The account that will be listed.
An account number
4byte 32bit int value | AccountNumber (Int32) | unsigned: true
endian: LE
|
| 3 | nOperation | The next n_operation of the signer.
Accounts n_operation value.
4byte 32bit int value | NOperation (Int32) | unsigned: true
endian: LE
|
| 4 | price | The price of the target account.
A type for currency values.
8byte 64bit int value | Currency (Int64) | unsigned: true
endian: LE
|
| 5 | accountToPay | The account where the amount goes to when the target is sold.
An account number
4byte 32bit int value | AccountNumber (Int32) | unsigned: true
endian: LE
|
| 6 | fee | The fee associated with the operation
A type for currency values.
8byte 64bit int value | Currency (Int64) | unsigned: true
endian: LE
|
| 7 | payload | The payload of the operation.
Single string value without length prepended. | StringWithoutLength | |
| 8 | v2_pubkey_curve | Curve ID 0 - previously active in <= v2.
Key curve id
2byte 16bit int value | Bytes | unsigned: true
endian: LE
|
| 9 | newPublicKey | The new public key of the buyer (private sale).
A type that itself is made up of multiple other types. | CompositeType | |
| 9.1 | curve | Key curve id
2byte 16bit int value | Bytes | unsigned: true
endian: LE
|
| 9.2 | x_length | Length of X value
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 9.3 | x | The X value of the public key.
Bytes with variable size prepended | Bytes | |
| 9.4 | y_length | Length of Y value
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 9.5 | y | The X value of the public key.
Bytes with variable size prepended | Bytes | |
| 10 | lockedUntilBlock | The block number until the account is locked.
4byte 32bit int value | Int32 | unsigned: true
endian: LE
|
| 11 | optype | The optype as 8bit int.
Operation type in 8 bits | OpType (Int8) | unsigned: true
endian: LE
|
The coder for the raw representation of a Delist Account operation
A type that itself is made up of multiple other types.
| Position | Field | Description | Name | |
| -------- | -------------- | ------------------------------------------------------------------------------------------------- | --------------------- | ------------------------------------ |
| 1 | signer | The account that executes the operation.
An account number
4byte 32bit int value | AccountNumber (Int32) | unsigned: true
endian: LE
|
| 2 | target | The account that will be listed.
An account number
4byte 32bit int value | AccountNumber (Int32) | unsigned: true
endian: LE
|
| 3 | optype | The optype of the operation (5)
Operation type in 16 bits | OpType (Int16) | unsigned: true
endian: LE
|
| 4 | nOperation | The next n_operation of the signer.
Accounts n_operation value.
4byte 32bit int value | NOperation (Int32) | unsigned: true
endian: LE
|
| 5 | fee | The fee associated with the operation
A type for currency values.
8byte 64bit int value | Currency (Int64) | unsigned: true
endian: LE
|
| 6 | payload_length | The length of the payload
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 7 | payload | The payload of the operation.
Bytes with variable size prepended | Bytes | |
| 8 | r_length | Length of r.
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 9 | r | R value of the sign operation.
Bytes with variable size prepended | Bytes | |
| 10 | s_length | Length of s.
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 11 | s | S value of the sign operation.
Bytes with variable size prepended | Bytes | |
Digest encoder for a Delist operation.
A type that itself is made up of multiple other types.
| Position | Field | Description | Name | |
| -------- | ---------------- | --------------------------------------------------------------------------------------------------------------- | --------------------- | ------------------------------------ |
| 1 | signer | The account that executes the operation.
An account number
4byte 32bit int value | AccountNumber (Int32) | unsigned: true
endian: LE
|
| 2 | target | The account that will be de-listed.
An account number
4byte 32bit int value | AccountNumber (Int32) | unsigned: true
endian: LE
|
| 3 | nOperation | The next n_operation of the signer.
Accounts n_operation value.
4byte 32bit int value | NOperation (Int32) | unsigned: true
endian: LE
|
| 4 | price | The price of the target account.
A type for currency values.
8byte 64bit int value | Currency (Int64) | unsigned: true
endian: LE
|
| 5 | accountToPay | The account where the amount goes to when the target is sold.
An account number
4byte 32bit int value | AccountNumber (Int32) | unsigned: true
endian: LE
|
| 6 | fee | The fee associated with the operation
A type for currency values.
8byte 64bit int value | Currency (Int64) | unsigned: true
endian: LE
|
| 7 | payload | The payload of the operation.
Bytes without length prepended. | Bytes | |
| 8 | v2_pubkey_curve | Curve ID 0 - previously active in <= v2.
Key curve id
2byte 16bit int value | Bytes | unsigned: true
endian: LE
|
| 9 | newPublicKey | The new public key of the buyer (private sale).
A type that itself is made up of multiple other types. | CompositeType | |
| 9.1 | curve | Key curve id
2byte 16bit int value | Bytes | unsigned: true
endian: LE
|
| 9.2 | x_length | Length of X value
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 9.3 | x | The X value of the public key.
Bytes with variable size prepended | Bytes | |
| 9.4 | y_length | Length of Y value
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 9.5 | y | The X value of the public key.
Bytes with variable size prepended | Bytes | |
| 10 | lockedUntilBlock | The block number until the account is locked.
4byte 32bit int value | Int32 | |
| 11 | optype | The optype as 8bit int.
Operation type in 8 bits | OpType (Int8) | unsigned: true
endian: LE
|
The coder for the raw representation of a BuyAccount operation
A type that itself is made up of multiple other types.
| Position | Field | Description | Name | |
| -------- | -------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------- | ------------------------------------ |
| 1 | sender | The buyer account.
An account number
4byte 32bit int value | AccountNumber (Int32) | unsigned: true
endian: LE
|
| 2 | nOperation | The next n_operation value of the buyer.
Accounts n_operation value.
4byte 32bit int value | NOperation (Int32) | unsigned: true
endian: LE
|
| 3 | target | The account to buy.
An account number
4byte 32bit int value | AccountNumber (Int32) | unsigned: true
endian: LE
|
| 4 | amount | The amount to pay for the account.
A type for currency values.
8byte 64bit int value | Currency (Int64) | unsigned: true
endian: LE
|
| 5 | fee | The fee paid for the operation.
A type for currency values.
8byte 64bit int value | Currency (Int64) | unsigned: true
endian: LE
|
| 6 | payload_length | The length of the payload
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 7 | payload | The payload of the operation.
Bytes with variable size prepended | Bytes | |
| 8 | v2_public_key | Empty pubkey (6 zero bytes) - previously active in <= v2.
A type that itself is made up of multiple other types. | CompositeType | |
| 8.1 | curve | Key curve id
2byte 16bit int value | Bytes | unsigned: true
endian: LE
|
| 8.2 | x_length | Length of X value
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 8.3 | x | The X value of the public key.
Bytes with variable size prepended | Bytes | |
| 8.4 | y_length | Length of Y value
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 8.5 | y | The X value of the public key.
Bytes with variable size prepended | Bytes | |
| 9 | type | Fixed type for a "Buy account" transaction.
1byte 8bit int value | Int8 | unsigned: true
|
| 10 | price | The price of the account.
A type for currency values.
8byte 64bit int value | Currency (Int64) | unsigned: true
endian: LE
|
| 11 | seller | The account number of the seller.
An account number
4byte 32bit int value | AccountNumber (Int32) | unsigned: true
endian: LE
|
| 12 | newPublicKey | The new public key that will own the account.
A type that itself is made up of multiple other types. | CompositeType | |
| 12.1 | curve | Key curve id
2byte 16bit int value | Bytes | unsigned: true
endian: LE
|
| 12.2 | x_length | Length of X value
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 12.3 | x | The X value of the public key.
Bytes with variable size prepended | Bytes | |
| 12.4 | y_length | Length of Y value
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 12.5 | y | The X value of the public key.
Bytes with variable size prepended | Bytes | |
| 13 | r_length | Length of r.
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 14 | r | R value of the sign operation.
Bytes with variable size prepended | Bytes | |
| 15 | s_length | Length of s.
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 16 | s | S value of the sign operation.
Bytes with variable size prepended | Bytes | |
Digest encoder for a BuyAccount operation.
A type that itself is made up of multiple other types.
| Position | Field | Description | Name | |
| -------- | --------------- | ---------------------------------------------------------------------------------------------------- | --------------------- | ------------------------------------ |
| 1 | sender | The buyer account.
An account number
4byte 32bit int value | AccountNumber (Int32) | unsigned: true
endian: LE
|
| 2 | nOperation | The next n_operation value of the buyer.
Accounts n_operation value.
4byte 32bit int value | NOperation (Int32) | unsigned: true
endian: LE
|
| 3 | target | The account to buy
An account number
4byte 32bit int value | AccountNumber (Int32) | unsigned: true
endian: LE
|
| 4 | amount | The amount paid for the account.
A type for currency values.
8byte 64bit int value | Currency (Int64) | unsigned: true
endian: LE
|
| 5 | fee | The fee paid for the operation.
A type for currency values.
8byte 64bit int value | Currency (Int64) | unsigned: true
endian: LE
|
| 6 | payload | The payload of the operation.
Bytes without length prepended. | Bytes | |
| 7 | v2_pubkey_curve | Curve ID 0 - previously active in <= v2.
Key curve id
2byte 16bit int value | Bytes | unsigned: true
endian: LE
|
| 8 | price | The price of the account to buy
A type for currency values.
8byte 64bit int value | Currency (Int64) | unsigned: true
endian: LE
|
| 9 | seller | The account number of the seller
An account number
4byte 32bit int value | AccountNumber (Int32) | unsigned: true
endian: LE
|
| 10 | newPublicKey | The new public key of the account.
A type that itself is made up of multiple other types. | CompositeType | |
| 10.1 | curve | Key curve id
2byte 16bit int value | Bytes | unsigned: true
endian: LE
|
| 10.2 | x | The X value of the public key.
Bytes without length prepended. | Bytes | |
| 10.3 | y | Bytes without length prepended. | Bytes | |
| 11 | optype | The buy account optype as 8 bit int8
Operation type in 8 bits | OpType (Int8) | unsigned: true
endian: LE
|
The coder for the raw representation of a ChangeKeySigned operation
A type that itself is made up of multiple other types.
| Position | Field | Description | Name | |
| -------- | -------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------- | ------------------------------------ |
| 1 | signer | The signer of the operation.
An account number
4byte 32bit int value | AccountNumber (Int32) | unsigned: true
endian: LE
|
| 2 | target | The target account to be changed.
An account number
4byte 32bit int value | AccountNumber (Int32) | unsigned: true
endian: LE
|
| 3 | nOperation | The next n_operation value of the buyer.
Accounts n_operation value.
4byte 32bit int value | NOperation (Int32) | unsigned: true
endian: LE
|
| 4 | fee | The fee paid for the operation.
A type for currency values.
8byte 64bit int value | Currency (Int64) | unsigned: true
endian: LE
|
| 5 | payload_length | The length of the payload
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 6 | payload | The payload of the operation.
Bytes with variable size prepended | Bytes | |
| 7 | v2_public_key | Empty pubkey (6 zero bytes) - previously active in <= v2.
A type that itself is made up of multiple other types. | CompositeType | |
| 7.1 | curve | Key curve id
2byte 16bit int value | Bytes | unsigned: true
endian: LE
|
| 7.2 | x_length | Length of X value
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 7.3 | x | The X value of the public key.
Bytes with variable size prepended | Bytes | |
| 7.4 | y_length | Length of Y value
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 7.5 | y | The X value of the public key.
Bytes with variable size prepended | Bytes | |
| 8 | pubkey_length | The encoded length of the following public key
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 9 | public_key | A type that itself is made up of multiple other types. | CompositeType | |
| 9.1 | curve | Key curve id
2byte 16bit int value | Bytes | unsigned: true
endian: LE
|
| 9.2 | x_length | Length of X value
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 9.3 | x | The X value of the public key.
Bytes with variable size prepended | Bytes | |
| 9.4 | y_length | Length of Y value
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 9.5 | y | The X value of the public key.
Bytes with variable size prepended | Bytes | |
| 11 | r_length | Length of r.
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 12 | r | R value of the sign operation.
Bytes with variable size prepended | Bytes | |
| 13 | s_length | Length of s.
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 14 | s | S value of the sign operation.
Bytes with variable size prepended | Bytes | |
Digest encoder for a ChangeKeySigned operation.
A type that itself is made up of multiple other types.
| Position | Field | Description | Name | |
| -------- | --------------- | ------------------------------------------------------------------------------------------------- | --------------------- | ------------------------------------ |
| 1 | signer | The account that executes the operation.
An account number
4byte 32bit int value | AccountNumber (Int32) | unsigned: true
endian: LE
|
| 2 | target | The account that should be changed.
An account number
4byte 32bit int value | AccountNumber (Int32) | unsigned: true
endian: LE
|
| 3 | nOperation | The next n_operation of the signer.
Accounts n_operation value.
4byte 32bit int value | NOperation (Int32) | unsigned: true
endian: LE
|
| 4 | fee | The fee associated with the operation
A type for currency values.
8byte 64bit int value | Currency (Int64) | unsigned: true
endian: LE
|
| 5 | payload | The payload of the operation.
Bytes without length prepended. | Bytes | |
| 6 | v2_pubkey_curve | Curve ID 0 - previously active in <= v2.
Key curve id
2byte 16bit int value | Bytes | unsigned: true
endian: LE
|
| 7 | newPublicKey | The new public key of the account.
A type that itself is made up of multiple other types. | CompositeType | |
| 7.1 | curve | Key curve id
2byte 16bit int value | Bytes | unsigned: true
endian: LE
|
| 7.2 | x_length | Length of X value
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 7.3 | x | The X value of the public key.
Bytes with variable size prepended | Bytes | |
| 7.4 | y_length | Length of Y value
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 7.5 | y | The X value of the public key.
Bytes with variable size prepended | Bytes | |
| 8 | optype | The optype as 8bit int.
Operation type in 8 bits | OpType (Int8) | unsigned: true
endian: LE
|
The coder for the raw representation of a MultiOperation
A type that itself is made up of multiple other types.
| Position | Field | Description | Name | |
| -------- | -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------ | ------------------------------------------------ |
| 1 | protocol | The protocol version (3).
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 2 | sendersCount | The number of senders
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 3 | senders | Senders of the multi-operation
A type that itself has one repeating type that will be written / read until the limit is reached or data is empty. | Array | |
| 3.1..N | multiop_sender_raw | The coder for the raw representation of a MultiOperation.Sender
A type that itself is made up of multiple other types. | CompositeType | |
| 3.1.1 | account | The account of the operation.
An account number
4byte 32bit int value | AccountNumber (Int32) | unsigned: true
endian: LE
|
| 3.1.2 | amount | The amount sent by the sender.
A type for currency values.
8byte 64bit int value | Currency (Int64) | unsigned: true
endian: LE
|
| 3.1.3 | nOperation | The next n_operation of the account.
Accounts n_operation value.
4byte 32bit int value | NOperation (Int32) | unsigned: true
endian: LE
|
| 3.1.4 | payload_length | The length of the payload
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 3.1.5 | payload | The payload of the operation.
Bytes with variable size prepended | Bytes | |
| 3.1.6 | r_length | Length of r.
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 3.1.7 | r | R value of the sign operation.
Bytes with variable size prepended | Bytes | |
| 3.1.8 | s_length | Length of s.
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 3.1.9 | s | S value of the sign operation.
Bytes with variable size prepended | Bytes | |
| 4 | receiversCount | The number of receivers
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 5 | receivers | Receivers of the multi-operation
A type that itself has one repeating type that will be written / read until the limit is reached or data is empty. | Array | |
| 5.1..N | multiop_receiver_raw | The coder for the raw and digest representation of a MultiOperation.Receiver
A type that itself is made up of multiple other types. | CompositeType | |
| 5.1.1 | account | The account of the operation.
An account number
4byte 32bit int value | AccountNumber (Int32) | unsigned: true
endian: LE
|
| 5.1.2 | amount | The amount sent by the sender.
A type for currency values.
8byte 64bit int value | Currency (Int64) | unsigned: true
endian: LE
|
| 5.1.3 | payload_length | The length of the payload
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 5.1.4 | payload | The payload of the operation.
Bytes with variable size prepended | Bytes | |
| 6 | changersCount | The number of changers
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 7 | changers | Changers of the multi-operation
A type that itself has one repeating type that will be written / read until the limit is reached or data is empty. | Array | |
| 7.1..N | multiop_changer_raw | The coder for the raw representation of a MultiOperation.Changer
A type that itself is made up of multiple other types. | CompositeType | |
| 7.1.1 | account | The account of the operation.
An account number
4byte 32bit int value | AccountNumber (Int32) | unsigned: true
endian: LE
|
| 7.1.2 | nOperation | The next n_operation of the account.
Accounts n_operation value.
4byte 32bit int value | NOperation (Int32) | unsigned: true
endian: LE
|
| 7.1.3 | changeType | The change type.
1byte 8bit int value | Int8 | unsigned: undefined
|
| 7.1.4 | newPublicKey | The new public key of the account.
A type that itself is made up of multiple other types. | CompositeType | |
| 7.1.4.1 | curve | Key curve id
2byte 16bit int value | Bytes | unsigned: true
endian: LE
|
| 7.1.4.2 | x_length | Length of X value
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 7.1.4.3 | x | The X value of the public key.
Bytes with variable size prepended | Bytes | |
| 7.1.4.4 | y_length | Length of Y value
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 7.1.4.5 | y | The X value of the public key.
Bytes with variable size prepended | Bytes | |
| 7.1.5 | newName | The new name of the account.
An account name
String with size prepended | AccountName (StringWithLength) | |
| 7.1.6 | newType | The new type of the account.
2byte 16bit int value | Int16 | unsigned: undefined
endian: undefined
|
| 7.1.7 | r_length | Length of r.
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 7.1.8 | r | R value of the sign operation.
Bytes with variable size prepended | Bytes | |
| 7.1.9 | s_length | Length of s.
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 7.1.10 | s | S value of the sign operation.
Bytes with variable size prepended | Bytes | |
The coder for the digest representation of a MultiOperation
A type that itself is made up of multiple other types.
| Position | Field | Description | Name | |
| -------- | ---------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------ | ------------------------------------------------ |
| 1 | protocol | The protocol version (3).
2byte 16bit int value | Int16 | unsigned: undefined
endian: undefined
|
| 2 | sendersCount | The number of senders
2byte 16bit int value | Int16 | unsigned: true
endian: LE
|
| 3 | senders | Senders of the multi-operation
A type that itself has one repeating type that will be written / read until the limit is reached or data is empty. | Array | |
| 3.1..N | multiop_sender_digest | The coder for the digest representation of a MultiOperation.Sender
A type that itself is made up of multiple other types.