smartweave

package
v0.1.262 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2023 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

View Source
const (
	TagAppName         = "App-Name"
	TagAppVersion      = "App-Version"
	TagContractTxId    = "Contract"
	TagInput           = "Input"
	TagContentType     = "Content-Type"
	TagContractSrcTxId = "Contract-Src"
	TagSDK             = "SDK"
	TagMinFee          = "Min-Fee"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Amount

type Amount struct {
	Winston string `json:"winston"`
}

type Block

type Block struct {
	Height    int64                `json:"height"`
	Id        arweave.Base64String `json:"id"`
	Timestamp int64                `json:"timestamp"`
}

type Interaction

type Interaction struct {
	Id        string               `json:"id"`
	Owner     Owner                `json:"owner"`
	Recipient arweave.Base64String `json:"recipient"`
	Tags      []arweave.Tag        `json:"tags"`
	Block     Block                `json:"block"`
	Fee       Amount               `json:"fee"`
	Quantity  Amount               `json:"quantity"`
}

type Owner

type Owner struct {
	Address string `json:"address"`
}

Jump to

Keyboard shortcuts

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