irys

package
v0.5.34 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GatewayMainnet = "https://gateway.irys.xyz"

	EndpointMainnet = "https://arweave.mainnet.irys.xyz/graphql"
	EndpointDevnet  = "https://arweave.devnet.irys.xyz/graphql"

	// DefaultLimit is the limit on the number of items when obtaining transactions, with a maximum value of 1000.
	DefaultLimit = 1000
)
View Source
const Transactions_Operation = `` /* 431-byte string literal not displayed */

The query or mutation executed by Transactions.

Variables

View Source
var DefaultGateways = []string{
	GatewayMainnet,
}

DefaultGateways is the list of default gateways.

Functions

This section is empty.

Types

type TransactionsResponse

type TransactionsResponse struct {
	Transactions TransactionsTransactionsTransactionConnection `json:"transactions"`
}

TransactionsResponse is returned by Transactions on success.

func Transactions

func Transactions(
	ctx_ context.Context,
	client_ graphql.Client,
	owners []string,
	after string,
	first int,
) (*TransactionsResponse, error)

func (*TransactionsResponse) GetTransactions

GetTransactions returns TransactionsResponse.Transactions, and is useful for accessing the field via an interface.

type TransactionsTransactionsTransactionConnection

type TransactionsTransactionsTransactionConnection struct {
	Edges    []TransactionsTransactionsTransactionConnectionEdgesTransactionEdge `json:"edges"`
	PageInfo TransactionsTransactionsTransactionConnectionPageInfo               `json:"pageInfo"`
}

TransactionsTransactionsTransactionConnection includes the requested fields of the GraphQL type TransactionConnection.

func (*TransactionsTransactionsTransactionConnection) GetEdges

GetEdges returns TransactionsTransactionsTransactionConnection.Edges, and is useful for accessing the field via an interface.

func (*TransactionsTransactionsTransactionConnection) GetPageInfo

GetPageInfo returns TransactionsTransactionsTransactionConnection.PageInfo, and is useful for accessing the field via an interface.

type TransactionsTransactionsTransactionConnectionEdgesTransactionEdge

type TransactionsTransactionsTransactionConnectionEdgesTransactionEdge struct {
	Cursor string                                                                           `json:"cursor"`
	Node   TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransaction `json:"node"`
}

TransactionsTransactionsTransactionConnectionEdgesTransactionEdge includes the requested fields of the GraphQL type TransactionEdge.

func (*TransactionsTransactionsTransactionConnectionEdgesTransactionEdge) GetCursor

GetCursor returns TransactionsTransactionsTransactionConnectionEdgesTransactionEdge.Cursor, and is useful for accessing the field via an interface.

func (*TransactionsTransactionsTransactionConnectionEdgesTransactionEdge) GetNode

GetNode returns TransactionsTransactionsTransactionConnectionEdgesTransactionEdge.Node, and is useful for accessing the field via an interface.

type TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransaction

type TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransaction struct {
	Id        string                                                                                    `json:"id"`
	Token     string                                                                                    `json:"token"`
	Address   string                                                                                    `json:"address"`
	Tags      []TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransactionTagsTag `json:"tags"`
	Signature string                                                                                    `json:"signature"`
	Timestamp *big.Int                                                                                  `json:"timestamp"`
	Receipt   TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransactionReceipt   `json:"receipt"`
	Size      string                                                                                    `json:"size"`
	Fee       string                                                                                    `json:"fee"`
}

TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransaction includes the requested fields of the GraphQL type Transaction.

func (*TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransaction) GetAddress

GetAddress returns TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransaction.Address, and is useful for accessing the field via an interface.

func (*TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransaction) GetFee

GetFee returns TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransaction.Fee, and is useful for accessing the field via an interface.

func (*TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransaction) GetId

GetId returns TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransaction.Id, and is useful for accessing the field via an interface.

func (*TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransaction) GetReceipt

GetReceipt returns TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransaction.Receipt, and is useful for accessing the field via an interface.

func (*TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransaction) GetSignature

GetSignature returns TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransaction.Signature, and is useful for accessing the field via an interface.

func (*TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransaction) GetSize

GetSize returns TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransaction.Size, and is useful for accessing the field via an interface.

func (*TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransaction) GetTags

GetTags returns TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransaction.Tags, and is useful for accessing the field via an interface.

func (*TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransaction) GetTimestamp

GetTimestamp returns TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransaction.Timestamp, and is useful for accessing the field via an interface.

func (*TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransaction) GetToken

GetToken returns TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransaction.Token, and is useful for accessing the field via an interface.

type TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransactionReceipt

type TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransactionReceipt struct {
	Version        string   `json:"version"`
	Signature      string   `json:"signature"`
	Timestamp      *big.Int `json:"timestamp"`
	DeadlineHeight *big.Int `json:"deadlineHeight"`
}

TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransactionReceipt includes the requested fields of the GraphQL type Receipt.

func (*TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransactionReceipt) GetDeadlineHeight

GetDeadlineHeight returns TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransactionReceipt.DeadlineHeight, and is useful for accessing the field via an interface.

func (*TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransactionReceipt) GetSignature

GetSignature returns TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransactionReceipt.Signature, and is useful for accessing the field via an interface.

func (*TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransactionReceipt) GetTimestamp

GetTimestamp returns TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransactionReceipt.Timestamp, and is useful for accessing the field via an interface.

func (*TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransactionReceipt) GetVersion

GetVersion returns TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransactionReceipt.Version, and is useful for accessing the field via an interface.

type TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransactionTagsTag

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

TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransactionTagsTag includes the requested fields of the GraphQL type Tag.

func (*TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransactionTagsTag) GetName

GetName returns TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransactionTagsTag.Name, and is useful for accessing the field via an interface.

func (*TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransactionTagsTag) GetValue

GetValue returns TransactionsTransactionsTransactionConnectionEdgesTransactionEdgeNodeTransactionTagsTag.Value, and is useful for accessing the field via an interface.

type TransactionsTransactionsTransactionConnectionPageInfo

type TransactionsTransactionsTransactionConnectionPageInfo struct {
	EndCursor   string `json:"endCursor"`
	HasNextPage bool   `json:"hasNextPage"`
}

TransactionsTransactionsTransactionConnectionPageInfo includes the requested fields of the GraphQL type PageInfo.

func (*TransactionsTransactionsTransactionConnectionPageInfo) GetEndCursor

GetEndCursor returns TransactionsTransactionsTransactionConnectionPageInfo.EndCursor, and is useful for accessing the field via an interface.

func (*TransactionsTransactionsTransactionConnectionPageInfo) GetHasNextPage

GetHasNextPage returns TransactionsTransactionsTransactionConnectionPageInfo.HasNextPage, and is useful for accessing the field via an interface.

Jump to

Keyboard shortcuts

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