block_action

command
v1.17.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

README


plugin: block_action

Introduction

Model

type BlockAction struct {
	ID          uint64          `gorm:"primary_key;" sql:"type:bigint"`
	ActionHash  string          `gorm:"size:64;not null;index:,length:9"`
	ActionType  string          `gorm:"size:32;not null;index"`
	BlockHeight uint64          `gorm:"unsigned;index" sql:"type:bigint"`
	From        string          `gorm:"size:42;not null;default:'';index:,length:9"`
	To          string          `gorm:"size:42;not null;default:'';index:,length:9"`
	GasPrice    decimal.Decimal `gorm:"type:decimal(42,0);not null;default:0;"`
	GasLimit    uint64          `gorm:"type:int4;unsigned;not null;default:0"`
	Nonce       uint64          `gorm:"type:int8;unsigned;not null;default:0"`
	Amount      decimal.Decimal `gorm:"type:decimal(42,0);not null;default:0;"`
}

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL