Package Exports
- @pascalcoin-sbx/encoding-docs-cli
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@pascalcoin-sbx/encoding-docs-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Types -> OperationHash
A 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 without length prepended. |
Bytes |
Types -> PublicKey
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 |
Types -> PrivateKey
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 |
Transaction signing (raw) -> RawCoder
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 |
Transaction signing (digest) -> DigestCoder
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 |
Signing -> ChangeKey signing (raw)
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 |
Signing -> ChangeKey signing (digest)
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 |
Signing -> ListAccountForSale signing (raw)
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 |
Signing -> ListAccountForSale signing (digest)
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 |
Signing -> DeListAccountForSale signing (digest)
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 |
Signing -> DeListAccountForSale signing (raw)
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 |
Signing -> BuyAccount signing (raw)
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 |
Signing -> BuyAccount signing (digest)
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 |
Signing -> ChangeKeySigned signing (raw)
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 |
Signing -> ChangeKeySigned signing (digest)
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 |
Signing -> MultiOperation signing (raw)
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 |
Signing -> MultiOperation signing (digest)
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. |
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 | |
| 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_digest | The coder for the digest 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 |
| 8 | optype | The optype as 8bit int. Operation type in 8 bits |
OpType (Int8) | unsigned: true endian: LE |
Signing -> Data signing (raw)
The coder for the raw representation of a Data 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 | sender | The account that sends the operation. An account number 4byte 32bit int value |
AccountNumber (Int32) | unsigned: true endian: LE |
| 3 | target | The account that will receive the operation. An account number 4byte 32bit int value |
AccountNumber (Int32) | 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 | dataType | The data type of the operation. 2byte 16bit int value |
Int16 | unsigned: true endian: LE |
| 6 | dataSequence | The data sequence of the operation. 2byte 16bit int value |
Int16 | unsigned: true endian: LE |
| 7 | amount | The amount associated the operation. A type for currency values. 8byte 64bit int value |
Currency (Int64) | unsigned: true endian: LE |
| 8 | fee | The fee associated the operation. A type for currency values. 8byte 64bit int value |
Currency (Int64) | unsigned: true endian: LE |
| 9 | payload_length | The length of the payload 2byte 16bit int value |
Int16 | unsigned: true endian: LE |
| 10 | payload | The payload of the operation. 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 |
Signing -> Data signing (digest)
Digest encoder for a DATA 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 | sender | The account that sends the operation. An account number 4byte 32bit int value |
AccountNumber (Int32) | unsigned: true endian: LE |
| 3 | target | The account that will receive the operation. An account number 4byte 32bit int value |
AccountNumber (Int32) | 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 | dataType | The data type of the operation. 2byte 16bit int value |
Int16 | unsigned: true endian: LE |
| 6 | dataSequence | The data sequence of the operation. 2byte 16bit int value |
Int16 | unsigned: true endian: LE |
| 7 | amount | The amount associated with the operation. A type for currency values. 8byte 64bit int value |
Currency (Int64) | unsigned: true endian: LE |
| 8 | fee | The fee associated with the operation A type for currency values. 8byte 64bit int value |
Currency (Int64) | unsigned: true endian: LE |
| 9 | payload_length | The length of the payload 2byte 16bit int value |
Int16 | unsigned: true endian: LE |
| 10 | payload | The payload of the operation. Bytes with variable size prepended |
Bytes | |
| 11 | optype | The optype as 8bit int. Operation type in 8 bits |
OpType (Int8) | unsigned: true endian: LE |
Collection -> Rawoperations
Coder to combine multiple operations. A type that itself is made up of multiple other types.
| Position | Field | Description | Name | |
|---|---|---|---|---|
| 1 | count | The number of operations this message holds. 4byte 32bit int value |
Int32 | unsigned: true endian: LE |
| 2 | operations | A type that itself has one repeating type that will be written / read until the limit is reached or data is empty. | Array | |
| 2.1..N | operation | The number of operations this message holds. A type that itself is made up of multiple other types. |
CompositeType | |
| 2.1.1 | optype | The operation type. Operation type in 32 bits |
OpType (Int32) | unsigned: true endian: LE |
| 2.1.2 | operation | Possible subtypes: Transaction op (raw), ChangeKey op (raw), ListAccountForSale op (raw), DeList op (raw), BuyAccount op (raw), ChangeKeySigned op (raw), ChangeAccountInfo op (raw), MultiOperation op (raw), Data op (raw) A type that itself has many sub types but only some are triggere based on a marker. A type that itself is made up of multiple other types. |
CompositeType |