Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IssueCash ¶
type IssueCash struct { // TokenType is the type of token to issue TokenType string // Quantity represent the number of units of a certain token type stored in the token Quantity uint64 // Recipient is an identifier of the recipient identity Recipient string // RecipientNode is the identifier of the node of the recipient RecipientNode string // Message is the message that will be visible to the recipient and the auditor Message string }
IssueCash contains the input information to issue a token
type IssueCashView ¶
type IssueCashView struct {
*IssueCash
}
type TokenService ¶
type TokenService struct {
FSC api.ServiceProvider
}
func (TokenService) Issue ¶
func (s TokenService) Issue(tokenType string, quantity uint64, recipient string, recipientNode string, message string) (txID string, err error)
Issue issues an amount of tokens to a wallet. It connects to the other node, prepares the transaction, gets it approved by the auditor and sends it to the blockchain for endorsement and commit.
Click to show internal directories.
Click to hide internal directories.