types

package
v0.1.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Token

type Token struct {
	Type string    `json:"type"`
	Data TokenData `json:"data"`
}

type TokenData

type TokenData struct {
	TokenID      string `json:"token_id"`
	ID           string `json:"id"`
	TokenAddress string `json:"token_address"`
	Decimals     int    `json:"decimals"`
	Quantity     string `json:"quantity"`
	Symbol       string `json:"symbol"`
}

type Transfer

type Transfer struct {
	TransactionID int    `json:"transaction_id"`
	Status        string `json:"status"`
	User          string `json:"user"`
	Receiver      string `json:"receiver"`
	Token         Token  `json:"token"`
	Timestamp     string `json:"timestamp"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL