Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Arweave ¶
func (*Arweave) TransactionByID ¶
TransactionByID returns a transaction by its ID already decoded.
func (*Arweave) TransactionConnectionByTags ¶
func (a *Arweave) TransactionConnectionByTags(ctx context.Context, tags TagFilters) (*TransactionConnectionResponse, error)
type Data ¶
type Data struct {
Transactions *TransactionConnection `json:"transactions"`
}
type GraphQLRequest ¶
type GraphQLRequest struct {
Query string `json:"query"`
}
type GraphqlError ¶
type GraphqlError struct {
Errors []*MessageError `json:"errors"`
}
func (*GraphqlError) Error ¶
func (g *GraphqlError) Error() string
type MessageError ¶
type MessageError struct {
Message *string `json:"message"`
}
func (*MessageError) Error ¶
func (e *MessageError) Error() string
type TagFilter ¶
func (*TagFilter) GraphqlInput ¶
type TagFilters ¶
type TagFilters []TagFilter
func (TagFilters) GraphqlInput ¶
func (tags TagFilters) GraphqlInput() string
type Transaction ¶
type TransactionConnection ¶
type TransactionConnection struct { PageInfo *PageInfo `json:"pageInfo"` Edges []*TransactionEdge `json:"edges"` }
type TransactionConnectionResponse ¶
type TransactionConnectionResponse struct { Data *Data `json:"data"` Err *GraphqlError `json:"error"` }
type TransactionEdge ¶
type TransactionEdge struct { Cursor *string `json:"cursor"` Node *Transaction `json:"node"` }
Click to show internal directories.
Click to hide internal directories.