Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VerifyRequest ¶
type VerifyRequest struct { common.BaseRequest Amount types.XRPCurrencyAmount `json:"amount"` ChannelID string `json:"channel_id"` PublicKey string `json:"public_key"` Signature string `json:"signature"` }
The channel_verify method checks the validity of a signature that can be used to redeem a specific amount of XRP from a payment channel.
func (*VerifyRequest) APIVersion ¶ added in v0.1.3
func (*VerifyRequest) APIVersion() int
func (*VerifyRequest) Method ¶
func (*VerifyRequest) Method() string
type VerifyResponse ¶
type VerifyResponse struct {
SignatureVerified bool `json:"signature_verified"`
}
The expected response from the channel_verify method.
Click to show internal directories.
Click to hide internal directories.