/
model_token_genesis_request.go
28 lines (27 loc) · 1.14 KB
/
model_token_genesis_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
/*
* Mainnet Cash
*
* A developer friendly bitcoin cash wallet api This API is currently in *active* development, breaking changes may be made prior to official release of version 1.0.0.
*
* API version: 2.3.13
* Contact: hello@mainnet.cash
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package openapi
// TokenGenesisRequest struct for TokenGenesisRequest
type TokenGenesisRequest struct {
// The walletId to make a request to.
WalletId string `json:"walletId"`
// amount of *fungible* tokens to create
Amount float32 `json:"amount,omitempty"`
// Capability of the new NFT
Capability string `json:"capability,omitempty"`
// Token commitment message, hexadecimal encoded, 40 bytes max length
Commitment string `json:"commitment,omitempty"`
// Cashaddress to send tokens to
Cashaddr string `json:"cashaddr,omitempty"`
// Satoshi value to send alongside with tokens
Value float32 `json:"value,omitempty"`
// Single or an array of extra send requests (OP_RETURN, value transfer, etc.) to include in genesis transaction.
SendRequests AnyOfSendRequestItemarrayTokenSendRequestOpReturnData `json:"sendRequests,omitempty"`
}