Documentation ¶
Index ¶
- Constants
- func GROTH2Beam(groth uint64) float64
- type API
- func (api *API) CreateAddress(comment string, expiration Expiration) (addr string, err error)
- func (api *API) DeleteTransaction(txid string) error
- func (api *API) GetTransactions() (txs []Transaction, err error)
- func (api *API) OwnAddrList() (list AddrList, err error)
- func (api *API) SendBEAM(to string, from string, amount uint64, fee uint64) (txid string, err error)
- func (api *API) Status() (status Status, err error)
- type AddrList
- type Address
- type Expiration
- type JsonParams
- type Status
- type Transaction
- type TxStatus
Constants ¶
View Source
const (
DefaultFee uint64 = 100000
)
View Source
const (
GrothInBEAM uint64 = 100000000
)
Variables ¶
This section is empty.
Functions ¶
func GROTH2Beam ¶
Types ¶
type API ¶
type API struct {
Address string
}
func (*API) CreateAddress ¶
func (api *API) CreateAddress(comment string, expiration Expiration) (addr string, err error)
func (*API) DeleteTransaction ¶
func (*API) GetTransactions ¶
func (api *API) GetTransactions() (txs []Transaction, err error)
func (*API) OwnAddrList ¶
type Expiration ¶
type Expiration string
const ( ExpNever Expiration = "never" Exp24h Expiration = "24h" )
type JsonParams ¶
type JsonParams map[string]interface{}
type Transaction ¶
Click to show internal directories.
Click to hide internal directories.