Documentation
¶
Index ¶
- func Blake2Hash(data []byte, bitLen int) []byte
- func DecodeExtrinsicEra(era string, current uint64) (uint64, uint64, uint64)
- func DoHash(data []byte, hasher string) []byte
- func ReadAllHexParams(ctx context.Context, params dto.Params) []string
- func TwoxHash(data []byte, bitLen int) []byte
- type Decoder
- type Params
- type StorageRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Blake2Hash ¶
func DecodeExtrinsicEra ¶
func ReadAllHexParams ¶ added in v0.1.0
Types ¶
type Decoder ¶
type Decoder struct {
ChainSpecName string
// contains filtered or unexported fields
}
func (*Decoder) DecodeEvents ¶
func (*Decoder) GetExtrinsicDataFrom ¶ added in v0.1.0
func (*Decoder) NewStorageRequest ¶
func (d *Decoder) NewStorageRequest(module, method string, args ...interface{}) (*StorageRequest, error)
Works only with Metadata V14
type StorageRequest ¶
func (*StorageRequest) DecodeResponse ¶
func (r *StorageRequest) DecodeResponse(payload string) dto.Params
Click to show internal directories.
Click to hide internal directories.