Documentation
¶
Index ¶
- func AssertEq[T comparable](v1 T, v2 T, message string)
- func AssertTrue(v bool, message string)
- func PanicOnError(err error)
- func Run()
- func RunAccount()
- func RunAccountBalance()
- func RunAccountCreation()
- func RunAccountNonce()
- func RunBatch()
- func RunBlock()
- func RunBlockDataSubmissionAll()
- func RunBlockDataSubmissionByAppId()
- func RunBlockDataSubmissionByHash()
- func RunBlockDataSubmissionByIndex()
- func RunBlockDataSubmissionBySigner()
- func RunBlockEvents()
- func RunBlockTransactionAll()
- func RunBlockTransactionByAppId()
- func RunBlockTransactionByHash()
- func RunBlockTransactionByIndex()
- func RunBlockTransactionBySigner()
- func RunDataSubmission()
- func RunIndexer()
- func RunProxy()
- func RunProxyFailure()
- func RunProxyNormal()
- func RunProxyPure()
- func RunRpc()
- func RunStorage()
- func RunTransaction()
- func RunTransactionCustom()
- func RunTransactionExecute()
- func RunTransactionExecuteAndWatchFinalization()
- func RunTransactionExecuteAndWatchInclusion()
- func RunTransactionOptions()
- func RunTransactionOptionsAppId()
- func RunTransactionOptionsMortality()
- func RunTransactionOptionsNonce()
- func RunTransactionOptionsTip()
- func RunTransactionPayment()
- func RunTransactionState()
- func RunValidator()
- func RunVector()
- type BlockSubscription
- type ComplexEnum
- type CustomTransaction
- type IndexedBlock
- type Indexer
- type SimpleEnum
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertEq ¶
func AssertEq[T comparable](v1 T, v2 T, message string)
v1 is Actual value, v2 is Expected value
func AssertTrue ¶
func PanicOnError ¶
func PanicOnError(err error)
func RunAccount ¶
func RunAccount()
func RunAccountBalance ¶
func RunAccountBalance()
func RunAccountCreation ¶
func RunAccountCreation()
func RunAccountNonce ¶
func RunAccountNonce()
func RunBlockDataSubmissionAll ¶
func RunBlockDataSubmissionAll()
func RunBlockDataSubmissionByAppId ¶
func RunBlockDataSubmissionByAppId()
func RunBlockDataSubmissionByHash ¶
func RunBlockDataSubmissionByHash()
func RunBlockDataSubmissionByIndex ¶
func RunBlockDataSubmissionByIndex()
func RunBlockDataSubmissionBySigner ¶
func RunBlockDataSubmissionBySigner()
func RunBlockEvents ¶
func RunBlockEvents()
func RunBlockTransactionAll ¶
func RunBlockTransactionAll()
func RunBlockTransactionByAppId ¶
func RunBlockTransactionByAppId()
func RunBlockTransactionByHash ¶
func RunBlockTransactionByHash()
func RunBlockTransactionByIndex ¶
func RunBlockTransactionByIndex()
func RunBlockTransactionBySigner ¶
func RunBlockTransactionBySigner()
func RunDataSubmission ¶
func RunDataSubmission()
func RunIndexer ¶ added in v0.2.6
func RunIndexer()
func RunProxyFailure ¶
func RunProxyFailure()
func RunProxyNormal ¶
func RunProxyNormal()
func RunProxyPure ¶
func RunProxyPure()
func RunStorage ¶
func RunStorage()
func RunTransaction ¶
func RunTransaction()
func RunTransactionCustom ¶
func RunTransactionCustom()
func RunTransactionExecute ¶
func RunTransactionExecute()
func RunTransactionExecuteAndWatchFinalization ¶
func RunTransactionExecuteAndWatchFinalization()
func RunTransactionExecuteAndWatchInclusion ¶
func RunTransactionExecuteAndWatchInclusion()
func RunTransactionOptions ¶
func RunTransactionOptions()
func RunTransactionOptionsAppId ¶
func RunTransactionOptionsAppId()
func RunTransactionOptionsMortality ¶
func RunTransactionOptionsMortality()
func RunTransactionOptionsNonce ¶
func RunTransactionOptionsNonce()
func RunTransactionOptionsTip ¶
func RunTransactionOptionsTip()
func RunTransactionPayment ¶
func RunTransactionPayment()
func RunTransactionState ¶ added in v0.2.4
func RunTransactionState()
func RunValidator ¶
func RunValidator()
Types ¶
type BlockSubscription ¶ added in v0.2.6
type BlockSubscription struct {
Height uint32
Shutdown bool
// contains filtered or unexported fields
}
func (*BlockSubscription) Fetch ¶ added in v0.2.6
func (this *BlockSubscription) Fetch() IndexedBlock
type ComplexEnum ¶
type ComplexEnum struct {
VariantIndex uint8
Day prim.Option[uint16]
Month prim.Option[uint8]
Year prim.Option[uint32]
}
ANCHOR: complexenum
func (*ComplexEnum) EncodeTo ¶
func (this *ComplexEnum) EncodeTo(dest *string)
func (ComplexEnum) ToString ¶
func (this ComplexEnum) ToString() string
type CustomTransaction ¶
type CustomTransaction struct {
Value []byte
}
func (CustomTransaction) CallIndex ¶
func (this CustomTransaction) CallIndex() uint8
func (CustomTransaction) CallName ¶
func (this CustomTransaction) CallName() string
func (CustomTransaction) PalletIndex ¶
func (this CustomTransaction) PalletIndex() uint8
func (CustomTransaction) PalletName ¶
func (this CustomTransaction) PalletName() string
type IndexedBlock ¶ added in v0.2.6
type IndexedBlock struct {
// contains filtered or unexported fields
}
type Indexer ¶ added in v0.2.6
type Indexer struct {
// contains filtered or unexported fields
}
func (*Indexer) Callback ¶ added in v0.2.6
func (this *Indexer) Callback(cb func(IndexedBlock)) *BlockSubscription
func (*Indexer) GetBlock ¶ added in v0.2.6
func (this *Indexer) GetBlock(blockNumber uint32) IndexedBlock
func (*Indexer) Subscribe ¶ added in v0.2.6
func (this *Indexer) Subscribe() BlockSubscription
type SimpleEnum ¶
type SimpleEnum struct {
VariantIndex uint8
}
ANCHOR: simpleenum
func (SimpleEnum) ToString ¶
func (this SimpleEnum) ToString() string
Source Files
¶
- account.go
- account_balance.go
- account_creation.go
- account_nonce.go
- batch.go
- block.go
- block_data_submission_all.go
- block_data_submission_by_app_id.go
- block_data_submission_by_hash.go
- block_data_submission_by_index.go
- block_data_submission_by_signer.go
- block_events.go
- block_transaction_all.go
- block_transaction_by_app_id.go
- block_transaction_by_hash.go
- block_transaction_by_index.go
- block_transaction_by_signer.go
- data_submission.go
- enum.go
- indexer.go
- mod.go
- proxy.go
- rpc.go
- storage.go
- transaction.go
- transaction_custom.go
- transaction_execute.go
- transaction_execute_and_watch_finalization.go
- transaction_execute_and_watch_inclusion.go
- transaction_options.go
- transaction_payment.go
- transaction_state.go
- validator.go
- vector.go
Click to show internal directories.
Click to hide internal directories.