Documentation
¶
Index ¶
Constants ¶
View Source
const OutputTypeWithdrawalClaim = 0xa9
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Output ¶
type Output struct {
Type uint8 `json:"type"`
Amount string `json:"amount"`
Withdrawal *WithdrawalData `json:"withdrawal"`
}
type RPCSnapshot ¶
type RPCSnapshot struct {
Hash string `json:"hash"`
Hex string `json:"hex"`
Transaction []RPCTransaction `json:"transactions"`
Topology uint64 `json:"topology"`
}
func RPCListSnapshots ¶
type RPCTransaction ¶
type RPCTransaction struct {
Asset string `json:"asset"`
Extra string `json:"extra"`
Hash string `json:"hash"`
Output []Output `json:"outputs"`
References []string `json:"references"`
}
func RPCGetTransaction ¶
func RPCGetTransaction(ctx context.Context, rpc, hash string) (*RPCTransaction, error)
type WithdrawalData ¶
Click to show internal directories.
Click to hide internal directories.