Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountRAMDelta ¶
type AccountRAMDelta struct { Account eos.AccountName `json:"account"` Delta int64 `json:"delta"` }
AccountRAMDelta corresponds to an `account_delta` from `chain/trace.hpp`
type ActionReceipt ¶
type ActionReceipt struct { Receiver string `json:"receiver"` Digest string `json:"act_digest"` GlobalSequence eos.Uint64 `json:"global_sequence"` RecvSequence eos.Uint64 `json:"recv_sequence"` AuthSequence []json.RawMessage `json:"auth_sequence"` CodeSequence eos.Uint64 `json:"code_sequence"` ABISequence eos.Uint64 `json:"abi_sequence"` }
ActionReceipt corresponds to an `action_receipt` from `chain/action_receipt.hpp`
type ActionTrace ¶
type ActionTrace struct { ActionOrdinal uint32 `json:"action_ordinal"` CreatorActionOrdinal uint32 `json:"creator_action_ordinal"` ClosestUnnotifiedAncestorActionOrdinal uint32 `json:"closest_unnotified_ancestor_action_ordinal"` BaseActionTrace Receiver eos.AccountName `json:"receiver,omitempty"` InlineTraces []*ActionTrace `json:"inline_traces"` }
ActionTrace corresponds to an `action_trace` from `chain/trace.hpp`
type BaseActionTrace ¶
type BaseActionTrace struct { Receipt ActionReceipt `json:"receipt"` Action eos.Action `json:"act"` ContextFree bool `json:"context_free"` Elapsed int64 `json:"elapsed"` Console string `json:"console"` TransactionID string `json:"trx_id"` BlockNum uint32 `json:"block_num"` BlockTime eos.BlockTimestamp `json:"block_time"` ProducerBlockID *string `json:"producer_block_id,omitempty"` AccountRAMDeltas []*AccountRAMDelta `json:"account_ram_deltas"` Except json.RawMessage `json:"except"` }
BaseActionTrace corresponds to a `base_action_trace` from `chain/trace.hpp`
type CreationFlatNode ¶
type CreationFlatNode = [3]int
type CreationFlatTree ¶
type CreationFlatTree = []CreationFlatNode
type DBOp ¶
type DBOp struct { Op string `json:"op,omitempty"` ActionIndex int `json:"action_idx"` Account string `json:"account,omitempty"` Table string `json:"table,omitempty"` Scope string `json:"scope,omitempty"` Key string `json:"key,omitempty"` Old *DBRow `json:"old,omitempty"` New *DBRow `json:"new,omitempty"` }
type DTrxOp ¶
type DTrxOp struct { Operation string `json:"op"` ActionIndex int `json:"action_idx"` Sender string `json:"sender"` SenderID string `json:"sender_id"` Payer string `json:"payer"` PublishedAt string `json:"published_at"` DelayUntil string `json:"delay_until"` ExpirationAt string `json:"expiration_at"` TrxID string `json:"trx_id"` Trx json.RawMessage `json:"trx,omitempty"` }
func (*DTrxOp) IsCancelOperation ¶
func (*DTrxOp) IsCreateOperation ¶
func (*DTrxOp) SignedTransaction ¶
func (d *DTrxOp) SignedTransaction() (transaction *eos.SignedTransaction, err error)
type PermissionLevel ¶
type TransactionLifecycle ¶
type TransactionLifecycle struct { TransactionStatus string `json:"transaction_status"` ID string `json:"id"` Transaction *eos.SignedTransaction `json:"transaction"` ExecutionTrace *TransactionTrace `json:"execution_trace"` ExecutionBlockHeader *eos.BlockHeader `json:"execution_block_header"` DTrxOps []*DTrxOp `json:"dtrxops"` CreationTree CreationFlatTree `json:"creation_tree"` DBOps []*DBOp `json:"dbops"` RAMOps []*RAMOp `json:"ramops"` TableOps []*TableOp `json:"tableops"` PubKeys []*ecc.PublicKey `json:"pub_keys"` CreatedBy *ExtDTrxOp `json:"created_by"` CanceledBy *ExtDTrxOp `json:"canceled_by"` ExecutionIrreversible bool `json:"execution_irreversible"` DTrxCreationIrreversible bool `json:"dtrx_creation_irreversible"` DTrxCancelationIrreversible bool `json:"dtrx_cancelation_irreversible"` }
type TransactionTrace ¶
type TransactionTrace struct { ID string `json:"id,omitempty"` BlockNum uint32 `json:"block_num"` BlockTime eos.BlockTimestamp `json:"block_time"` ProducerBlockID string `json:"producer_block_id"` Receipt eos.TransactionReceiptHeader `json:"receipt"` Elapsed int64 `json:"elapsed"` NetUsage uint64 `json:"net_usage"` Scheduled bool `json:"scheduled"` ActionTraces []*ActionTrace `json:"action_traces"` FailedDTrxTrace *TransactionTrace `json:"failed_dtrx_trace"` Except json.RawMessage `json:"except"` }
TransactionTrace maps to a `transaction_trace` in `chain/trace.hpp`
Click to show internal directories.
Click to hide internal directories.