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 TwoxHash(data []byte, bitLen int) []byte
- type Decoder
- func (d *Decoder) DecodeEvents(ctx context.Context, payload string) []dto.Event
- func (d *Decoder) DecodeExtrinsic(ctx context.Context, payload string) dto.Mapped
- func (d *Decoder) GetExtrinsicFromParams(ctx context.Context, params interface{}) (*dto.Extrinsic, error)
- func (d *Decoder) NewStorageRequest(module, method string, args ...interface{}) (*StorageRequest, error)
- type Params
- type StorageRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Blake2Hash ¶
func DecodeExtrinsicEra ¶
Types ¶
type Decoder ¶
type Decoder struct { ChainSpecName string // contains filtered or unexported fields }
func (*Decoder) DecodeEvents ¶
func (*Decoder) DecodeExtrinsic ¶
func (*Decoder) GetExtrinsicFromParams ¶
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.