smartweave

package
v0.2.33 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 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        arweave.Base64String `json:"id"`
	Owner     Owner                `json:"owner"`
	Recipient arweave.Base64String `json:"recipient"`
	Tags      []Tag                `json:"tags"`
	Block     Block                `json:"block"`
	Fee       Amount               `json:"fee"`
	Quantity  Amount               `json:"quantity"`
}

type Owner

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

type Tag added in v0.1.269

type Tag struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

Jump to

Keyboard shortcuts

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