Documentation ¶
Index ¶
- type BatchStruct
- type BlockStuct
- type ChainInfoStruct
- type DAResponceStruct
- type DAStruct
- type DAUploadStruct
- type GetTransactionStruct
- type Header
- type Instruction
- type JsonRpcResponse
- type LoadedAddresses
- type Message
- type Meta
- type ProofStruct
- type Result
- type SLProofStruct
- type SLVerificationKeyStruct
- type SettlementClientResponseStruct
- type SettlementLayerChainInfoStruct
- type Status
- type Transaction
- type TransactionInfo
- type TransactionStruck
- type TxnResponce
- type TxnResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchStruct ¶
type BatchStruct struct { From []string `json:"from"` To []string `json:"to"` Amounts []string `json:"amounts"` TransactionHash []string `json:"tx_hashes"` SenderBalances []string `json:"sender_balances"` ReceiverBalances []string `json:"receiver_balances"` Messages []string `json:"messages"` TransactionNonces []string `json:"tx_nonces"` AccountNonces []string `json:"account_nonces"` }
type BlockStuct ¶
type BlockStuct struct { Blockheight int `json:"blockHeight"` Blockhash string `json:"blockhash"` Parentslot int `json:"parentSlot"` Previousblockhash string `json:"previousBlockhash"` Timestamp int `json:"timestamp"` TransactionLength int `json:"transactionLength"` Transactions []string `json:"transactions"` }
type ChainInfoStruct ¶
type ChainInfoStruct struct { ChainInfo struct { ChainID string `json:"chainID"` // Chain ID of the chain which is taken from the user Key string `json:"key"` // Name of the account Moniker string `json:"moniker"` // Name of the chain } `json:"chainInfo"` DaInfo struct { DaSelected string `json:"daSelected"` DaWalletAddress string `json:"daWalletAddress"` DaWalletKeypair string `json:"daWalletKeypair"` } `json:"daInfo"` SequencerInfo struct { SequencerType string `json:"sequencerType"` } `json:"sequencerInfo"` }
type DAResponceStruct ¶
type DAUploadStruct ¶
type DAUploadStruct struct { Proof ProofStruct `json:"proof"` TxnHashes []string `json:"txnHashes"` CurrentStateHash string `json:"currentStateHash"` PreviousStateHash string `json:"previousStateHash"` MetaData struct { ChainID string `json:"chainID"` BatchNumber int `json:"batchNumber"` } `json:"metaData"` }
type GetTransactionStruct ¶
type Instruction ¶
type JsonRpcResponse ¶
type LoadedAddresses ¶
type LoadedAddresses struct { Readonly []interface{} `json:"readonly"` Writable []interface{} `json:"writable"` }
type Message ¶
type Message struct { AccountKeys []string `json:"accountKeys"` Header Header `json:"header"` Instructions []Instruction `json:"instructions"` RecentBlockhash string `json:"recentBlockhash"` }
type Meta ¶
type Meta struct { ComputeUnitsConsumed int `json:"computeUnitsConsumed"` Err interface{} `json:"err"` Fee int `json:"fee"` InnerInstructions []interface{} `json:"innerInstructions"` LoadedAddresses LoadedAddresses `json:"loadedAddresses"` LogMessages []string `json:"logMessages"` PostBalances []int `json:"postBalances"` PostTokenBalances []interface{} `json:"postTokenBalances"` PreBalances []int `json:"preBalances"` PreTokenBalances []interface{} `json:"preTokenBalances"` Rewards []interface{} `json:"rewards"` Status Status `json:"status"` }
type ProofStruct ¶
type ProofStruct struct { Ar struct { X string `json:"X"` Y string `json:"Y"` } `json:"Ar"` Krs struct { X string `json:"X"` Y string `json:"Y"` } `json:"Krs"` Bs struct { X struct { A0 string `json:"A0"` A1 string `json:"A1"` } `json:"X"` Y struct { A0 string `json:"A0"` A1 string `json:"A1"` } `json:"Y"` } `json:"Bs"` Commitments []interface{} `json:"Commitments"` CommitmentPok struct { X int `json:"X"` Y int `json:"Y"` } `json:"CommitmentPok"` }
type SLProofStruct ¶
type SLProofStruct struct { Ar struct { X string `json:"X"` Y string `json:"Y"` } `json:"Ar"` Krs struct { X string `json:"X"` Y string `json:"Y"` } `json:"Krs"` Bs struct { X struct { A0 string `json:"A0"` A1 string `json:"A1"` } `json:"X"` Y struct { A0 string `json:"A0"` A1 string `json:"A1"` } `json:"Y"` } `json:"Bs"` Commitments []any `json:"Commitments"` CommitmentPok struct { X int `json:"X"` Y int `json:"Y"` } `json:"CommitmentPok"` }
type SLVerificationKeyStruct ¶
type SLVerificationKeyStruct struct { G1 struct { Alpha struct { X string `json:"X"` Y string `json:"Y"` } `json:"Alpha"` Beta struct { X string `json:"X"` Y string `json:"Y"` } `json:"Beta"` Delta struct { X string `json:"X"` Y string `json:"Y"` } `json:"Delta"` K []struct { X string `json:"X"` Y string `json:"Y"` } `json:"K"` } `json:"G1"` G2 struct { Beta struct { X struct { A0 string `json:"A0"` A1 string `json:"A1"` } `json:"X"` Y struct { A0 string `json:"A0"` A1 string `json:"A1"` } `json:"Y"` } `json:"Beta"` Delta struct { X struct { A0 string `json:"A0"` A1 string `json:"A1"` } `json:"X"` Y struct { A0 string `json:"A0"` A1 string `json:"A1"` } `json:"Y"` } `json:"Delta"` Gamma struct { X struct { A0 string `json:"A0"` A1 string `json:"A1"` } `json:"X"` Y struct { A0 string `json:"A0"` A1 string `json:"A1"` } `json:"Y"` } `json:"Gamma"` } `json:"G2"` CommitmentKey struct { } `json:"CommitmentKey"` PublicAndCommitmentCommitted []any `json:"PublicAndCommitmentCommitted"` }
type Transaction ¶
type TransactionInfo ¶
type TransactionInfo struct { Meta Meta `json:"meta"` Transaction Transaction `json:"transaction"` Version string `json:"version"` }
type TransactionStruck ¶
type TxnResponce ¶
Click to show internal directories.
Click to hide internal directories.