Documentation ¶
Index ¶
- Constants
- func DivideId(tokenId string) (string, string)
- func GenerateNonce(timestampMsec int64) string
- func NowMsec() int64
- type AttachNonFungibleRequest
- type Attribute
- type Balance
- type BalanceOfFungible
- type BalanceOfNonFungiblesToken
- type BalanceOfNonFungiblesTokenType
- type BalanceOfNonFungiblesTokenTypeList
- type BalanceOfNonFungiblesType
- type BalanceOfServiceTokens
- type BalanceOfSpecificNonFungible
- type BatchTransferNonFungibleRequest
- type BurnItemTokenRequest
- type BurnServiceTokenRequest
- type CreateFungibleRequest
- type CreateNonFungibleRequest
- type DetachNonFungibleParentRequest
- type Event
- type Fee
- type FungibleHolders
- type FungibleInformation
- type FungibleTokenResponse
- type Holder
- type IssueSessionTokenForBaseCoinTransferRequest
- type IssueSessionTokenForProxySettingRequest
- type ItemTokenContractInformation
- type ItemTokenHolder
- type LBD
- func (l *LBD) AttachNonFungibleAnother(contractId, tokenType, tokenIndex, parentTokenId, to string) (*Transaction, error)
- func (l LBD) BatchTransferDelegatedNonFungiblesUserWallet(userId, contractId, to string, transferList []TransferList) (*Transfer, error)
- func (l *LBD) BatchTransferNonFungible(walletAddress, contactId, to string, transferList []*TransferList) (*Transaction, error)
- func (l *LBD) BurnFungible(contractId, tokenType, from string, amount *big.Int) (*Transaction, error)
- func (l *LBD) BurnNonFungible(contractId, tokenType, tokenIndex, from string) (*Transaction, error)
- func (l *LBD) BurnServiceToken(contractId, from string, amount *big.Int) (*Transaction, error)
- func (l LBD) CommitTransaction(requestSessionToken string) (*Transaction, error)
- func (l *LBD) CreateNonFungible(contractId, name, meta string) (*Transaction, error)
- func (l *LBD) DetachNonFungibleParent(contractId, tokenType, tokenIndex, to string) (*Transaction, error)
- func (l *LBD) Do(r Requester, sign bool) (*Response, error)
- func (l LBD) GetExplorerURL(tx *Transaction) string
- func (l LBD) IsAddress(s string) bool
- func (l *LBD) IssueFungible(contractId, name, meta string) (*Transaction, error)
- func (l *LBD) IssueSessionTokenForBaseCoinTransfer(fromUserId, to string, amount *big.Int, requestType RequestType) (*SessionToken, error)
- func (l *LBD) IssueSessionTokenForProxySetting(userId, contractId string, requestType RequestType) (*SessionToken, error)
- func (l LBD) IssueSessionTokenForServiceTokenProxySetting(userId, contractId string, requestType RequestType) (*SessionToken, error)
- func (l LBD) IssueSessionTokenForServiceTokenTransfer(fromUserId, contractId, to string, amount *big.Int, requestType RequestType) (*SessionToken, error)
- func (l LBD) ListAllFungibles(contractId string, pager *Pager) ([]*TokenType, error)
- func (l LBD) ListAllFungiblesItemToken(contractId string) ([]*TokenType, error)
- func (l LBD) ListAllNonFungibles(contractId string, pager *Pager) ([]*TokenType, error)
- func (l LBD) ListAllNonFungiblesItemToken(contractId string) ([]*TokenType, error)
- func (l *LBD) ListAllServiceTokenHolders(contentId string) ([]*ServiceTokenHolders, error)
- func (l *LBD) ListAllServiceTokens() ([]*ServiceToken, error)
- func (l LBD) ListAllServiceWallets() ([]*Wallet, error)
- func (l LBD) ListBalanceOfAllServiceTokensUserWallet(userId string) ([]*BalanceOfServiceTokens, error)
- func (l LBD) ListBalanceOfSpecificTypeOfNonFungiblesUserWallet(userId string, contractId, tokenType string) ([]*NonFungibleToken, error)
- func (l LBD) ListTheChildrenOfNonFungible(contractId, tokenType, tokenIndex string, pager *Pager) ([]*NonFungibleInformation, error)
- func (l LBD) ListTheChildrenOfNonFungibleItemToken(contractId, tokenType, tokenIndex string) ([]*NonFungibleInformation, error)
- func (l LBD) ListWalletAddressBalanceAllServiceTokens(walletAddress string) ([]*RetrieveBalanceServiceTokensResponse, error)
- func (l LBD) ListWalletAddresseBalanceAllServiceTokens(walletAddress string) ([]*RetrieveBalanceServiceTokensResponse, error)deprecated
- func (l *LBD) MintFungible(contractId, tokenType, to string, amount *big.Int) (*Transaction, error)
- func (l *LBD) MintMultipleNonFungible(contractId, to string, mintList []*MintList) (*Transaction, error)
- func (l *LBD) MintMultipleNonFungibleRecipients(contractId string, mintList []*MultiMintList) (*Transaction, error)
- func (l *LBD) MintNonFungible(contractId, tokenType, name, meta, to string) (*Transaction, error)
- func (l *LBD) MintServiceToken(contractId string, to string, amount *big.Int) (*Transaction, error)
- func (l LBD) RetrieveAllFungibleHolders(contractId, tokenType string, pager *Pager) ([]*FungibleHolders, error)
- func (l LBD) RetrieveAllFungibleHoldersItemToken(contractId, tokenType string) ([]*FungibleHolders, error)
- func (l *LBD) RetrieveBalanceAllFungibles(walletAddress, contactId string, pager *Pager) ([]*RetrieveBalanceFungibles, error)
- func (l *LBD) RetrieveBalanceAllServiceTokens(walletAddress string, pager *Pager) ([]*RetrieveBalanceServiceTokensResponse, error)
- func (l LBD) RetrieveBalanceOfAllFungiblesUserWallet(userId, contractId string, pager *Pager) ([]*BalanceOfFungible, error)
- func (l *LBD) RetrieveBalanceOfAllNonFungiblesServiceWallet(walletAddress, contractId string, pager *Pager) ([]*NonFungible, error)
- func (l LBD) RetrieveBalanceOfAllNonFungiblesUserWallet(userId, contractId string, pager *Pager) ([]*NonFungible, error)
- func (l LBD) RetrieveBalanceOfAllServiceTokensUserWallet(userId string, pager *Pager) ([]*BalanceOfServiceTokens, error)
- func (l LBD) RetrieveBalanceOfNonFungiblesWithTokenTypeUserWallet(userId, contractId, orderBy, pageToken string, limit uint32) (*BalanceOfNonFungiblesTokenType, error)
- func (l LBD) RetrieveBalanceOfSpecificFungibleUserWallet(userId, contractId, tokenType string) (*BalanceOfFungible, error)
- func (l LBD) RetrieveBalanceOfSpecificNonFungibleUserWallet(userId, contractId, tokenType, tokenIndex string) (*BalanceOfSpecificNonFungible, error)
- func (l LBD) RetrieveBalanceOfSpecificServiceTokenUserWallet(userId, contractId string) (*BalanceOfServiceTokens, error)
- func (l LBD) RetrieveBalanceOfSpecificTypeOfNonFungiblesServiceWallet(walletAddress, contractId, tokenType string, pager *Pager) ([]*NonFungibleToken, error)
- func (l LBD) RetrieveBalanceOfSpecificTypeOfNonFungiblesUserWallet(userId, contractId, tokenType string, pager *Pager) ([]*NonFungibleToken, error)
- func (l *LBD) RetrieveBalanceSpecificFungible(walletAddress, contractId, tokenType string) (*RetrieveBalanceFungibles, error)
- func (l *LBD) RetrieveBalanceSpecificNonFungible(walletAddress, contractId, tokenType, tokenIndex string) (*RetrieveBalanceNonFungible, error)
- func (l *LBD) RetrieveBalanceSpecificServiceTokenWallet(walletAddress, contractId string) (*RetrieveBalanceServiceTokensResponse, error)
- func (l *LBD) RetrieveBaseCoinBalance(walletAddress string) (*RetrieveBaseCoinBalance, error)
- func (l LBD) RetrieveBaseCoinBalanceUserWallet(userId string) (*Balance, error)
- func (l LBD) RetrieveFungibleInformation(contractId, tokenType string) (*FungibleInformation, error)
- func (l LBD) RetrieveFungibleTokenMediaResourceStatus(contractId, requestId string) ([]*FungibleTokenResponse, error)
- func (l LBD) RetrieveFungibleTokenThumbnailStatus(contractId, requestId string) ([]*FungibleTokenResponse, error)
- func (l LBD) RetrieveHolderOfSpecificNonFungible(contractId, tokenType string, pager *Pager) ([]*Holder, error)
- func (l LBD) RetrieveHolderOfSpecificNonFungibleItemToken(contractId, tokenType string) ([]*Holder, error)
- func (l LBD) RetrieveItemTokenContractInformation(contractId string) (*ItemTokenContractInformation, error)
- func (l *LBD) RetrieveNonFungibleInformation(contractId, tokenType, tokenIndex string) (*NonFungibleInformation, error)
- func (l LBD) RetrieveNonFungibleTokenMediaResourceStatus(contractId, requestId string) ([]*NonFungibleTokenResponse, error)
- func (l LBD) RetrieveNonFungibleTokenThumbnailStatus(contractId, requestId string) ([]*NonFungibleTokenResponse, error)
- func (l *LBD) RetrieveNonFungibleTokenType(contractId, tokenType string, pager *Pager) (*TokenType, error)
- func (l LBD) RetrieveServerTime() (int64, error)
- func (l LBD) RetrieveServiceInformation(serviceId string) (*ServiceInformation, error)
- func (l *LBD) RetrieveServiceTokenInformation(contractId string) (*ServiceToken, error)
- func (l *LBD) RetrieveServiceWalletInformation(walletAddress string) (*WalletInformation, error)
- func (l *LBD) RetrieveServiceWalletTransactionHistory(walletAddress string) ([]*Transaction, error)
- func (l LBD) RetrieveSessionTokenStatus(requestSessionToken string) (SessionTokenStatus, error)
- func (l LBD) RetrieveText(txHash string) (*MemoInformation, error)
- func (l LBD) RetrieveTheHolderOfSpecificNonFungible(contractId, tokenType, tokenIndex string) (*ItemTokenHolder, error)
- func (l LBD) RetrieveTheParentOfNonFungible(contractId, tokenType, tokenIndex string) (*ParentNonFungible, error)
- func (l LBD) RetrieveTheRootOfNonFungible(contractId, tokenType, tokenIndex string) (*ParentNonFungible, error)
- func (l LBD) RetrieveTheStatusOfMultipleFungibleTokenIcons(contractId, requestId string) ([]*FungibleTokenResponse, error)deprecated
- func (l LBD) RetrieveTheStatusOfMultipleNonFungibleTokenIcons(contractId, requestId string) ([]*NonFungibleTokenResponse, error)deprecated
- func (l LBD) RetrieveTransactionInformation(txHash string) (*Transaction, error)
- func (l LBD) RetrieveUserHoldersFungibles(userId, contractId string) ([]*BalanceOfFungible, error)
- func (l LBD) RetrieveUserHoldersNonFungibles(userId string, contractId string) ([]*NonFungible, error)
- func (l LBD) RetrieveUserInformation(userId string) (*UserInformation, error)
- func (l LBD) RetrieveUserWalletTransactionHistory(userId string) ([]*Transaction, error)
- func (l LBD) RetrieveWalletAddressBalanceOfAllFungibleServiceWallet(walletAddress string, contractId string) ([]*RetrieveBalanceFungibles, error)
- func (l LBD) RetrieveWalletAddressBalanceOfAllNonFungiblesServiceWallet(walletAddress string, contractId string) ([]*NonFungible, error)
- func (l LBD) RetrieveWalletAddressBalanceOfSpecificTypeOfNonFungiblesServiceWallet(walletAddress, contractId, tokenType string) ([]*NonFungibleToken, error)
- func (l LBD) RetrieveWhetherTheItemTokenProxySet(userId, contractId string) (*ServiceTokenProxySet, error)
- func (l LBD) RetrieveWhetherTheServiceTokenProxySet(userId, contractId string) (*ServiceTokenProxySet, error)
- func (l *LBD) SaveText(memo string) (*Transaction, error)
- func (l LBD) Sign(r Requester) string
- func (l *LBD) TransferBaseCoins(from *Wallet, to string, amount *big.Int) (*Transaction, error)
- func (l LBD) TransferDelegatedFungibleUserWallet(userId, contractId, tokenType, to string, amount *big.Int) (*Transfer, error)
- func (l LBD) TransferDelegatedNonFungible(userId, contractId, tokenType, tokenIndex, to string) (*Transfer, error)
- func (l LBD) TransferDelegatedServiceTokenUserWallet(userId, contractId, to string, amount *big.Int) (*Transfer, error)
- func (l *LBD) TransferFungible(from *Wallet, contractId, to, tokenType string, amount *big.Int) (*Transaction, error)
- func (l *LBD) TransferNonFungibleServiceWallet(walletAddress, walletSecret, contractId, to, tokenType, tokenIndex string) (*Transaction, error)
- func (l *LBD) TransferNonFungibleUserWallet(contractId, fromUserId, to, tokenType, tokenIndex string) (*Transaction, error)
- func (l *LBD) TransferServiceTokens(from *Wallet, contractId, to string, amount *big.Int) (*Transaction, error)
- func (l *LBD) UpdateFungibleInformation(contractId, tokenType, name, meta string) (*Transaction, error)
- func (l *LBD) UpdateFungibleTokenMediaResources(contactId string, updateList []*UpdateFungibleList) (*UpdateMediaResourcesResponse, error)
- func (l *LBD) UpdateFungibleTokenThumbnails(contactId string, updateList []*UpdateFungibleList) (*UpdateThumbnailsResponse, error)
- func (l *LBD) UpdateMultipleFungibleTokenIcons(contactId string, updateList []*UpdateFungibleList) (*UpdateMultipleTokenIconsResponse, error)deprecated
- func (l LBD) UpdateMultipleFungibleTokenIconsCache(tokenIds []string, contractId string) error
- func (l *LBD) UpdateMultipleNonFungibleTokenIcons(contactId string, updateList []*UpdateList) (*UpdateMultipleTokenIconsResponse, error)deprecated
- func (l LBD) UpdateMultipleNonFungibleTokenIconsCache(tokenIds []string, contractId string) error
- func (l *LBD) UpdateNonFungibleInformation(contractId, tokenType, tokenIndex, name, meta string) (*Transaction, error)
- func (l *LBD) UpdateNonFungibleTokenMediaResources(contactId string, updateList []*UpdateList) (*UpdateMediaResourcesResponse, error)
- func (l *LBD) UpdateNonFungibleTokenThumbnails(contactId string, updateList []*UpdateList) (*UpdateThumbnailsResponse, error)
- func (l *LBD) UpdateNonFungibleTokenType(contractId, tokenType, name, meta string) (*Transaction, error)
- func (l *LBD) UpdateServiceTokenInformation(contractId, name, meta string) (*Transaction, error)
- type Log
- type MemoInformation
- type MemosRequest
- type Meta
- type MintFungibleRequest
- type MintList
- type MintMultipleNonFungibleRecipientsRequest
- type MintMultipleNonFungibleRequest
- type MintNonFungibleRequest
- type MintServiceTokenRequest
- type Msg
- type MultiMintList
- type Network
- type NonFungible
- type NonFungibleInformation
- type NonFungibleToken
- type NonFungibleTokenBurnRequest
- type NonFungibleTokenResponse
- type NonFungibleTokenType
- type Pager
- type ParentNonFungible
- type PubKey
- type Request
- func (r *Request) Encode() string
- func (r *Request) HasQuery() bool
- func (r *Request) Method() string
- func (r *Request) Nonce() string
- func (r *Request) Path() string
- func (r *Request) Query() url.Values
- func (r *Request) RawQuery() string
- func (r *Request) Timestamp() string
- func (r *Request) URI() string
- type RequestType
- type Requester
- type Response
- type RetrieveBalanceFungibles
- type RetrieveBalanceNonFungible
- type RetrieveBalanceServiceTokensResponse
- type RetrieveBaseCoinBalance
- type ServiceInformation
- type ServiceToken
- type ServiceTokenHolders
- type ServiceTokenProxySet
- type SessionToken
- type SessionTokenStatus
- type Signature
- type Token
- type TokenType
- type Transaction
- type Transfer
- type TransferBaseCoinsRequest
- type TransferDelegatedNonFungibleRequest
- type TransferDelegatedNonFungiblesRequest
- type TransferDelegatedRequest
- type TransferList
- type TransferNonFungibleServiceWalletRequest
- type TransferNonFungibleUserWalletRequest
- type TransferRequest
- type Tx
- type TxValue
- type UpdateFungibleInformationRequest
- type UpdateFungibleList
- type UpdateList
- type UpdateMediaResourcesResponse
- type UpdateMultipleFungibleTokenIconsRequest
- type UpdateMultipleFungibleTokenUpdateListRequest
- type UpdateMultipleNonFungibleTokenIconsRequest
- type UpdateMultipleNonFungibleTokenUpdateListRequest
- type UpdateMultipleTokenIconsResponse
- type UpdateNonFungibleInformationRequest
- type UpdateNonFungibleTokenTypeRequest
- type UpdateServiceTokenInformationRequest
- type UpdateThumbnailsResponse
- type UserInformation
- type Wallet
- type WalletInformation
Constants ¶
const ( CashewBaseURL = "https://test-api.blockchain.line.me" DaphneBaseURL = "https://api.blockchain.line.me" )
const (
DefaultLimit int = 50
)
Variables ¶
This section is empty.
Functions ¶
func GenerateNonce ¶
Types ¶
type AttachNonFungibleRequest ¶
type AttachNonFungibleRequest struct { *Request ParentTokenId string `json:"parentTokenId"` ServiceWalletAddress string `json:"serviceWalletAddress"` ServiceWalletSecret string `json:"serviceWalletSecret"` TokenHolderAddress string `json:"tokenHolderAddress,omitempty"` TokenHolderUserId string `json:"tokenHolderUserId,omitempty"` }
func (AttachNonFungibleRequest) Encode ¶
func (r AttachNonFungibleRequest) Encode() string
type BalanceOfFungible ¶
type BalanceOfNonFungiblesTokenType ¶
type BalanceOfNonFungiblesTokenType struct { List []BalanceOfNonFungiblesTokenTypeList `json:"list"` PrePageToken string `json:"prePageToken"` NextPageToken string `json:"nextPageToken"` }
type BalanceOfNonFungiblesTokenTypeList ¶
type BalanceOfNonFungiblesTokenTypeList struct { Type BalanceOfNonFungiblesType `json:"type"` Token BalanceOfNonFungiblesToken `json:"token"` }
type BalanceOfServiceTokens ¶
type BatchTransferNonFungibleRequest ¶
type BatchTransferNonFungibleRequest struct { *Request WalletSecret string `json:"walletSecret"` ToUserId string `json:"toUserId,omitempty"` ToAddress string `json:"toAddress,omitempty"` TransferList []*TransferList `json:"transferList"` }
func (BatchTransferNonFungibleRequest) Encode ¶
func (r BatchTransferNonFungibleRequest) Encode() string
type BurnItemTokenRequest ¶
type BurnItemTokenRequest struct { *Request OwnerAddress string `json:"ownerAddress"` OwnerSecret string `json:"ownerSecret"` Amount string `json:"amount,omitempty"` FromUserId string `json:"fromUserId,omitempty"` FromAddress string `json:"fromAddress,omitempty"` }
func (BurnItemTokenRequest) Encode ¶
func (r BurnItemTokenRequest) Encode() string
type BurnServiceTokenRequest ¶
type BurnServiceTokenRequest struct { *Request OwnerAddress string `json:"ownerAddress"` OwnerSecret string `json:"ownerSecret"` Amount string `json:"amount"` FromUserId string `json:"fromUserId,omitempty"` FromAddress string `json:"fromAddress,omitempty"` }
func (BurnServiceTokenRequest) Encode ¶
func (r BurnServiceTokenRequest) Encode() string
type CreateFungibleRequest ¶
type CreateFungibleRequest struct { *Request OwnerAddress string `json:"ownerAddress"` OwnerSecret string `json:"ownerSecret"` Name string `json:"name"` Meta string `json:"meta,omitempty"` }
func (CreateFungibleRequest) Encode ¶
func (r CreateFungibleRequest) Encode() string
type CreateNonFungibleRequest ¶
type CreateNonFungibleRequest struct { *Request OwnerAddress string `json:"ownerAddress"` OwnerSecret string `json:"ownerSecret"` Name string `json:"name"` Meta string `json:"meta"` }
func (CreateNonFungibleRequest) Encode ¶
func (r CreateNonFungibleRequest) Encode() string
type DetachNonFungibleParentRequest ¶
type DetachNonFungibleParentRequest struct { *Request ServiceWalletAddress string `json:"serviceWalletAddress"` ServiceWalletSecret string `json:"serviceWalletSecret"` TokenHolderAddress string `json:"tokenHolderAddress,omitempty"` TokenHolderUserId string `json:"tokenHolderUserId,omitempty"` }
func (DetachNonFungibleParentRequest) Encode ¶
func (r DetachNonFungibleParentRequest) Encode() string
type FungibleHolders ¶ added in v1.1.0
type FungibleInformation ¶
type FungibleTokenResponse ¶
type Holder ¶
type Holder struct { WalletAddress *string `json:"walletAddress"` UserID *string `json:"userId"` NumberOfIndex string `json:"numberOfIndex"` }
Holders Response Struct
type IssueSessionTokenForBaseCoinTransferRequest ¶
type IssueSessionTokenForBaseCoinTransferRequest struct { *Request ToUserId string `json:"toUserId,omitempty"` ToAddress string `json:"toAddress,omitempty"` Amount string `json:"amount"` RequestType RequestType `json:"-"` }
func (IssueSessionTokenForBaseCoinTransferRequest) Encode ¶
func (r IssueSessionTokenForBaseCoinTransferRequest) Encode() string
type IssueSessionTokenForProxySettingRequest ¶
type IssueSessionTokenForProxySettingRequest struct { *Request OwnerAddress string `json:"ownerAddress"` OwnerSecret string `json:"ownerSecret"` RequestType RequestType `json:"-"` }
func (IssueSessionTokenForProxySettingRequest) Encode ¶
func (r IssueSessionTokenForProxySettingRequest) Encode() string
type ItemTokenHolder ¶
type LBD ¶
type LBD struct { Network Network Owner *Wallet Debug bool // contains filtered or unexported fields }
func (*LBD) AttachNonFungibleAnother ¶
func (l *LBD) AttachNonFungibleAnother(contractId, tokenType, tokenIndex, parentTokenId, to string) (*Transaction, error)
func (LBD) BatchTransferDelegatedNonFungiblesUserWallet ¶
func (l LBD) BatchTransferDelegatedNonFungiblesUserWallet(userId, contractId, to string, transferList []TransferList) (*Transfer, error)
func (*LBD) BatchTransferNonFungible ¶
func (l *LBD) BatchTransferNonFungible(walletAddress, contactId, to string, transferList []*TransferList) (*Transaction, error)
func (*LBD) BurnFungible ¶
func (*LBD) BurnNonFungible ¶
func (l *LBD) BurnNonFungible(contractId, tokenType, tokenIndex, from string) (*Transaction, error)
func (*LBD) BurnServiceToken ¶
func (LBD) CommitTransaction ¶
func (l LBD) CommitTransaction(requestSessionToken string) (*Transaction, error)
func (*LBD) CreateNonFungible ¶
func (l *LBD) CreateNonFungible(contractId, name, meta string) (*Transaction, error)
func (*LBD) DetachNonFungibleParent ¶
func (l *LBD) DetachNonFungibleParent(contractId, tokenType, tokenIndex, to string) (*Transaction, error)
func (LBD) GetExplorerURL ¶
func (l LBD) GetExplorerURL(tx *Transaction) string
func (*LBD) IssueFungible ¶
func (l *LBD) IssueFungible(contractId, name, meta string) (*Transaction, error)
func (*LBD) IssueSessionTokenForBaseCoinTransfer ¶
func (l *LBD) IssueSessionTokenForBaseCoinTransfer(fromUserId, to string, amount *big.Int, requestType RequestType) (*SessionToken, error)
func (*LBD) IssueSessionTokenForProxySetting ¶
func (l *LBD) IssueSessionTokenForProxySetting(userId, contractId string, requestType RequestType) (*SessionToken, error)
func (LBD) IssueSessionTokenForServiceTokenProxySetting ¶
func (l LBD) IssueSessionTokenForServiceTokenProxySetting(userId, contractId string, requestType RequestType) (*SessionToken, error)
func (LBD) IssueSessionTokenForServiceTokenTransfer ¶
func (l LBD) IssueSessionTokenForServiceTokenTransfer(fromUserId, contractId, to string, amount *big.Int, requestType RequestType) (*SessionToken, error)
func (LBD) ListAllFungibles ¶
func (LBD) ListAllFungiblesItemToken ¶
func (LBD) ListAllNonFungibles ¶
func (LBD) ListAllNonFungiblesItemToken ¶
func (*LBD) ListAllServiceTokenHolders ¶
func (l *LBD) ListAllServiceTokenHolders(contentId string) ([]*ServiceTokenHolders, error)
func (*LBD) ListAllServiceTokens ¶
func (l *LBD) ListAllServiceTokens() ([]*ServiceToken, error)
func (LBD) ListAllServiceWallets ¶
func (LBD) ListBalanceOfAllServiceTokensUserWallet ¶
func (l LBD) ListBalanceOfAllServiceTokensUserWallet(userId string) ([]*BalanceOfServiceTokens, error)
func (LBD) ListBalanceOfSpecificTypeOfNonFungiblesUserWallet ¶
func (l LBD) ListBalanceOfSpecificTypeOfNonFungiblesUserWallet(userId string, contractId, tokenType string) ([]*NonFungibleToken, error)
func (LBD) ListTheChildrenOfNonFungible ¶
func (l LBD) ListTheChildrenOfNonFungible(contractId, tokenType, tokenIndex string, pager *Pager) ([]*NonFungibleInformation, error)
func (LBD) ListTheChildrenOfNonFungibleItemToken ¶
func (l LBD) ListTheChildrenOfNonFungibleItemToken(contractId, tokenType, tokenIndex string) ([]*NonFungibleInformation, error)
func (LBD) ListWalletAddressBalanceAllServiceTokens ¶ added in v1.1.0
func (l LBD) ListWalletAddressBalanceAllServiceTokens(walletAddress string) ([]*RetrieveBalanceServiceTokensResponse, error)
func (LBD) ListWalletAddresseBalanceAllServiceTokens
deprecated
func (l LBD) ListWalletAddresseBalanceAllServiceTokens(walletAddress string) ([]*RetrieveBalanceServiceTokensResponse, error)
Deprecated: Use ListWalletAddressBalanceAllServiceTokens
func (*LBD) MintFungible ¶
func (*LBD) MintMultipleNonFungible ¶
func (l *LBD) MintMultipleNonFungible(contractId, to string, mintList []*MintList) (*Transaction, error)
func (*LBD) MintMultipleNonFungibleRecipients ¶
func (l *LBD) MintMultipleNonFungibleRecipients(contractId string, mintList []*MultiMintList) (*Transaction, error)
func (*LBD) MintNonFungible ¶
func (l *LBD) MintNonFungible(contractId, tokenType, name, meta, to string) (*Transaction, error)
func (*LBD) MintServiceToken ¶
func (LBD) RetrieveAllFungibleHolders ¶
func (l LBD) RetrieveAllFungibleHolders(contractId, tokenType string, pager *Pager) ([]*FungibleHolders, error)
func (LBD) RetrieveAllFungibleHoldersItemToken ¶
func (l LBD) RetrieveAllFungibleHoldersItemToken(contractId, tokenType string) ([]*FungibleHolders, error)
func (*LBD) RetrieveBalanceAllFungibles ¶
func (l *LBD) RetrieveBalanceAllFungibles(walletAddress, contactId string, pager *Pager) ([]*RetrieveBalanceFungibles, error)
func (*LBD) RetrieveBalanceAllServiceTokens ¶
func (l *LBD) RetrieveBalanceAllServiceTokens(walletAddress string, pager *Pager) ([]*RetrieveBalanceServiceTokensResponse, error)
func (LBD) RetrieveBalanceOfAllFungiblesUserWallet ¶
func (l LBD) RetrieveBalanceOfAllFungiblesUserWallet(userId, contractId string, pager *Pager) ([]*BalanceOfFungible, error)
func (*LBD) RetrieveBalanceOfAllNonFungiblesServiceWallet ¶
func (l *LBD) RetrieveBalanceOfAllNonFungiblesServiceWallet(walletAddress, contractId string, pager *Pager) ([]*NonFungible, error)
func (LBD) RetrieveBalanceOfAllNonFungiblesUserWallet ¶
func (l LBD) RetrieveBalanceOfAllNonFungiblesUserWallet(userId, contractId string, pager *Pager) ([]*NonFungible, error)
func (LBD) RetrieveBalanceOfAllServiceTokensUserWallet ¶
func (l LBD) RetrieveBalanceOfAllServiceTokensUserWallet(userId string, pager *Pager) ([]*BalanceOfServiceTokens, error)
func (LBD) RetrieveBalanceOfNonFungiblesWithTokenTypeUserWallet ¶
func (l LBD) RetrieveBalanceOfNonFungiblesWithTokenTypeUserWallet(userId, contractId, orderBy, pageToken string, limit uint32) (*BalanceOfNonFungiblesTokenType, error)
func (LBD) RetrieveBalanceOfSpecificFungibleUserWallet ¶
func (l LBD) RetrieveBalanceOfSpecificFungibleUserWallet(userId, contractId, tokenType string) (*BalanceOfFungible, error)
func (LBD) RetrieveBalanceOfSpecificNonFungibleUserWallet ¶
func (l LBD) RetrieveBalanceOfSpecificNonFungibleUserWallet(userId, contractId, tokenType, tokenIndex string) (*BalanceOfSpecificNonFungible, error)
func (LBD) RetrieveBalanceOfSpecificServiceTokenUserWallet ¶
func (l LBD) RetrieveBalanceOfSpecificServiceTokenUserWallet(userId, contractId string) (*BalanceOfServiceTokens, error)
func (LBD) RetrieveBalanceOfSpecificTypeOfNonFungiblesServiceWallet ¶
func (l LBD) RetrieveBalanceOfSpecificTypeOfNonFungiblesServiceWallet(walletAddress, contractId, tokenType string, pager *Pager) ([]*NonFungibleToken, error)
func (LBD) RetrieveBalanceOfSpecificTypeOfNonFungiblesUserWallet ¶
func (l LBD) RetrieveBalanceOfSpecificTypeOfNonFungiblesUserWallet(userId, contractId, tokenType string, pager *Pager) ([]*NonFungibleToken, error)
func (*LBD) RetrieveBalanceSpecificFungible ¶
func (l *LBD) RetrieveBalanceSpecificFungible(walletAddress, contractId, tokenType string) (*RetrieveBalanceFungibles, error)
func (*LBD) RetrieveBalanceSpecificNonFungible ¶
func (l *LBD) RetrieveBalanceSpecificNonFungible(walletAddress, contractId, tokenType, tokenIndex string) (*RetrieveBalanceNonFungible, error)
func (*LBD) RetrieveBalanceSpecificServiceTokenWallet ¶
func (l *LBD) RetrieveBalanceSpecificServiceTokenWallet(walletAddress, contractId string) (*RetrieveBalanceServiceTokensResponse, error)
func (*LBD) RetrieveBaseCoinBalance ¶
func (l *LBD) RetrieveBaseCoinBalance(walletAddress string) (*RetrieveBaseCoinBalance, error)
func (LBD) RetrieveBaseCoinBalanceUserWallet ¶
func (LBD) RetrieveFungibleInformation ¶
func (l LBD) RetrieveFungibleInformation(contractId, tokenType string) (*FungibleInformation, error)
func (LBD) RetrieveFungibleTokenMediaResourceStatus ¶ added in v1.1.0
func (l LBD) RetrieveFungibleTokenMediaResourceStatus(contractId, requestId string) ([]*FungibleTokenResponse, error)
Get media resource status for multiple fungible tokens
func (LBD) RetrieveFungibleTokenThumbnailStatus ¶ added in v1.1.0
func (l LBD) RetrieveFungibleTokenThumbnailStatus(contractId, requestId string) ([]*FungibleTokenResponse, error)
Get thumbnail status of multiple fungible tokens
func (LBD) RetrieveHolderOfSpecificNonFungible ¶
func (LBD) RetrieveHolderOfSpecificNonFungibleItemToken ¶
func (LBD) RetrieveItemTokenContractInformation ¶
func (l LBD) RetrieveItemTokenContractInformation(contractId string) (*ItemTokenContractInformation, error)
func (*LBD) RetrieveNonFungibleInformation ¶
func (l *LBD) RetrieveNonFungibleInformation(contractId, tokenType, tokenIndex string) (*NonFungibleInformation, error)
func (LBD) RetrieveNonFungibleTokenMediaResourceStatus ¶ added in v1.1.0
func (l LBD) RetrieveNonFungibleTokenMediaResourceStatus(contractId, requestId string) ([]*NonFungibleTokenResponse, error)
Get media resource status for multiple non-fungible tokens
func (LBD) RetrieveNonFungibleTokenThumbnailStatus ¶ added in v1.1.0
func (l LBD) RetrieveNonFungibleTokenThumbnailStatus(contractId, requestId string) ([]*NonFungibleTokenResponse, error)
Get thumbnail status of multiple non-fungible tokens
func (*LBD) RetrieveNonFungibleTokenType ¶
func (LBD) RetrieveServerTime ¶
func (LBD) RetrieveServiceInformation ¶
func (l LBD) RetrieveServiceInformation(serviceId string) (*ServiceInformation, error)
func (*LBD) RetrieveServiceTokenInformation ¶
func (l *LBD) RetrieveServiceTokenInformation(contractId string) (*ServiceToken, error)
func (*LBD) RetrieveServiceWalletInformation ¶
func (l *LBD) RetrieveServiceWalletInformation(walletAddress string) (*WalletInformation, error)
func (*LBD) RetrieveServiceWalletTransactionHistory ¶
func (l *LBD) RetrieveServiceWalletTransactionHistory(walletAddress string) ([]*Transaction, error)
func (LBD) RetrieveSessionTokenStatus ¶
func (l LBD) RetrieveSessionTokenStatus(requestSessionToken string) (SessionTokenStatus, error)
func (LBD) RetrieveText ¶
func (l LBD) RetrieveText(txHash string) (*MemoInformation, error)
func (LBD) RetrieveTheHolderOfSpecificNonFungible ¶
func (l LBD) RetrieveTheHolderOfSpecificNonFungible(contractId, tokenType, tokenIndex string) (*ItemTokenHolder, error)
func (LBD) RetrieveTheParentOfNonFungible ¶
func (l LBD) RetrieveTheParentOfNonFungible(contractId, tokenType, tokenIndex string) (*ParentNonFungible, error)
func (LBD) RetrieveTheRootOfNonFungible ¶
func (l LBD) RetrieveTheRootOfNonFungible(contractId, tokenType, tokenIndex string) (*ParentNonFungible, error)
func (LBD) RetrieveTheStatusOfMultipleFungibleTokenIcons
deprecated
func (l LBD) RetrieveTheStatusOfMultipleFungibleTokenIcons(contractId, requestId string) ([]*FungibleTokenResponse, error)
Deprecated: Use RetrieveFungibleTokenMediaResourceStatus or RetrieveFungibleTokenThumbnailsStatus instead.
func (LBD) RetrieveTheStatusOfMultipleNonFungibleTokenIcons
deprecated
func (l LBD) RetrieveTheStatusOfMultipleNonFungibleTokenIcons(contractId, requestId string) ([]*NonFungibleTokenResponse, error)
Deprecated: Use RetrieveNonFungibleTokenMediaResourceStatus or RetrieveNonFungibleTokenThumbnailsStatus instead.
func (LBD) RetrieveTransactionInformation ¶
func (l LBD) RetrieveTransactionInformation(txHash string) (*Transaction, error)
func (LBD) RetrieveUserHoldersFungibles ¶
func (l LBD) RetrieveUserHoldersFungibles(userId, contractId string) ([]*BalanceOfFungible, error)
func (LBD) RetrieveUserHoldersNonFungibles ¶
func (l LBD) RetrieveUserHoldersNonFungibles(userId string, contractId string) ([]*NonFungible, error)
func (LBD) RetrieveUserInformation ¶
func (l LBD) RetrieveUserInformation(userId string) (*UserInformation, error)
func (LBD) RetrieveUserWalletTransactionHistory ¶
func (l LBD) RetrieveUserWalletTransactionHistory(userId string) ([]*Transaction, error)
func (LBD) RetrieveWalletAddressBalanceOfAllFungibleServiceWallet ¶
func (l LBD) RetrieveWalletAddressBalanceOfAllFungibleServiceWallet(walletAddress string, contractId string) ([]*RetrieveBalanceFungibles, error)
func (LBD) RetrieveWalletAddressBalanceOfAllNonFungiblesServiceWallet ¶
func (l LBD) RetrieveWalletAddressBalanceOfAllNonFungiblesServiceWallet(walletAddress string, contractId string) ([]*NonFungible, error)
func (LBD) RetrieveWalletAddressBalanceOfSpecificTypeOfNonFungiblesServiceWallet ¶
func (l LBD) RetrieveWalletAddressBalanceOfSpecificTypeOfNonFungiblesServiceWallet(walletAddress, contractId, tokenType string) ([]*NonFungibleToken, error)
func (LBD) RetrieveWhetherTheItemTokenProxySet ¶
func (l LBD) RetrieveWhetherTheItemTokenProxySet(userId, contractId string) (*ServiceTokenProxySet, error)
func (LBD) RetrieveWhetherTheServiceTokenProxySet ¶
func (l LBD) RetrieveWhetherTheServiceTokenProxySet(userId, contractId string) (*ServiceTokenProxySet, error)
func (*LBD) TransferBaseCoins ¶
func (LBD) TransferDelegatedFungibleUserWallet ¶
func (LBD) TransferDelegatedNonFungible ¶
func (LBD) TransferDelegatedServiceTokenUserWallet ¶
func (*LBD) TransferFungible ¶
func (*LBD) TransferNonFungibleServiceWallet ¶
func (l *LBD) TransferNonFungibleServiceWallet(walletAddress, walletSecret, contractId, to, tokenType, tokenIndex string) (*Transaction, error)
func (*LBD) TransferNonFungibleUserWallet ¶
func (l *LBD) TransferNonFungibleUserWallet(contractId, fromUserId, to, tokenType, tokenIndex string) (*Transaction, error)
func (*LBD) TransferServiceTokens ¶
func (*LBD) UpdateFungibleInformation ¶
func (l *LBD) UpdateFungibleInformation(contractId, tokenType, name, meta string) (*Transaction, error)
func (*LBD) UpdateFungibleTokenMediaResources ¶ added in v1.1.0
func (l *LBD) UpdateFungibleTokenMediaResources(contactId string, updateList []*UpdateFungibleList) (*UpdateMediaResourcesResponse, error)
Update media resources for multiple fungible tokens
func (*LBD) UpdateFungibleTokenThumbnails ¶ added in v1.1.0
func (l *LBD) UpdateFungibleTokenThumbnails(contactId string, updateList []*UpdateFungibleList) (*UpdateThumbnailsResponse, error)
Update thumbnails for multiple fungible tokens
func (*LBD) UpdateMultipleFungibleTokenIcons
deprecated
func (l *LBD) UpdateMultipleFungibleTokenIcons(contactId string, updateList []*UpdateFungibleList) (*UpdateMultipleTokenIconsResponse, error)
Deprecated: Use UpdateFungibleTokenThumbnails or UpdateFungibleTokenMediaResources instead.
func (LBD) UpdateMultipleFungibleTokenIconsCache ¶
func (*LBD) UpdateMultipleNonFungibleTokenIcons
deprecated
func (l *LBD) UpdateMultipleNonFungibleTokenIcons(contactId string, updateList []*UpdateList) (*UpdateMultipleTokenIconsResponse, error)
Deprecated: Use UpdateNonFungibleTokenThumbnails or UpdateNonFungibleTokenMediaResources or instead.
func (LBD) UpdateMultipleNonFungibleTokenIconsCache ¶
func (*LBD) UpdateNonFungibleInformation ¶
func (l *LBD) UpdateNonFungibleInformation(contractId, tokenType, tokenIndex, name, meta string) (*Transaction, error)
func (*LBD) UpdateNonFungibleTokenMediaResources ¶ added in v1.1.0
func (l *LBD) UpdateNonFungibleTokenMediaResources(contactId string, updateList []*UpdateList) (*UpdateMediaResourcesResponse, error)
Update media resources for multiple non-fungible tokens
func (*LBD) UpdateNonFungibleTokenThumbnails ¶ added in v1.1.0
func (l *LBD) UpdateNonFungibleTokenThumbnails(contactId string, updateList []*UpdateList) (*UpdateThumbnailsResponse, error)
Update thumbnails for multiple non-fungible tokens
func (*LBD) UpdateNonFungibleTokenType ¶
func (l *LBD) UpdateNonFungibleTokenType(contractId, tokenType, name, meta string) (*Transaction, error)
func (*LBD) UpdateServiceTokenInformation ¶
func (l *LBD) UpdateServiceTokenInformation(contractId, name, meta string) (*Transaction, error)
type MemoInformation ¶
type MemoInformation struct {
Memo string `json:"memo"`
}
type MemosRequest ¶
type MemosRequest struct { *Request WalletAddress string `json:"walletAddress"` WalletSecret string `json:"walletSecret"` Memo string `json:"memo"` }
func (MemosRequest) Encode ¶
func (r MemosRequest) Encode() string
type Meta ¶
type Meta struct {
// contains filtered or unexported fields
}
func UnmarshalMeta ¶
func (*Meta) MarshalJSON ¶
type MintFungibleRequest ¶
type MintFungibleRequest struct { *Request OwnerAddress string `json:"ownerAddress"` OwnerSecret string `json:"ownerSecret"` ToUserId string `json:"toUserId,omitempty"` ToAddress string `json:"toAddress,omitempty"` Amount string `json:"amount"` }
func (MintFungibleRequest) Encode ¶
func (r MintFungibleRequest) Encode() string
type MintMultipleNonFungibleRecipientsRequest ¶
type MintMultipleNonFungibleRecipientsRequest struct { *Request OwnerAddress string `json:"ownerAddress"` OwnerSecret string `json:"ownerSecret"` MintList []*MultiMintList `json:"mintList"` }
func (MintMultipleNonFungibleRecipientsRequest) Encode ¶
func (r MintMultipleNonFungibleRecipientsRequest) Encode() string
type MintMultipleNonFungibleRequest ¶
type MintMultipleNonFungibleRequest struct { *Request OwnerAddress string `json:"ownerAddress"` OwnerSecret string `json:"ownerSecret"` MintList []*MintList `json:"mintList"` ToUserId string `json:"toUserId,omitempty"` ToAddress string `json:"toAddress,omitempty"` }
func (MintMultipleNonFungibleRequest) Encode ¶
func (r MintMultipleNonFungibleRequest) Encode() string
type MintNonFungibleRequest ¶
type MintNonFungibleRequest struct { *Request OwnerAddress string `json:"ownerAddress"` OwnerSecret string `json:"ownerSecret"` Name string `json:"name"` Meta string `json:"meta"` ToUserId string `json:"toUserId,omitempty"` ToAddress string `json:"toAddress,omitempty"` }
func (MintNonFungibleRequest) Encode ¶
func (r MintNonFungibleRequest) Encode() string
type MintServiceTokenRequest ¶
type MintServiceTokenRequest struct { *Request OwnerAddress string `json:"ownerAddress"` OwnerSecret string `json:"ownerSecret"` Amount string `json:"amount"` ToUserId string `json:"toUserId,omitempty"` ToAddress string `json:"toAddress,omitempty"` }
func (MintServiceTokenRequest) Encode ¶
func (r MintServiceTokenRequest) Encode() string
type Msg ¶
type Msg struct { Type string `json:"type"` Value json.RawMessage `json:"value"` }
type MultiMintList ¶
type NonFungible ¶
type NonFungibleInformation ¶
type NonFungibleToken ¶
type NonFungibleToken struct { Name string `json:"name"` TokenType string `json:"tokenType"` TokenIndex string `json:"tokenIndex"` Meta string `json:"meta"` }
func (*NonFungibleToken) ID ¶
func (n *NonFungibleToken) ID() string
type NonFungibleTokenBurnRequest ¶
type NonFungibleTokenBurnRequest struct { *Request OwnerAddress string `json:"ownerAddress"` OwnerSecret string `json:"ownerSecret"` FromUserId string `json:"fromUserId,omitempty"` FromAddress string `json:"fromAddress,omitempty"` }
func (NonFungibleTokenBurnRequest) Encode ¶
func (r NonFungibleTokenBurnRequest) Encode() string
type NonFungibleTokenType ¶
type ParentNonFungible ¶
type Request ¶
type Request struct {
// contains filtered or unexported fields
}
func NewDeleteRequest ¶
func NewGetRequest ¶
func NewPostRequest ¶
func NewPutRequest ¶
func NewRequest ¶
type RequestType ¶
type RequestType string
const ( RequestTypeRedirectUri RequestType = "redirectUri" RequestTypeAOA RequestType = "aoa" )
type Response ¶
type Response struct { ResponseTime int64 `json:"responseTime"` StatusCode int64 `json:"statusCode"` StatusMessage string `json:"statusMessage"` ResponseData json.RawMessage `json:"responseData"` }
type RetrieveBaseCoinBalance ¶
type ServiceInformation ¶
type ServiceToken ¶
type ServiceToken struct { ContractID string `json:"contractId"` OwnerAddress string `json:"ownerAddress"` Name string `json:"name"` Symbol string `json:"symbol"` ImgURI string `json:"imgUri"` Meta string `json:"meta"` Decimals int64 `json:"decimals"` CreatedAt int64 `json:"createdAt"` TotalSupply string `json:"totalSupply"` TotalMint string `json:"totalMint"` TotalBurn string `json:"totalBurn"` ServiceID string `json:"serviceId"` }
type ServiceTokenHolders ¶
type ServiceTokenProxySet ¶
type ServiceTokenProxySet struct {
IsApproved bool `json:"isApproved"`
}
type SessionToken ¶
type SessionToken struct { RequestSessionToken string `json:"requestSessionToken"` RedirectURI string `json:"redirectUri"` }
func UnmarshalSessionToken ¶
func UnmarshalSessionToken(data []byte) (*SessionToken, error)
func (*SessionToken) Marshal ¶
func (r *SessionToken) Marshal() ([]byte, error)
type SessionTokenStatus ¶
type SessionTokenStatus string
const ( SessionTokenStatusUnknown SessionTokenStatus = "Unknown" SessionTokenStatusAuthorized SessionTokenStatus = "Authorized" )
type Transaction ¶
type Transaction struct { Height int64 `json:"height"` Txhash string `json:"txhash"` Index int64 `json:"index"` Codespace string `json:"codespace"` Code int64 `json:"code"` Logs []Log `json:"logs"` GasWanted int64 `json:"gasWanted"` GasUsed int64 `json:"gasUsed"` Tx Tx `json:"tx"` Timestamp int64 `json:"timestamp"` }
func ConstructRawTransaction ¶
func ConstructRawTransaction(raw []byte) (*Transaction, error)
func UnmarshalTransaction ¶
func UnmarshalTransaction(data []byte) (*Transaction, error)
func (*Transaction) Check ¶
func (t *Transaction) Check() (err error)
func (*Transaction) Marshal ¶
func (r *Transaction) Marshal() ([]byte, error)
type TransferBaseCoinsRequest ¶
type TransferBaseCoinsRequest struct { *Request WalletSecret string `json:"walletSecret"` ToUserId string `json:"toUserId,omitempty"` ToAddress string `json:"toAddress,omitempty"` Amount string `json:"amount"` }
func (TransferBaseCoinsRequest) Encode ¶
func (r TransferBaseCoinsRequest) Encode() string
type TransferDelegatedNonFungibleRequest ¶
type TransferDelegatedNonFungibleRequest struct { *Request OwnerAddress string `json:"ownerAddress"` OwnerSecret string `json:"ownerSecret"` ToUserId string `json:"toUserId,omitempty"` ToAddress string `json:"toAddress,omitempty"` }
func (TransferDelegatedNonFungibleRequest) Encode ¶
func (r TransferDelegatedNonFungibleRequest) Encode() string
type TransferDelegatedNonFungiblesRequest ¶
type TransferDelegatedNonFungiblesRequest struct { *Request OwnerAddress string `json:"ownerAddress"` OwnerSecret string `json:"ownerSecret"` ToUserId string `json:"toUserId,omitempty"` ToAddress string `json:"toAddress,omitempty"` TransferList []TransferList `json:"transferList"` }
func (TransferDelegatedNonFungiblesRequest) Encode ¶
func (r TransferDelegatedNonFungiblesRequest) Encode() string
type TransferDelegatedRequest ¶
type TransferDelegatedRequest struct { *Request OwnerAddress string `json:"ownerAddress"` OwnerSecret string `json:"ownerSecret"` Amount string `json:"amount"` ToUserId string `json:"toUserId,omitempty"` ToAddress string `json:"toAddress,omitempty"` }
func (TransferDelegatedRequest) Encode ¶
func (r TransferDelegatedRequest) Encode() string
type TransferList ¶
type TransferList struct {
TokenId string `json:"tokenId"`
}
type TransferNonFungibleServiceWalletRequest ¶
type TransferNonFungibleServiceWalletRequest struct { *Request WalletSecret string `json:"walletSecret"` ToUserId string `json:"toUserId,omitempty"` ToAddress string `json:"toAddress,omitempty"` }
func (TransferNonFungibleServiceWalletRequest) Encode ¶
func (r TransferNonFungibleServiceWalletRequest) Encode() string
type TransferNonFungibleUserWalletRequest ¶
type TransferNonFungibleUserWalletRequest struct { *Request OwnerAddress string `json:"ownerAddress"` OwnerSecret string `json:"ownerSecret"` ToUserId string `json:"toUserId,omitempty"` ToAddress string `json:"toAddress,omitempty"` }
func (TransferNonFungibleUserWalletRequest) Encode ¶
func (r TransferNonFungibleUserWalletRequest) Encode() string
type TransferRequest ¶
type TransferRequest struct { *Request WalletSecret string `json:"walletSecret"` ToUserId string `json:"toUserId,omitempty"` ToAddress string `json:"toAddress,omitempty"` Amount string `json:"amount"` }
func (TransferRequest) Encode ¶
func (r TransferRequest) Encode() string
type UpdateFungibleInformationRequest ¶
type UpdateFungibleInformationRequest struct { *Request OwnerAddress string `json:"ownerAddress"` OwnerSecret string `json:"ownerSecret"` Name string `json:"name,omitempty"` Meta string `json:"meta,omitempty"` }
func (UpdateFungibleInformationRequest) Encode ¶
func (r UpdateFungibleInformationRequest) Encode() string
type UpdateFungibleList ¶
type UpdateFungibleList struct {
TokenType string `json:"tokenType"`
}
type UpdateList ¶
type UpdateMediaResourcesResponse ¶ added in v1.1.0
type UpdateMediaResourcesResponse struct {
RequestId string `json:"requestId"`
}
type UpdateMultipleFungibleTokenIconsRequest ¶
type UpdateMultipleFungibleTokenIconsRequest struct { *Request UpdateList []*UpdateFungibleList `json:"updateList"` }
func (UpdateMultipleFungibleTokenIconsRequest) Encode ¶
func (r UpdateMultipleFungibleTokenIconsRequest) Encode() string
type UpdateMultipleFungibleTokenUpdateListRequest ¶ added in v1.1.0
type UpdateMultipleFungibleTokenUpdateListRequest struct { *Request UpdateList []*UpdateFungibleList `json:"updateList"` }
func (UpdateMultipleFungibleTokenUpdateListRequest) Encode ¶ added in v1.1.0
func (r UpdateMultipleFungibleTokenUpdateListRequest) Encode() string
type UpdateMultipleNonFungibleTokenIconsRequest ¶
type UpdateMultipleNonFungibleTokenIconsRequest struct { *Request UpdateList []*UpdateList `json:"updateList"` }
func (UpdateMultipleNonFungibleTokenIconsRequest) Encode ¶
func (r UpdateMultipleNonFungibleTokenIconsRequest) Encode() string
type UpdateMultipleNonFungibleTokenUpdateListRequest ¶ added in v1.1.0
type UpdateMultipleNonFungibleTokenUpdateListRequest struct { *Request UpdateList []*UpdateList `json:"updateList"` }
func (UpdateMultipleNonFungibleTokenUpdateListRequest) Encode ¶ added in v1.1.0
func (r UpdateMultipleNonFungibleTokenUpdateListRequest) Encode() string
type UpdateMultipleTokenIconsResponse ¶
type UpdateMultipleTokenIconsResponse struct {
RequestId string `json:"requestId"`
}
type UpdateNonFungibleInformationRequest ¶
type UpdateNonFungibleInformationRequest struct { *Request OwnerAddress string `json:"ownerAddress"` OwnerSecret string `json:"ownerSecret"` Name string `json:"name"` Meta string `json:"meta,omitempty"` }
func (UpdateNonFungibleInformationRequest) Encode ¶
func (r UpdateNonFungibleInformationRequest) Encode() string
type UpdateNonFungibleTokenTypeRequest ¶
type UpdateNonFungibleTokenTypeRequest struct { *Request OwnerAddress string `json:"ownerAddress"` OwnerSecret string `json:"ownerSecret"` Name string `json:"name"` Meta string `json:"meta"` }
func (UpdateNonFungibleTokenTypeRequest) Encode ¶
func (r UpdateNonFungibleTokenTypeRequest) Encode() string
type UpdateServiceTokenInformationRequest ¶
type UpdateServiceTokenInformationRequest struct { *Request OwnerAddress string `json:"ownerAddress"` OwnerSecret string `json:"ownerSecret"` Name string `json:"name,omitempty"` Meta string `json:"meta,omitempty"` }
func (UpdateServiceTokenInformationRequest) Encode ¶
func (r UpdateServiceTokenInformationRequest) Encode() string
type UpdateThumbnailsResponse ¶ added in v1.1.0
type UpdateThumbnailsResponse struct {
RequestId string `json:"requestId"`
}