Documentation
¶
Index ¶
- Constants
- func CreateL1Account() (l1Addr, privateKeyStr, l2pk, seed string, err error)
- func GetAccountIndex(accountName string) (int64, error)
- func GetAccountL1Address(accountName string) (common.Address, error)
- func GetNextNonce(accountIdx int64) (int64, error)
- func GetSeedAndL2Pk(privateKeyStr string) (l2pk, seed string, err error)
- func IfAccountRegistered(accountName string) (bool, error)
- func SignMessage(key KeyManager, message string) string
- type AccountInfo
- type ActionBody
- type Asset
- type AtomicMatchTxInfo
- type Categorie
- type Client
- func (c *Client) AcceptOffer(offerId int64, isSell bool, AssetAmount *big.Int) (*RespAcceptOffer, error)
- func (c *Client) CancelOffer(offerId int64) (*RespCancelOffer, error)
- func (c *Client) CreateBuyOffer(AssetId int64, AssetType int64, AssetAmount *big.Int) (*RespListOffer, error)
- func (c *Client) CreateCollection(ShortName string, CategoryId string, CreatorEarningRate string, ...) (*RespCreateCollection, error)
- func (c *Client) CreateSellOffer(AssetId int64, AssetType int64, AssetAmount *big.Int) (*RespListOffer, error)
- func (c *Client) GetMyInfo() (accountName string, l2pk string, seed string)
- func (c *Client) MintNft(CollectionId int64, NftUrl string, Name string, Description string, ...) (*RespCreateAsset, error)
- func (c *Client) Offer(accountName string, tx string) (*RespListOffer, error)
- func (c *Client) SetKeyManager(keyManager KeyManager)
- func (c *Client) TransferNft(AssetId int64, toAccountName string) (*ResqSendTransferNft, error)
- func (c *Client) UpdateCollection(Id string, Name string, ops ...model.CollectionOption) (*RespUpdateCollection, error)
- func (c *Client) WithdrawNft(AssetId int64) (*ResqSendWithdrawNft, error)
- type Collection
- type CreateCollectionTxInfo
- type CreatePairTxInfo
- type DepositNftTxInfo
- type DepositTxInfo
- type FullExitNftTxInfo
- type FullExitTxInfo
- type HasuraDataOffer
- type HasuraOffer
- type HauaraNftInfo
- type InputAssetActionBody
- type InputBody
- type InputCollectionActionBody
- type InputCollectionAssetActionBody
- type InputCollectionByIdActionBody
- type InputGetAccountCollectionsActionBody
- type InputGetAccountOffersActionBody
- type InputGetAssetByIdActionBody
- type InputGetAssetOffersActionBody
- type InputOfferActionBody
- type KeyManager
- type Level
- type MediaDetail
- type MintNftTxInfo
- type NftAccountInfo
- type NftInfo
- type Offer
- type OfferTxInfo
- type Propertie
- type RegisterZnsTxInfo
- type ReqGetAccountAssets
- type ReqGetAccountCollections
- type ReqGetAccountOffers
- type ReqGetActionStatus
- type ReqGetAllCollectionByCategoryId
- type ReqGetAssetById
- type ReqGetAssetOffers
- type ReqGetCollectionAction
- type ReqGetCollectionAssets
- type ReqGetCollectionById
- type ReqGetOfferById
- type ReqGetOfferByOfferId
- type ReqGetPrepareCreateCollectionTxInfo
- type ReqGetPrepareTransferNftTxInfo
- type ReqGetPrepareWithdrawNftTxInfo
- type ReqMediaUpload
- type RespAcceptOffer
- type RespApplyRegisterHost
- type RespCancelOffer
- type RespCategoryById
- type RespCreateAsset
- type RespCreateCollection
- type RespGetAccountAssets
- type RespGetAccountByAccountName
- type RespGetAccountCollections
- type RespGetAccountOffers
- type RespGetActionStatus
- type RespGetAllAssetByCollectionId
- type RespGetAllCollectionByCategoryId
- type RespGetAssetOffers
- type RespGetCollectionAction
- type RespGetCollectionByCollectionId
- type RespGetCollectionCategories
- type RespGetContentHash
- type RespGetLayer2BasicInfo
- type RespGetNextNonce
- type RespGetNextOfferId
- type RespGetNftBeingBuy
- type RespGetNftBeingSell
- type RespGetOfferByAccountNameAndAssetId
- type RespGetOfferById
- type RespGetOfferByOfferId
- type RespListOffer
- type RespMediaUpload
- type RespSearchAsset
- type RespSearchCollection
- type RespSearchOffer
- type RespUpdateCollection
- type RespetAssetByAssetId
- type RespetPreparetxInfo
- type ResqGetCollectionAssets
- type ResqGetCollectionOwnerNum
- type ResqSendTransferNft
- type ResqSendWithdrawNft
- type SeedKeyManager
- type SessionVariablesBody
- type Stat
- type TransferNftTxInfo
- type TransferTxInfo
- type Tx
- type TxDetail
- type UpdatePairRateTxInfo
- type WithdrawNftTxInfo
- type WithdrawTxInfo
Constants ¶
View Source
const ( DefaultGasLimit = 5000000 NameSuffix = ".zec" )
View Source
const ( TxTypeEmpty = iota TxTypeRegisterZns TxTypeCreatePair TxTypeUpdatePairRate TxTypeDeposit TxTypeDepositNft TxTypeTransfer TxTypeSwap TxTypeAddLiquidity TxTypeRemoveLiquidity TxTypeWithdraw TxTypeCreateCollection //11 TxTypeMintNft //12 TxTypeTransferNft //13 TxTypeAtomicMatch //----> 14 TxTypeCancelOffer //----> 15 TxTypeWithdrawNft //16 TxTypeFullExit TxTypeFullExitNft //18 TxTypeOffer )
Variables ¶
This section is empty.
Functions ¶
func CreateL1Account ¶
func GetAccountIndex ¶
func GetNextNonce ¶
func GetSeedAndL2Pk ¶
func IfAccountRegistered ¶
func SignMessage ¶
func SignMessage(key KeyManager, message string) string
Types ¶
type AccountInfo ¶
type ActionBody ¶
type ActionBody struct {
Name string `json:"name,optional"`
}
type AtomicMatchTxInfo ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AcceptOffer ¶
func (*Client) CancelOffer ¶
func (c *Client) CancelOffer(offerId int64) (*RespCancelOffer, error)
func (*Client) CreateBuyOffer ¶
func (*Client) CreateCollection ¶
func (c *Client) CreateCollection(ShortName string, CategoryId string, CreatorEarningRate string, ops ...model.CollectionOption) (*RespCreateCollection, error)
func (*Client) CreateSellOffer ¶
func (*Client) Offer ¶
func (c *Client) Offer(accountName string, tx string) (*RespListOffer, error)
func (*Client) SetKeyManager ¶
func (c *Client) SetKeyManager(keyManager KeyManager)
func (*Client) TransferNft ¶
func (c *Client) TransferNft( AssetId int64, toAccountName string) (*ResqSendTransferNft, error)
func (*Client) UpdateCollection ¶
func (c *Client) UpdateCollection(Id string, Name string, ops ...model.CollectionOption) (*RespUpdateCollection, error)
func (*Client) WithdrawNft ¶
func (c *Client) WithdrawNft(AssetId int64) (*ResqSendWithdrawNft, error)
type Collection ¶
type Collection struct { Id int64 `json:"id"` L2CollectionId int64 `json:"l2_collection_id"` AccountName string `json:"account_name"` Name string `json:"name"` ShortName string `json:"short_name"` Description string `json:"description"` CategoryId int64 `json:"category_id"` CollectionUrl string `json:"collection_url"` ExternalLink string `json:"external_link"` TwitterLink string `json:"twitter_link"` InstagramLink string `json:"instagram_link"` TelegramLink string `json:"telegram_link"` DiscordLink string `json:"discord_link"` LogoImage string `json:"logo_image"` LogoThumb string `json:"logo_thumb"` FeaturedImage string `json:"featured_image"` FeaturedThumb string `json:"featured_Thumb"` BannerImage string `json:"banner_image"` BannerThumb string `json:"banner_thumb"` CreatorEarningRate int64 `json:"creator_earning_rate"` Status string `json:"status"` ExpiredAt int64 `json:"expired_at"` CreatedAt int64 `json:"created_at"` ItemCount int64 `json:"item_count"` BrowseCount int64 `json:"browse_count"` FloorPrice int64 `json:"floor_price"` OneDayTradeVolume int64 `json:"one_day_trade_volume"` TotalTradeVolume int64 `json:"total_trade_volume"` }
type CreateCollectionTxInfo ¶
type CreatePairTxInfo ¶
type DepositNftTxInfo ¶
type DepositTxInfo ¶
type FullExitNftTxInfo ¶
type FullExitTxInfo ¶
type HasuraDataOffer ¶
type HasuraDataOffer struct {
Offers []*HasuraOffer `json:"offer"`
}
type HasuraOffer ¶
type HasuraOffer struct { Id int64 `json:"id"` L2OfferId int64 `json:"l2_offer_id"` Direction int `json:"direction"` AssetId int64 `json:"asset_id"` PaymentAssetId int64 `json:"payment_asset_id"` PaymentAssetAmount float64 `json:"payment_asset_amount"` Status int `json:"status"` Signature string `json:"signature"` ExpiredAt int64 `json:"expired_at"` CreatedAt string `json:"created_at"` Asset *HauaraNftInfo `json:"asset"` }
type HauaraNftInfo ¶
type HauaraNftInfo struct { Id int64 `json:"id"` NftIndex int64 `json:"nft_index"` CollectionId int64 `json:"collection_id"` CreatorEarningRate int64 `json:"creator_earning_rate"` Name string `json:"name"` Description string `json:"description"` Media MediaDetail `json:"media_detail"` ImageThumb string `json:"image_thumb"` VideoThumb string `json:"video_thumb"` AudioThumb string `json:"audio_thumb"` Status int64 `json:"status"` ContentHash string `json:"content_hash"` NftUrl string `json:"nft_url"` ExpiredAt int64 `json:"expired_at"` CreatedAt int64 `json:"created_at"` Properties Propertie `json:"properties"` Levels Level `json:"levels"` Stats Stat `json:"stats"` }
type InputAssetActionBody ¶
type InputAssetActionBody struct {
AccountIndex int64 `json:"account_index"`
}
type InputCollectionAssetActionBody ¶
type InputCollectionAssetActionBody struct {
CollectionId int64 `json:"collection_id"`
}
type InputCollectionByIdActionBody ¶
type InputCollectionByIdActionBody struct {
CollectionId int64 `json:"collection_id"`
}
type InputGetAccountCollectionsActionBody ¶
type InputGetAccountCollectionsActionBody struct {
AccountIndex int64 `json:"account_index"`
}
type InputGetAccountOffersActionBody ¶
type InputGetAccountOffersActionBody struct {
AccountIndex int64 `json:"account_index"`
}
type InputGetAssetByIdActionBody ¶
type InputGetAssetByIdActionBody struct {
AssetId int64 `json:"asset_id"`
}
type InputGetAssetOffersActionBody ¶
type InputGetAssetOffersActionBody struct {
AssetId int64 `json:"asset_id"`
}
type InputOfferActionBody ¶
type InputOfferActionBody struct {
OfferId int64 `json:"offer_id"`
}
type KeyManager ¶
type KeyManager interface { Sign(message []byte, hFunc hash.Hash) ([]byte, error) Public() signature.PublicKey }
func NewSeedKeyManager ¶
func NewSeedKeyManager(seed string) (KeyManager, error)
type MediaDetail ¶
type MediaDetail struct {
Url string `json:"url"`
}
========================= hasura struct ============================
type MintNftTxInfo ¶
type NftAccountInfo ¶
type NftAccountInfo struct { Id int64 `json:"id"` AccountIndex int64 `json:"account_index"` AccountPk string `json:"account_pk"` AccountName string `json:"account_name"` Bio string `json:"bio"` Email string `json:"email"` ExternalLink string `json:"external_link"` TwitterLink string `json:"twitter_link"` InstagramLink string `json:"instagram_link"` ProfileImage string `json:"profile_image"` ProfileThumb string `json:"profile_thumb"` BannerImage string `json:"banner_image"` BannerThumb string `json:"banner_thumb"` CreatedAt int64 `json:"created_at"` }
type NftInfo ¶
type NftInfo struct { Id int64 `json:"id"` AccountName string `json:"account_name"` NftIndex int64 `json:"nft_index"` CollectionId int64 `json:"collection_id"` CreatorEarningRate int64 `json:"creator_earning_rate"` Name string `json:"name"` Description string `json:"description"` Media string `json:"media"` ImageThumb string `json:"image_thumb"` VideoThumb string `json:"video_thumb"` AudioThumb string `json:"audio_thumb"` Status string `json:"status"` ContentHash string `json:"content_hash"` NftUrl string `json:"nft_url"` ExpiredAt int64 `json:"expired_at"` CreatedAt int64 `json:"created_at"` Properties []Propertie `json:"properties"` Levels []Level `json:"levels"` Stats []Stat `json:"stats"` }
type Offer ¶
type Offer struct { Id int64 `json:"id"` L2OfferId int64 `json:"l2_offer_id"` AccountName string `json:"account_name"` Direction string `json:"direction"` AssetId int64 `json:"asset_id"` PaymentAssetId int64 `json:"payment_asset_id"` PaymentAssetAmount string `json:"payment_asset_amount"` Status string `json:"status"` Signature string `json:"signature"` ExpiredAt int64 `json:"expired_at"` CreatedAt int64 `json:"created_at"` }
type OfferTxInfo ¶
type RegisterZnsTxInfo ¶
type ReqGetAccountAssets ¶
type ReqGetAccountAssets struct { Input InputAssetActionBody `json:"input"` Action ActionBody `json:"action,optional"` SessionVariables SessionVariablesBody `json:"session_variables,optional"` RequestQuery string `json:"request_query"` }
type ReqGetAccountCollections ¶
type ReqGetAccountCollections struct { Input InputGetAccountCollectionsActionBody `json:"input"` Action ActionBody `json:"action,optional"` SessionVariables SessionVariablesBody `json:"session_variables,optional"` RequestQuery string `json:"request_query"` }
type ReqGetAccountOffers ¶
type ReqGetAccountOffers struct { Input InputGetAccountOffersActionBody `json:"input"` Action ActionBody `json:"action,optional"` SessionVariables SessionVariablesBody `json:"session_variables,optional"` RequestQuery string `json:"request_query"` }
type ReqGetActionStatus ¶
type ReqGetActionStatus struct { Input InputBody `json:"input"` Action ActionBody `json:"action,optional"` SessionVariables SessionVariablesBody `json:"session_variables,optional"` RequestQuery string `json:"request_query"` }
type ReqGetAllCollectionByCategoryId ¶
type ReqGetAllCollectionByCategoryId struct {
CategoryId int64 `form:"category_id"`
}
type ReqGetAssetById ¶
type ReqGetAssetById struct { Input InputGetAssetByIdActionBody `json:"input"` Action ActionBody `json:"action,optional"` SessionVariables SessionVariablesBody `json:"session_variables,optional"` RequestQuery string `json:"request_query"` }
type ReqGetAssetOffers ¶
type ReqGetAssetOffers struct { Input InputGetAssetOffersActionBody `json:"input"` Action ActionBody `json:"action,optional"` SessionVariables SessionVariablesBody `json:"session_variables,optional"` RequestQuery string `json:"request_query"` }
type ReqGetCollectionAction ¶
type ReqGetCollectionAction struct { Input InputCollectionActionBody `json:"input"` Action ActionBody `json:"action,optional"` SessionVariables SessionVariablesBody `json:"session_variables,optional"` RequestQuery string `json:"request_query"` }
type ReqGetCollectionAssets ¶
type ReqGetCollectionAssets struct { Input InputCollectionAssetActionBody `json:"input"` Action ActionBody `json:"action,optional"` SessionVariables SessionVariablesBody `json:"session_variables,optional"` RequestQuery string `json:"request_query"` }
type ReqGetCollectionById ¶
type ReqGetCollectionById struct { Input InputCollectionByIdActionBody `json:"input"` Action ActionBody `json:"action,optional"` SessionVariables SessionVariablesBody `json:"session_variables,optional"` RequestQuery string `json:"request_query"` }
type ReqGetOfferById ¶
type ReqGetOfferById struct { Input InputOfferActionBody `json:"input"` Action ActionBody `json:"action,optional"` SessionVariables SessionVariablesBody `json:"session_variables,optional"` RequestQuery string `json:"request_query"` }
type ReqGetOfferByOfferId ¶
type ReqGetOfferByOfferId struct {
OfferId int64 `form:"offer_id"`
}
type ReqGetPrepareCreateCollectionTxInfo ¶
type ReqGetPrepareCreateCollectionTxInfo struct {
AccountName string `form:"account_name"`
}
type ReqMediaUpload ¶
type ReqMediaUpload struct {
// contains filtered or unexported fields
}
type RespAcceptOffer ¶
type RespAcceptOffer struct {
Offer Offer `json:"offer"`
}
type RespApplyRegisterHost ¶
type RespApplyRegisterHost struct {
Ok bool `json:"ok"`
}
func ApplyRegisterHost ¶
func ApplyRegisterHost( accountName string, l2Pk string, OwnerAddr string) (*RespApplyRegisterHost, error)
type RespCancelOffer ¶
type RespCancelOffer struct {
Offer Offer `json:"offer"`
}
type RespCategoryById ¶
type RespCategoryById struct {
Category Categorie `json:"categorie"`
}
type RespCreateAsset ¶
type RespCreateAsset struct {
Asset NftInfo `json:"asset"`
}
type RespCreateCollection ¶
type RespCreateCollection struct {
Collection Collection `json:"collection"`
}
type RespGetAccountAssets ¶
type RespGetAccountAssets struct { ConfirmedAssetIdList []int64 `json:"confirmedAssetIdList"` PendingAssets []*NftInfo `json:"pendingAssets"` }
func GetAccountNFTs ¶
func GetAccountNFTs(AccountIndex int64) (*RespGetAccountAssets, error)
type RespGetAccountByAccountName ¶
type RespGetAccountByAccountName struct {
Account NftAccountInfo `json:"account"`
}
func GetAccountByAccountName ¶
func GetAccountByAccountName(accountName string) (*RespGetAccountByAccountName, error)
type RespGetAccountCollections ¶
type RespGetAccountCollections struct { ConfirmedCollectionIdList []int64 `json:"confirmedCollectionIdList"` PendingCollections []Collection `json:"pendingCollections"` }
func GetCollectionsByAccountIndex ¶
func GetCollectionsByAccountIndex(AccountIndex int64) (*RespGetAccountCollections, error)
type RespGetAccountOffers ¶
type RespGetAccountOffers struct { ConfirmedOfferIdList []int64 `json:"confirmedOfferIdList"` PendingOffers []Offer `json:"pendingOffers"` }
func GetAccountOffers ¶
func GetAccountOffers(AccountIndex int64) (*RespGetAccountOffers, error)
type RespGetActionStatus ¶
type RespGetAllCollectionByCategoryId ¶
type RespGetAllCollectionByCategoryId struct { Total int64 `json:"total"` Collections []Collection `json:"collections"` }
type RespGetAssetOffers ¶
type RespGetAssetOffers struct { ConfirmedOfferIdList []int64 `json:"confirmedOfferIdList"` PendingOffers []Offer `json:"pendingOffers"` }
func GetNftOffers ¶
func GetNftOffers(NftId int64) (*RespGetAssetOffers, error)
type RespGetCollectionAction ¶
type RespGetCollectionAction struct { OpCode string `json:"opCode"` Collection Collection `json:"collection"` }
type RespGetCollectionByCollectionId ¶
type RespGetCollectionByCollectionId struct {
Collection Collection `json:"collection"`
}
func GetCollectionById ¶
func GetCollectionById(collectionId int64) (*RespGetCollectionByCollectionId, error)
type RespGetCollectionCategories ¶
type RespGetCollectionCategories struct {
Categories []*Categorie `json:"categories"`
}
func GetCategories ¶
func GetCategories() (*RespGetCollectionCategories, error)
type RespGetContentHash ¶
type RespGetContentHash struct {
ContentHash string `json:"content_hash"`
}
type RespGetLayer2BasicInfo ¶
type RespGetLayer2BasicInfo struct { BlockCommitted int64 `json:"block_committed"` BlockVerified int64 `json:"block_verified"` TotalTransactions int64 `json:"total_transactions"` TransactionsCountYesterday int64 `json:"transactions_count_yesterday"` TransactionsCountToday int64 `json:"transactions_count_today"` DauYesterday int64 `json:"dau_yesterday"` DauToday int64 `json:"dau_today"` ContractAddresses []string `json:"contract_addresses"` }
func GetLayer2BasicInfo ¶
func GetLayer2BasicInfo() (*RespGetLayer2BasicInfo, error)
type RespGetNextNonce ¶
type RespGetNextNonce struct {
Nonce int64 `json:"nonce"`
}
type RespGetNextOfferId ¶
type RespGetNextOfferId struct {
Id int64 `json:"id"`
}
func GetNextOfferId ¶
func GetNextOfferId(AccountName string) (*RespGetNextOfferId, error)
type RespGetNftBeingBuy ¶
type RespGetNftBeingBuy struct {
Data *HasuraDataOffer `json:"data"`
}
type RespGetNftBeingSell ¶
type RespGetNftBeingSell struct {
Data *HasuraDataOffer `json:"data"`
}
func GetListingOffers ¶
func GetListingOffers(isSell int64) (*RespGetNftBeingSell, error)
type RespGetOfferByAccountNameAndAssetId ¶
type RespGetOfferByAccountNameAndAssetId struct {
Offer Offer `json:"offer"`
}
type RespGetOfferById ¶
type RespGetOfferById struct {
OfferId Offer `json:"offer"`
}
type RespGetOfferByOfferId ¶
type RespGetOfferByOfferId struct {
Offer Offer `json:"offer"`
}
func GetOfferById ¶
func GetOfferById(OfferId int64) (*RespGetOfferByOfferId, error)
type RespListOffer ¶
type RespListOffer struct {
Offer Offer `json:"offer"`
}
type RespMediaUpload ¶
type RespMediaUpload struct { PublicId string `json:"public_id"` Url string `json:"url,omitempty"` }
func UploadMedia ¶
func UploadMedia(filePath string) (*RespMediaUpload, error)
type RespSearchAsset ¶
type RespSearchCollection ¶
type RespSearchCollection struct { Total int64 `json:"total"` Collections []Collection `json:"collections"` }
type RespSearchOffer ¶
type RespSearchOffer struct {
Offer []Offer `json:"offers"`
}
type RespUpdateCollection ¶
type RespUpdateCollection struct {
Collection Collection `json:"collection"`
}
type RespetAssetByAssetId ¶
type RespetAssetByAssetId struct {
Asset *NftInfo `json:"asset"`
}
func GetNftById ¶
func GetNftById(nftId int64) (*RespetAssetByAssetId, error)
type RespetPreparetxInfo ¶
type ResqGetCollectionAssets ¶
type ResqGetCollectionOwnerNum ¶
type ResqGetCollectionOwnerNum struct {
OwnerNum int64 `json:"owner_num"`
}
type ResqSendTransferNft ¶
type ResqSendTransferNft struct {
Success bool `json:"success"`
}
type ResqSendWithdrawNft ¶
type ResqSendWithdrawNft struct {
Success bool `json:"success"`
}
type SeedKeyManager ¶
type SeedKeyManager struct {
// contains filtered or unexported fields
}
func (*SeedKeyManager) Public ¶
func (key *SeedKeyManager) Public() signature.PublicKey
type SessionVariablesBody ¶
type TransferNftTxInfo ¶
type TransferTxInfo ¶
type Tx ¶
type Tx struct { TxId int64 `json:"tx_id"` TxHash string `json:"tx_hash"` TxType int64 `json:"tx_type"` GasFee string `json:"gas_fee"` GasFeeAssetId int64 `json:"gas_fee_asset_id"` TxStatus int64 `json:"tx_status"` BlockHeight int64 `json:"block_height"` BlockId int64 `json:"block_id"` StateRoot string `json:"state_root"` NftIndex int64 `json:"nft_index"` PairIndex int64 `json:"pair_index"` AssetId int64 `json:"asset_id"` TxAmount string `json:"tx_amount"` NativeAddress string `json:"native_address"` TxInfo string `json:"tx_info"` TxDetails []*TxDetail `json:"tx_details"` ExtraInfo string `json:"extra_info"` Memo string `json:"memo"` AccountIndex int64 `json:"account_index"` Nonce int64 `json:"nonce"` ExpiredAt int64 `json:"expired_at"` }
type TxDetail ¶
type TxDetail struct { TxId int64 `json:"tx_id"` AssetId int64 `json:"asset_id"` AssetType int64 `json:"asset_type"` AccountIndex int64 `json:"account_index"` AccountName string `json:"account_name"` Balance string `json:"balance"` BalanceDelta string `json:"balance_delta"` Order int64 `json:"order"` AccountOrder int64 `json:"account_order"` Nonce int64 `json:"nonce"` CollectionNonce int64 `json:"collection_nonce"` }
type UpdatePairRateTxInfo ¶
type WithdrawNftTxInfo ¶
type WithdrawNftTxInfo struct { AccountIndex int64 CreatorAccountIndex int64 CreatorAccountNameHash []byte CreatorTreasuryRate int64 NftIndex int64 NftContentHash []byte NftL1Address string NftL1TokenId *big.Int CollectionId int64 ToAddress string GasAccountIndex int64 GasFeeAssetId int64 GasFeeAssetAmount *big.Int ExpiredAt int64 Nonce int64 Sig []byte }
Source Files
¶
Click to show internal directories.
Click to hide internal directories.