Documentation ¶
Index ¶
- type AccountID
- func (c *AccountID) Format(chainID *ChainID, address string) (*AccountID, error)
- func (c *AccountID) MarshalJSON() ([]byte, error)
- func (c *AccountID) Parse(s string) (*AccountID, error)
- func (c *AccountID) Scan(src interface{}) error
- func (c *AccountID) String() string
- func (c *AccountID) UnmarshalJSON(data []byte) error
- func (c *AccountID) Value() (driver.Value, error)
- type ChainID
- func (c *ChainID) Format(namespace, reference string) (*ChainID, error)
- func (c *ChainID) MarshalJSON() ([]byte, error)
- func (c *ChainID) Parse(s string) (*ChainID, error)
- func (c *ChainID) Scan(src interface{}) error
- func (c *ChainID) String() string
- func (c *ChainID) UnmarshalJSON(data []byte) error
- func (c *ChainID) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountID ¶
type AccountID struct { ChainID *ChainID `json:"chain_id"` Address string `json:"account_address"` }
func (*AccountID) MarshalJSON ¶
func (*AccountID) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.