mirror of
https://github.com/eosswedenorg/thalos-docs
synced 2026-06-19 05:00:03 +02:00
docs/api/messages.md: stylefix and link datatypes to other datatypes
This commit is contained in:
parent
18a1b3ed89
commit
a642e49df4
1 changed files with 41 additions and 41 deletions
|
|
@ -14,75 +14,75 @@ Heartbeat messages are posted to the heartbeat channel periodically.
|
||||||
|
|
||||||
| Field | Datatype | Description |
|
| Field | Datatype | Description |
|
||||||
| -------------------------- | -------- | ------------------------------------------- |
|
| -------------------------- | -------- | ------------------------------------------- |
|
||||||
| blocknum | int | Current block number |
|
| blocknum | `int` | Current block number |
|
||||||
| head_blocknum | int | Head block number |
|
| head_blocknum | `int` | Head block number |
|
||||||
| last_irreversible_blocknum | int | block number of the last irreversible block |
|
| last_irreversible_blocknum | `int` | block number of the last irreversible block |
|
||||||
|
|
||||||
### Transaction
|
### Transaction
|
||||||
|
|
||||||
|
|
||||||
### ActionTrace
|
### ActionTrace
|
||||||
|
|
||||||
| Field | Datatype | Description |
|
| Field | Datatype | Description |
|
||||||
| -------------- | ----------------- | ----------------------------------------------------------------- |
|
| -------------- | --------------------------------------- | ----------------------------------------------------------------- |
|
||||||
| tx_id | string | Transaction ID |
|
| tx_id | `string` | Transaction ID |
|
||||||
| blocknum | int | Block number where this action trace (and transaction) belongs to |
|
| blocknum | `int` | Block number where this action trace (and transaction) belongs to |
|
||||||
| blocktimestamp | time | Block timestamp |
|
| blocktimestamp | `time` | Block timestamp |
|
||||||
| receipt | ActionReceipt | Action receipt |
|
| receipt | [`ActionReceipt`](#actionreceipt) | Action receipt |
|
||||||
| receiver | string | Receiver account |
|
| receiver | `string` | Receiver account |
|
||||||
| first_receiver | bool | True if receiver is the first account to get notified |
|
| first_receiver | `bool` | True if receiver is the first account to get notified |
|
||||||
| contract | string | Contract account |
|
| contract | `string` | Contract account |
|
||||||
| action | string | What action was executed on the contract |
|
| action | `string` | What action was executed on the contract |
|
||||||
| data | any | Contract specific data (decoded using the contracts abi) |
|
| data | `any` | Contract specific data (decoded using the contracts abi) |
|
||||||
| authorization | PermissionLevel[] | Authorization |
|
| authorization | [`PermissionLevel[]`](#permissionlevel) | Authorization |
|
||||||
|
|
||||||
### ActionReceipt
|
### ActionReceipt
|
||||||
|
|
||||||
| Field | Datatype | Description |
|
| Field | Datatype | Description |
|
||||||
| --------------- | --------------------- | ------------------ |
|
| --------------- | ----------------------------------------------- | ------------------ |
|
||||||
| receiver | string | Actor account name |
|
| receiver | `string` | Actor account name |
|
||||||
| act_digest | string | Action digest |
|
| act_digest | `string` | Action digest |
|
||||||
| global_sequence | int | Global sequence |
|
| global_sequence | `int` | Global sequence |
|
||||||
| recv_sequence | int | Receive sequence |
|
| recv_sequence | `int` | Receive sequence |
|
||||||
| auth_sequence | AccountAuthSequence[] | Auth sequence |
|
| auth_sequence | [`AccountAuthSequence[]`](#accountauthsequence) | Auth sequence |
|
||||||
| code_sequence | int | Code sequence |
|
| code_sequence | `int` | Code sequence |
|
||||||
| abi_sequence | int | ABI sequence |
|
| abi_sequence | `int` | ABI sequence |
|
||||||
|
|
||||||
### PermissionLevel
|
### PermissionLevel
|
||||||
|
|
||||||
| Field | Datatype | Description |
|
| Field | Datatype | Description |
|
||||||
| ---------- | -------- | -------------------------------- |
|
| ---------- | -------- | -------------------------------- |
|
||||||
| actor | string | Actor account name |
|
| actor | `string` | Actor account name |
|
||||||
| permission | string | Permission (for example: active) |
|
| permission | `string` | Permission (for example: active) |
|
||||||
|
|
||||||
### AccountAuthSequence
|
### AccountAuthSequence
|
||||||
|
|
||||||
| Field | Datatype | Description |
|
| Field | Datatype | Description |
|
||||||
| -------- | -------- | ------------ |
|
| -------- | -------- | ------------ |
|
||||||
| account | string | Account name |
|
| account | `string` | Account name |
|
||||||
| sequence | int | Sequence |
|
| sequence | `int` | Sequence |
|
||||||
|
|
||||||
### RollbackMessage
|
### RollbackMessage
|
||||||
|
|
||||||
| Field | Datatype | Description |
|
| Field | Datatype | Description |
|
||||||
| --------- | -------- | ------------------------------------ |
|
| --------- | -------- | ------------------------------------ |
|
||||||
| new_block | int | The current block number |
|
| new_block | `int` | The current block number |
|
||||||
| old_block | int | Last block number that was received. |
|
| old_block | `int` | Last block number that was received. |
|
||||||
|
|
||||||
### TableDelta
|
### TableDelta
|
||||||
|
|
||||||
| Field | Datatype | Description |
|
| Field | Datatype | Description |
|
||||||
| -------------- | --------------- | ----------------- |
|
| -------------- | ----------------------------------- | ----------------- |
|
||||||
| blocknum | int | Block number |
|
| blocknum | `int` | Block number |
|
||||||
| blocktimestamp | time | Block timestamp |
|
| blocktimestamp | `time` | Block timestamp |
|
||||||
| name | string | Table name |
|
| name | `string` | Table name |
|
||||||
| rows | TableDeltaRow[] | Rows in the delta |
|
| rows | [`TableDeltaRow[]`](#tabledeltarow) | Rows in the delta |
|
||||||
|
|
||||||
|
|
||||||
### TableDeltaRow
|
### TableDeltaRow
|
||||||
|
|
||||||
| Field | Datatype | Description |
|
| Field | Datatype | Description |
|
||||||
| -------- | ------------- | --------------------------------- |
|
| -------- | --------------- | --------------------------------- |
|
||||||
| present | bool | - |
|
| present | `bool` | - |
|
||||||
| data | any | Decoded data |
|
| data | `any` | Decoded data |
|
||||||
| raw_data | base64_string | Raw data in base64 encoded string |
|
| raw_data | `base64_string` | Raw data in base64 encoded string |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue