Coin
type Coin
type Coin struct {
// contains filtered or unexported fields
}
func CoinTryFromObject
func CoinTryFromObject(object *Object) (*Coin, error)
func LiftFromExternalCoin
func LiftFromExternalCoin(handle uint64) *Coin
func (*Coin) Balance
func (_self *Coin) Balance() uint64
func (*Coin) CoinType
func (_self *Coin) CoinType() *TypeTag
func (*Coin) DebugString
func (_self *Coin) DebugString() string
func (*Coin) Destroy
func (object *Coin) Destroy()
func (*Coin) Id
func (_self *Coin) Id() *ObjectId
func (*Coin) ToDisplayString
func (_self *Coin) ToDisplayString() string
Render this type as human-readable text.
Some types also print this through the binding's native string conversion; this method is the spelling every object type has.
The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.