Documentation ¶
Overview ¶
This package contains a client for the GraphQL reader API for testing purposes.
Index ¶
- Constants
- type CompletionStatus
- type InputStatusInput
- type InputStatusResponse
- type StateInputsInputConnection
- type StateInputsInputConnectionEdgesInputEdge
- type StateInputsInputConnectionEdgesInputEdgeNodeInput
- func (v *StateInputsInputConnectionEdgesInputEdgeNodeInput) GetBlockNumber() string
- func (v *StateInputsInputConnectionEdgesInputEdgeNodeInput) GetIndex() int
- func (v *StateInputsInputConnectionEdgesInputEdgeNodeInput) GetMsgSender() string
- func (v *StateInputsInputConnectionEdgesInputEdgeNodeInput) GetNotices() StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnection
- func (v *StateInputsInputConnectionEdgesInputEdgeNodeInput) GetPayload() string
- func (v *StateInputsInputConnectionEdgesInputEdgeNodeInput) GetReports() StateInputsInputConnectionEdgesInputEdgeNodeInputReportsReportConnection
- func (v *StateInputsInputConnectionEdgesInputEdgeNodeInput) GetStatus() CompletionStatus
- func (v *StateInputsInputConnectionEdgesInputEdgeNodeInput) GetTimestamp() string
- func (v *StateInputsInputConnectionEdgesInputEdgeNodeInput) GetVouchers() StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnection
- type StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnection
- type StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdge
- type StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdgeNodeNotice
- func (v *StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdgeNodeNotice) GetIndex() int
- func (v *StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdgeNodeNotice) GetPayload() string
- func (v *StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdgeNodeNotice) GetProof() ...
- type StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdgeNodeNoticeProof
- type StateInputsInputConnectionEdgesInputEdgeNodeInputReportsReportConnection
- type StateInputsInputConnectionEdgesInputEdgeNodeInputReportsReportConnectionEdgesReportEdge
- type StateInputsInputConnectionEdgesInputEdgeNodeInputReportsReportConnectionEdgesReportEdgeNodeReport
- type StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnection
- type StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdge
- type StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdgeNodeVoucher
- func (v *StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdgeNodeVoucher) GetDestination() string
- func (v *StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdgeNodeVoucher) GetIndex() int
- func (v *StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdgeNodeVoucher) GetPayload() string
- func (v *StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdgeNodeVoucher) GetProof() ...
- type StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdgeNodeVoucherProof
- type StateResponse
Constants ¶
const InputStatus_Operation = `
query InputStatus ($id: String!) {
input(id: $id) {
status
}
}
`
The query or mutation executed by InputStatus.
const State_Operation = `` /* 569-byte string literal not displayed */
The query or mutation executed by State.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompletionStatus ¶
type CompletionStatus string
const ( CompletionStatusUnprocessed CompletionStatus = "UNPROCESSED" CompletionStatusAccepted CompletionStatus = "ACCEPTED" CompletionStatusRejected CompletionStatus = "REJECTED" CompletionStatusException CompletionStatus = "EXCEPTION" CompletionStatusMachineHalted CompletionStatus = "MACHINE_HALTED" CompletionStatusCycleLimitExceeded CompletionStatus = "CYCLE_LIMIT_EXCEEDED" CompletionStatusTimeLimitExceeded CompletionStatus = "TIME_LIMIT_EXCEEDED" CompletionStatusPayloadLengthLimitExceeded CompletionStatus = "PAYLOAD_LENGTH_LIMIT_EXCEEDED" )
type InputStatusInput ¶
type InputStatusInput struct { // Status of the input Status CompletionStatus `json:"status"` }
InputStatusInput includes the requested fields of the GraphQL type Input. The GraphQL type's documentation follows.
Request submitted to the application to advance its state
func (*InputStatusInput) GetStatus ¶
func (v *InputStatusInput) GetStatus() CompletionStatus
GetStatus returns InputStatusInput.Status, and is useful for accessing the field via an interface.
type InputStatusResponse ¶
type InputStatusResponse struct { // Get input based on its identifier Input InputStatusInput `json:"input"` }
InputStatusResponse is returned by InputStatus on success.
func InputStatus ¶
func InputStatus( ctx context.Context, client graphql.Client, id string, ) (*InputStatusResponse, error)
Get the input status.
func (*InputStatusResponse) GetInput ¶
func (v *InputStatusResponse) GetInput() InputStatusInput
GetInput returns InputStatusResponse.Input, and is useful for accessing the field via an interface.
type StateInputsInputConnection ¶
type StateInputsInputConnection struct { // Pagination entries returned for the current page Edges []StateInputsInputConnectionEdgesInputEdge `json:"edges"` }
StateInputsInputConnection includes the requested fields of the GraphQL type InputConnection. The GraphQL type's documentation follows.
Pagination result
func (*StateInputsInputConnection) GetEdges ¶
func (v *StateInputsInputConnection) GetEdges() []StateInputsInputConnectionEdgesInputEdge
GetEdges returns StateInputsInputConnection.Edges, and is useful for accessing the field via an interface.
type StateInputsInputConnectionEdgesInputEdge ¶
type StateInputsInputConnectionEdgesInputEdge struct { // Node instance Node StateInputsInputConnectionEdgesInputEdgeNodeInput `json:"node"` }
StateInputsInputConnectionEdgesInputEdge includes the requested fields of the GraphQL type InputEdge. The GraphQL type's documentation follows.
Pagination entry
func (*StateInputsInputConnectionEdgesInputEdge) GetNode ¶
func (v *StateInputsInputConnectionEdgesInputEdge) GetNode() StateInputsInputConnectionEdgesInputEdgeNodeInput
GetNode returns StateInputsInputConnectionEdgesInputEdge.Node, and is useful for accessing the field via an interface.
type StateInputsInputConnectionEdgesInputEdgeNodeInput ¶
type StateInputsInputConnectionEdgesInputEdgeNodeInput struct { // Input index starting from genesis Index int `json:"index"` // Status of the input Status CompletionStatus `json:"status"` // Address responsible for submitting the input MsgSender string `json:"msgSender"` // Timestamp associated with the input submission, as defined by the base layer's block in which it was recorded Timestamp string `json:"timestamp"` // Number of the base layer block in which the input was recorded BlockNumber string `json:"blockNumber"` // Input payload in Ethereum hex binary format, starting with '0x' Payload string `json:"payload"` // Get notices from this particular input with support for pagination Notices StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnection `json:"notices"` // Get vouchers from this particular input with support for pagination Vouchers StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnection `json:"vouchers"` // Get reports from this particular input with support for pagination Reports StateInputsInputConnectionEdgesInputEdgeNodeInputReportsReportConnection `json:"reports"` }
StateInputsInputConnectionEdgesInputEdgeNodeInput includes the requested fields of the GraphQL type Input. The GraphQL type's documentation follows.
Request submitted to the application to advance its state
func (*StateInputsInputConnectionEdgesInputEdgeNodeInput) GetBlockNumber ¶
func (v *StateInputsInputConnectionEdgesInputEdgeNodeInput) GetBlockNumber() string
GetBlockNumber returns StateInputsInputConnectionEdgesInputEdgeNodeInput.BlockNumber, and is useful for accessing the field via an interface.
func (*StateInputsInputConnectionEdgesInputEdgeNodeInput) GetIndex ¶
func (v *StateInputsInputConnectionEdgesInputEdgeNodeInput) GetIndex() int
GetIndex returns StateInputsInputConnectionEdgesInputEdgeNodeInput.Index, and is useful for accessing the field via an interface.
func (*StateInputsInputConnectionEdgesInputEdgeNodeInput) GetMsgSender ¶
func (v *StateInputsInputConnectionEdgesInputEdgeNodeInput) GetMsgSender() string
GetMsgSender returns StateInputsInputConnectionEdgesInputEdgeNodeInput.MsgSender, and is useful for accessing the field via an interface.
func (*StateInputsInputConnectionEdgesInputEdgeNodeInput) GetNotices ¶
func (v *StateInputsInputConnectionEdgesInputEdgeNodeInput) GetNotices() StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnection
GetNotices returns StateInputsInputConnectionEdgesInputEdgeNodeInput.Notices, and is useful for accessing the field via an interface.
func (*StateInputsInputConnectionEdgesInputEdgeNodeInput) GetPayload ¶
func (v *StateInputsInputConnectionEdgesInputEdgeNodeInput) GetPayload() string
GetPayload returns StateInputsInputConnectionEdgesInputEdgeNodeInput.Payload, and is useful for accessing the field via an interface.
func (*StateInputsInputConnectionEdgesInputEdgeNodeInput) GetReports ¶
func (v *StateInputsInputConnectionEdgesInputEdgeNodeInput) GetReports() StateInputsInputConnectionEdgesInputEdgeNodeInputReportsReportConnection
GetReports returns StateInputsInputConnectionEdgesInputEdgeNodeInput.Reports, and is useful for accessing the field via an interface.
func (*StateInputsInputConnectionEdgesInputEdgeNodeInput) GetStatus ¶
func (v *StateInputsInputConnectionEdgesInputEdgeNodeInput) GetStatus() CompletionStatus
GetStatus returns StateInputsInputConnectionEdgesInputEdgeNodeInput.Status, and is useful for accessing the field via an interface.
func (*StateInputsInputConnectionEdgesInputEdgeNodeInput) GetTimestamp ¶
func (v *StateInputsInputConnectionEdgesInputEdgeNodeInput) GetTimestamp() string
GetTimestamp returns StateInputsInputConnectionEdgesInputEdgeNodeInput.Timestamp, and is useful for accessing the field via an interface.
func (*StateInputsInputConnectionEdgesInputEdgeNodeInput) GetVouchers ¶
func (v *StateInputsInputConnectionEdgesInputEdgeNodeInput) GetVouchers() StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnection
GetVouchers returns StateInputsInputConnectionEdgesInputEdgeNodeInput.Vouchers, and is useful for accessing the field via an interface.
type StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnection ¶
type StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnection struct { // Pagination entries returned for the current page Edges []StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdge `json:"edges"` }
StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnection includes the requested fields of the GraphQL type NoticeConnection. The GraphQL type's documentation follows.
Pagination result
func (*StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnection) GetEdges ¶
func (v *StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnection) GetEdges() []StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdge
GetEdges returns StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnection.Edges, and is useful for accessing the field via an interface.
type StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdge ¶
type StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdge struct { // Node instance Node StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdgeNodeNotice `json:"node"` }
StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdge includes the requested fields of the GraphQL type NoticeEdge. The GraphQL type's documentation follows.
Pagination entry
func (*StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdge) GetNode ¶
func (v *StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdge) GetNode() StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdgeNodeNotice
GetNode returns StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdge.Node, and is useful for accessing the field via an interface.
type StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdgeNodeNotice ¶
type StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdgeNodeNotice struct { // Notice index within the context of the input that produced it Index int `json:"index"` // Notice data as a payload in Ethereum hex binary format, starting with '0x' Payload string `json:"payload"` // Proof object that allows this notice to be validated by the base layer blockchain Proof StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdgeNodeNoticeProof `json:"proof"` }
StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdgeNodeNotice includes the requested fields of the GraphQL type Notice. The GraphQL type's documentation follows.
Informational statement that can be validated in the base layer blockchain
func (*StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdgeNodeNotice) GetIndex ¶
func (v *StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdgeNodeNotice) GetIndex() int
GetIndex returns StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdgeNodeNotice.Index, and is useful for accessing the field via an interface.
func (*StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdgeNodeNotice) GetPayload ¶
func (v *StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdgeNodeNotice) GetPayload() string
GetPayload returns StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdgeNodeNotice.Payload, and is useful for accessing the field via an interface.
func (*StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdgeNodeNotice) GetProof ¶
func (v *StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdgeNodeNotice) GetProof() StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdgeNodeNoticeProof
GetProof returns StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdgeNodeNotice.Proof, and is useful for accessing the field via an interface.
type StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdgeNodeNoticeProof ¶
type StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdgeNodeNoticeProof struct { OutputIndex string `json:"outputIndex"` OutputHashesSiblings []string `json:"outputHashesSiblings"` }
StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdgeNodeNoticeProof includes the requested fields of the GraphQL type Proof. The GraphQL type's documentation follows.
Data that can be used as proof to validate notices and execute vouchers on the base layer blockchain
func (*StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdgeNodeNoticeProof) GetOutputHashesSiblings ¶
func (v *StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdgeNodeNoticeProof) GetOutputHashesSiblings() []string
GetOutputHashesSiblings returns StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdgeNodeNoticeProof.OutputHashesSiblings, and is useful for accessing the field via an interface.
func (*StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdgeNodeNoticeProof) GetOutputIndex ¶
func (v *StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdgeNodeNoticeProof) GetOutputIndex() string
GetOutputIndex returns StateInputsInputConnectionEdgesInputEdgeNodeInputNoticesNoticeConnectionEdgesNoticeEdgeNodeNoticeProof.OutputIndex, and is useful for accessing the field via an interface.
type StateInputsInputConnectionEdgesInputEdgeNodeInputReportsReportConnection ¶
type StateInputsInputConnectionEdgesInputEdgeNodeInputReportsReportConnection struct { // Pagination entries returned for the current page Edges []StateInputsInputConnectionEdgesInputEdgeNodeInputReportsReportConnectionEdgesReportEdge `json:"edges"` }
StateInputsInputConnectionEdgesInputEdgeNodeInputReportsReportConnection includes the requested fields of the GraphQL type ReportConnection. The GraphQL type's documentation follows.
Pagination result
func (*StateInputsInputConnectionEdgesInputEdgeNodeInputReportsReportConnection) GetEdges ¶
func (v *StateInputsInputConnectionEdgesInputEdgeNodeInputReportsReportConnection) GetEdges() []StateInputsInputConnectionEdgesInputEdgeNodeInputReportsReportConnectionEdgesReportEdge
GetEdges returns StateInputsInputConnectionEdgesInputEdgeNodeInputReportsReportConnection.Edges, and is useful for accessing the field via an interface.
type StateInputsInputConnectionEdgesInputEdgeNodeInputReportsReportConnectionEdgesReportEdge ¶
type StateInputsInputConnectionEdgesInputEdgeNodeInputReportsReportConnectionEdgesReportEdge struct { // Node instance Node StateInputsInputConnectionEdgesInputEdgeNodeInputReportsReportConnectionEdgesReportEdgeNodeReport `json:"node"` }
StateInputsInputConnectionEdgesInputEdgeNodeInputReportsReportConnectionEdgesReportEdge includes the requested fields of the GraphQL type ReportEdge. The GraphQL type's documentation follows.
Pagination entry
func (*StateInputsInputConnectionEdgesInputEdgeNodeInputReportsReportConnectionEdgesReportEdge) GetNode ¶
func (v *StateInputsInputConnectionEdgesInputEdgeNodeInputReportsReportConnectionEdgesReportEdge) GetNode() StateInputsInputConnectionEdgesInputEdgeNodeInputReportsReportConnectionEdgesReportEdgeNodeReport
GetNode returns StateInputsInputConnectionEdgesInputEdgeNodeInputReportsReportConnectionEdgesReportEdge.Node, and is useful for accessing the field via an interface.
type StateInputsInputConnectionEdgesInputEdgeNodeInputReportsReportConnectionEdgesReportEdgeNodeReport ¶
type StateInputsInputConnectionEdgesInputEdgeNodeInputReportsReportConnectionEdgesReportEdgeNodeReport struct { // Report index within the context of the input that produced it Index int `json:"index"` // Report data as a payload in Ethereum hex binary format, starting with '0x' Payload string `json:"payload"` }
StateInputsInputConnectionEdgesInputEdgeNodeInputReportsReportConnectionEdgesReportEdgeNodeReport includes the requested fields of the GraphQL type Report. The GraphQL type's documentation follows.
Application log or diagnostic information
func (*StateInputsInputConnectionEdgesInputEdgeNodeInputReportsReportConnectionEdgesReportEdgeNodeReport) GetIndex ¶
func (v *StateInputsInputConnectionEdgesInputEdgeNodeInputReportsReportConnectionEdgesReportEdgeNodeReport) GetIndex() int
GetIndex returns StateInputsInputConnectionEdgesInputEdgeNodeInputReportsReportConnectionEdgesReportEdgeNodeReport.Index, and is useful for accessing the field via an interface.
func (*StateInputsInputConnectionEdgesInputEdgeNodeInputReportsReportConnectionEdgesReportEdgeNodeReport) GetPayload ¶
func (v *StateInputsInputConnectionEdgesInputEdgeNodeInputReportsReportConnectionEdgesReportEdgeNodeReport) GetPayload() string
GetPayload returns StateInputsInputConnectionEdgesInputEdgeNodeInputReportsReportConnectionEdgesReportEdgeNodeReport.Payload, and is useful for accessing the field via an interface.
type StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnection ¶
type StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnection struct { // Pagination entries returned for the current page Edges []StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdge `json:"edges"` }
StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnection includes the requested fields of the GraphQL type VoucherConnection. The GraphQL type's documentation follows.
Pagination result
func (*StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnection) GetEdges ¶
func (v *StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnection) GetEdges() []StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdge
GetEdges returns StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnection.Edges, and is useful for accessing the field via an interface.
type StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdge ¶
type StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdge struct { // Node instance Node StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdgeNodeVoucher `json:"node"` }
StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdge includes the requested fields of the GraphQL type VoucherEdge. The GraphQL type's documentation follows.
Pagination entry
func (*StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdge) GetNode ¶
func (v *StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdge) GetNode() StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdgeNodeVoucher
GetNode returns StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdge.Node, and is useful for accessing the field via an interface.
type StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdgeNodeVoucher ¶
type StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdgeNodeVoucher struct { // Voucher index within the context of the input that produced it Index int `json:"index"` // Transaction payload in Ethereum hex binary format, starting with '0x' Payload string `json:"payload"` // Transaction destination address in Ethereum hex binary format (20 bytes), starting with '0x' Destination string `json:"destination"` // Proof object that allows this voucher to be validated and executed on the base layer blockchain Proof StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdgeNodeVoucherProof `json:"proof"` }
StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdgeNodeVoucher includes the requested fields of the GraphQL type Voucher. The GraphQL type's documentation follows.
Representation of a transaction that can be carried out on the base layer blockchain, such as a transfer of assets
func (*StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdgeNodeVoucher) GetDestination ¶
func (v *StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdgeNodeVoucher) GetDestination() string
GetDestination returns StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdgeNodeVoucher.Destination, and is useful for accessing the field via an interface.
func (*StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdgeNodeVoucher) GetIndex ¶
func (v *StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdgeNodeVoucher) GetIndex() int
GetIndex returns StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdgeNodeVoucher.Index, and is useful for accessing the field via an interface.
func (*StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdgeNodeVoucher) GetPayload ¶
func (v *StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdgeNodeVoucher) GetPayload() string
GetPayload returns StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdgeNodeVoucher.Payload, and is useful for accessing the field via an interface.
func (*StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdgeNodeVoucher) GetProof ¶
func (v *StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdgeNodeVoucher) GetProof() StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdgeNodeVoucherProof
GetProof returns StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdgeNodeVoucher.Proof, and is useful for accessing the field via an interface.
type StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdgeNodeVoucherProof ¶
type StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdgeNodeVoucherProof struct { OutputIndex string `json:"outputIndex"` OutputHashesSiblings []string `json:"outputHashesSiblings"` }
StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdgeNodeVoucherProof includes the requested fields of the GraphQL type Proof. The GraphQL type's documentation follows.
Data that can be used as proof to validate notices and execute vouchers on the base layer blockchain
func (*StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdgeNodeVoucherProof) GetOutputHashesSiblings ¶
func (v *StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdgeNodeVoucherProof) GetOutputHashesSiblings() []string
GetOutputHashesSiblings returns StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdgeNodeVoucherProof.OutputHashesSiblings, and is useful for accessing the field via an interface.
func (*StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdgeNodeVoucherProof) GetOutputIndex ¶
func (v *StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdgeNodeVoucherProof) GetOutputIndex() string
GetOutputIndex returns StateInputsInputConnectionEdgesInputEdgeNodeInputVouchersVoucherConnectionEdgesVoucherEdgeNodeVoucherProof.OutputIndex, and is useful for accessing the field via an interface.
type StateResponse ¶
type StateResponse struct { // Get inputs with support for pagination Inputs StateInputsInputConnection `json:"inputs"` }
StateResponse is returned by State on success.
func (*StateResponse) GetInputs ¶
func (v *StateResponse) GetInputs() StateInputsInputConnection
GetInputs returns StateResponse.Inputs, and is useful for accessing the field via an interface.