Documentation
¶
Index ¶
- type ChainInfo
- type Options
- type TransactionTemplate
- type Web1337
- func (web1337 *Web1337) BuildPartialSignatureWithTxData(txType, hexID string, sharedPayload []string, nonce uint, fee string, ...) (string, error)
- func (web1337 *Web1337) CreateEd25519Transaction(txType, yourAddress, base64PrivateKey string, nonce uint, fee string, ...) (TransactionTemplate, error)
- func (web1337 *Web1337) CreateMultisigTransaction(txType, rootPubKey, aggregatedSignatureOfActive string, nonce uint, fee string, ...) TransactionTemplate
- func (sdk *Web1337) CreatePostQuantumTransaction(txType, pqcAlgorithm, yourAddress, yourPrivateKeyAsHex string, nonce uint, ...) (TransactionTemplate, error)
- func (sdk *Web1337) CreateThresholdTransaction(txType, tblsRootPubkey string, partialSignatures, idsOfSigners []string, ...) TransactionTemplate
- func (sdk *Web1337) GetAccountFromState(accountID string) ([]byte, error)
- func (sdk *Web1337) GetAggregatedEpochFinalizationProof(epochIndex uint) ([]byte, error)
- func (sdk *Web1337) GetAggregatedFinalizationProof(blockID string) ([]byte, error)
- func (sdk *Web1337) GetBlockByBlockID(blockID string) ([]byte, error)
- func (sdk *Web1337) GetBlockBySID(index uint) ([]byte, error)
- func (sdk *Web1337) GetChainInfo() ([]byte, error)
- func (sdk *Web1337) GetCheckpointByEpochIndex(epochIndex uint) ([]byte, error)
- func (sdk *Web1337) GetCurrentEpochOnThreads(threadID string) ([]byte, error)
- func (sdk *Web1337) GetCurrentLeader() ([]byte, error)
- func (sdk *Web1337) GetDataFromState(cellID string) ([]byte, error)
- func (sdk *Web1337) GetEpochByIndex(epochIndex uint) ([]byte, error)
- func (sdk *Web1337) GetHistoricalStatsPerEpoch(startIndex uint, limit uint) ([]byte, error)
- func (sdk *Web1337) GetInfrastructureInfo() ([]byte, error)
- func (sdk *Web1337) GetKlyEVMMetadata() ([]byte, error)
- func (sdk *Web1337) GetLatestNBlocks(startIndex uint, limit uint) ([]byte, error)
- func (sdk *Web1337) GetPoolStats(poolID string) ([]byte, error)
- func (sdk *Web1337) GetQuorumUrlsAndPubkeys() ([]byte, error)
- func (sdk *Web1337) GetSynchronizationStats() ([]byte, error)
- func (sdk *Web1337) GetTransactionReceipt(txID string) ([]byte, error)
- func (web1337 *Web1337) GetTransactionTemplate(workflowVersion uint, creator, txType, sigType string, nonce uint, fee string, ...) TransactionTemplate
- func (sdk *Web1337) GetTransactionsWithAccount(accountID string) ([]byte, error)
- func (sdk *Web1337) GetVerificationThreadStats() ([]byte, error)
- func (sdk *Web1337) GetVerificationThreadStatsPerEpoch(epochIndex uint) ([]byte, error)
- func (web1337 *Web1337) SignDataForMultisigTransaction(txType, blsPrivateKey string, nonce uint, fee string, ...) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TransactionTemplate ¶
type TransactionTemplate struct { V uint `json:"v"` Creator string `json:"creator"` Type string `json:"type"` Nonce uint `json:"nonce"` Fee string `json:"fee"` Payload map[string]interface{} `json:"payload"` // might be various - depends on transaction type SigType string `json:"sigType"` Sig string `json:"sig"` }
type Web1337 ¶
type Web1337 struct { Chains map[string]ChainInfo CurrentChain string Proxy http.RoundTripper }
func NewWeb1337 ¶
func (*Web1337) BuildPartialSignatureWithTxData ¶
func (*Web1337) CreateEd25519Transaction ¶
func (*Web1337) CreateMultisigTransaction ¶
func (*Web1337) CreatePostQuantumTransaction ¶
func (*Web1337) CreateThresholdTransaction ¶
func (*Web1337) GetAccountFromState ¶
func (*Web1337) GetAggregatedEpochFinalizationProof ¶
func (*Web1337) GetAggregatedFinalizationProof ¶
Consensus related
func (*Web1337) GetBlockByBlockID ¶
Blocks
func (*Web1337) GetChainInfo ¶
func (*Web1337) GetCheckpointByEpochIndex ¶
func (*Web1337) GetCurrentEpochOnThreads ¶
Epochs
func (*Web1337) GetCurrentLeader ¶
func (*Web1337) GetDataFromState ¶
State
func (*Web1337) GetEpochByIndex ¶
func (*Web1337) GetHistoricalStatsPerEpoch ¶
func (*Web1337) GetInfrastructureInfo ¶
Misc
func (*Web1337) GetKlyEVMMetadata ¶
func (*Web1337) GetLatestNBlocks ¶
func (*Web1337) GetQuorumUrlsAndPubkeys ¶
func (*Web1337) GetSynchronizationStats ¶
func (*Web1337) GetTransactionReceipt ¶
Transactions
func (*Web1337) GetTransactionTemplate ¶
func (*Web1337) GetTransactionsWithAccount ¶
func (*Web1337) GetVerificationThreadStats ¶
func (*Web1337) GetVerificationThreadStatsPerEpoch ¶
Click to show internal directories.
Click to hide internal directories.