Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddressListen ¶
Types ¶
type Profile ¶
type Profile struct { Lock struct { Address string } Address string Name struct { Tx Tx Name string } Profile struct { Tx Tx Text string } Pic struct { Tx Tx Pic string } Following []Follow `graphql:"following(start: $start)"` Followers []Follow `graphql:"followers(start: $start)"` Posts []Post `graphql:"posts()"` }
type Profiles ¶
type Profiles struct {
Profiles []Profile `graphql:"profiles(addresses: [$address])"`
}
type Subscription ¶
type Subscription struct {
Addresses Tx `graphql:"addresses(addresses: $addresses)"`
}
type Tx ¶
type Tx struct { Hash string Seen Date Raw string Inputs []struct { Index uint32 PrevHash string `graphql:"prev_hash"` PrevIndex uint32 `graphql:"prev_index"` Output struct { Lock struct { Address string } } } Outputs []struct { Script string Amount int64 Lock struct { Address string } } Blocks []struct { BlockHash string `graphql:"block_hash"` Block struct { Timestamp Date Height int } } }
type UpdateQuery ¶
type UpdateQuery struct { Address struct { Txs []Tx `graphql:"txs(start: $start)"` } `graphql:"address(address: $address)"` }
Click to show internal directories.
Click to hide internal directories.