-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmodel_issue_asset_request.go
30 lines (28 loc) · 1.66 KB
/
model_issue_asset_request.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
* QEDIT - Asset Transfers
*
* This SDK provides a programmatic way for interacting with QEDIT's _Asset Transfer_ API. The specification definition file is publicly available [in this repository](https://github.com/QED-it/asset_transfers_dev_guide/).
*
* API version: 1.7.2
* Contact: [email protected]
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package goqedit
type IssueAssetRequest struct {
// The ID of the Wallet that has the required Issuance privileges
WalletId string `json:"wallet_id"`
// The authorization password for the Wallet that has the Issuance privileges
Authorization string `json:"authorization"`
// The Address of the recipient of the issued Assets
RecipientAddress string `json:"recipient_address"`
// The ID of an Asset Type. It must be a string of length 0 to 40 characters. Allowed characters are lower- and uppercase letters, digits, dot (.), and hyphen (-). It must not end with an hyphen. Asset IDs are case-sensitive.
AssetId string `json:"asset_id"`
// the amount of Assets to issue
Amount int32 `json:"amount"`
// Boolean which should be true if the issuance should be confidential, and false of the Issuance should be public
Confidential bool `json:"confidential"`
// An app-customizable field to store additional private data relating to the issuance; the memo is shared between the sender and the receiver, but is not divulged to other parties
Memo string `json:"memo"`
// The globally-unique identifiers of the Attachments to attach to the issued Asset; the attachments must already be uploaded, and their identifiers are returned by the upload endpoint
AttachmentIds []string `json:"attachment_ids,omitempty"`
}