Documentation ¶
Index ¶
- type ArSeedCli
- func (a *ArSeedCli) BroadcastTxData(arId string) error
- func (a *ArSeedCli) BroadcastTxMeta(arId string) error
- func (a *ArSeedCli) BundleFee(size int64, currency string) (schema.RespFee, error)
- func (a *ArSeedCli) GetBroadcastMetaTask(arId string) (schema.Task, error)
- func (a *ArSeedCli) GetBroadcastTask(arId string) (schema.Task, error)
- func (a *ArSeedCli) GetBundler() (string, error)
- func (a *ArSeedCli) GetItemIds(arId string) ([]string, error)
- func (a *ArSeedCli) GetItemMeta(itemId string) (types.BundleItem, error)
- func (a *ArSeedCli) GetOrders(addr string, startId int) ([]schema.Order, error)
- func (a *ArSeedCli) GetSyncTask(arId string) (schema.Task, error)
- func (a *ArSeedCli) KillBroadcastMetaTask(arId string) error
- func (a *ArSeedCli) KillBroadcastTask(arId string) error
- func (a *ArSeedCli) KillSyncTask(arId string) error
- func (a *ArSeedCli) SubmitItem(itemBinary []byte, currency string, apikey string, needSequence bool) (*schema.RespOrder, error)
- func (a *ArSeedCli) SubmitNativeData(apiKey string, data []byte, contentType string, tags map[string]string) (*schema.RespItemId, error)
- func (a *ArSeedCli) SubmitTx(arTx types.Transaction) error
- func (a *ArSeedCli) SubmitTxConcurrent(ctx context.Context, concurrentNum int, arTx types.Transaction) error
- func (a *ArSeedCli) SyncTx(arId string) error
- type SDK
- func (s *SDK) BatchPayOrders(orders []*arseedSchema.RespOrder) (everTxs []*paySchema.Transaction, err error)
- func (s *SDK) PayOrders(orders []*arseedSchema.RespOrder) (everTx *paySchema.Transaction, err error)
- func (s *SDK) SendData(data []byte, currency string, apikey string, option *schema.OptionItem, ...) (order *arseedSchema.RespOrder, err error)
- func (s *SDK) SendDataAndPay(data []byte, currency string, option *schema.OptionItem, needSequence bool) (everTx *paySchema.Transaction, itemId string, err error)
- func (s *SDK) UploadFolder(rootPath string, batchSize int, indexFile string, currency string) (orders []*seedSchema.RespOrder, manifestId string, err error)
- func (s *SDK) UploadFolderAndPay(rootPath string, batchSize int, indexFile string, currency string) (orders []*seedSchema.RespOrder, manifestId string, ...)
- func (s *SDK) UploadFolderWithNoFee(rootPath string, batchSize int, indexFile string, noFeeApikey string) (orders []*seedSchema.RespOrder, manifestId string, err error)
- func (s *SDK) UploadFolderWithSequence(rootPath string, batchSize int, indexFile string, noFeeApikey string) (orders []*seedSchema.RespOrder, manifestId string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArSeedCli ¶
func (*ArSeedCli) BroadcastTxData ¶
func (*ArSeedCli) BroadcastTxMeta ¶ added in v1.0.8
func (*ArSeedCli) GetBroadcastMetaTask ¶ added in v1.0.0
func (*ArSeedCli) GetBroadcastTask ¶ added in v1.0.0
func (*ArSeedCli) GetBundler ¶ added in v1.0.0
func (*ArSeedCli) GetItemIds ¶ added in v1.0.0
func (*ArSeedCli) GetItemMeta ¶ added in v1.0.0
func (a *ArSeedCli) GetItemMeta(itemId string) (types.BundleItem, error)
func (*ArSeedCli) GetSyncTask ¶ added in v1.0.0
func (*ArSeedCli) KillBroadcastMetaTask ¶ added in v1.0.0
func (*ArSeedCli) KillBroadcastTask ¶ added in v1.0.0
func (*ArSeedCli) KillSyncTask ¶ added in v1.0.0
func (*ArSeedCli) SubmitItem ¶ added in v1.0.0
func (*ArSeedCli) SubmitNativeData ¶ added in v1.0.7
func (*ArSeedCli) SubmitTxConcurrent ¶ added in v1.0.25
type SDK ¶ added in v1.0.1
type SDK struct { ItemSigner *goar.ItemSigner Cli *ArSeedCli Pay *paySdk.SDK }
func (*SDK) BatchPayOrders ¶ added in v1.0.13
func (s *SDK) BatchPayOrders(orders []*arseedSchema.RespOrder) (everTxs []*paySchema.Transaction, err error)
func (*SDK) PayOrders ¶ added in v1.0.13
func (s *SDK) PayOrders(orders []*arseedSchema.RespOrder) (everTx *paySchema.Transaction, err error)
func (*SDK) SendData ¶ added in v1.0.8
func (s *SDK) SendData(data []byte, currency string, apikey string, option *schema.OptionItem, needSequence bool) (order *arseedSchema.RespOrder, err error)
func (*SDK) SendDataAndPay ¶ added in v1.0.1
func (s *SDK) SendDataAndPay(data []byte, currency string, option *schema.OptionItem, needSequence bool) (everTx *paySchema.Transaction, itemId string, err error)
func (*SDK) UploadFolder ¶ added in v1.0.13
func (*SDK) UploadFolderAndPay ¶ added in v1.0.14
func (*SDK) UploadFolderWithNoFee ¶ added in v1.0.14
Click to show internal directories.
Click to hide internal directories.