package client import "encoding/json" type Envelope struct { OK bool `json:"ok"`; RequestID string `json:"request_id,omitempty"`; Result json.RawMessage `json:"result"` } type SendResult struct { TXID string `json:"txid"`; RequestedSat int64 `json:"requested_sat"`; RecipientSat int64 `json:"recipient_sat"`; ChangeSat int64 `json:"change_sat"`; Net string `json:"net"` }