Documentation
¶
Index ¶
Constants ¶
View Source
const ( MainnetAPI = "https://scan.layerzero-api.com/v1" TestnetAPI = "https://scan-testnet.layerzero-api.com/v1" )
Variables ¶
This section is empty.
Functions ¶
func EIDByChain ¶
Types ¶
type ErrorResponse ¶
type Message ¶
Message is the Message type returned by the LayerZero API. Most of the fields are omitted. Full docs here: https://scan.layerzero-api.com/v1/swagger
func (Message) IsConfirming ¶
func (Message) IsDelivered ¶
func (Message) IsInFlight ¶
func (Message) IsPayloadStored ¶
type MessageResponse ¶
type MessageResponse struct {
Data []Message `json:"data"`
}
type MsgStatus ¶
type MsgStatus string
const ( MsgStatusUnknown MsgStatus = "UNKNOWN" // Unknown status MsgStatusConfirming MsgStatus = "CONFIRMING" // System confirming the source tx MsgStatusInFlight MsgStatus = "INFLIGHT" // Inflight to destination MsgStatusDelivered MsgStatus = "DELIVERED" // Successfully delivered on the destination MsgStatusFailed MsgStatus = "FAILED" // Tx errored and did not complete MsgStatusPayloadStored MsgStatus = "PAYLOAD_STORED" // Ran out of gas, needs to be retried )
Click to show internal directories.
Click to hide internal directories.