fragment.getCollectibleInfo
Fetch information about a fragment collectible, see here » for more info on the full flow.
func (c *Client) FragmentGetCollectibleInfo(ctx context.Context, collectible InputCollectibleClass) (*FragmentCollectibleInfo, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.FragmentGetCollectibleInfo(ctx, collectible)
if err != nil {
return err
}
_ = res // *FragmentCollectibleInfo
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Collectible | InputCollectibleClass | yes | Collectible to fetch info about. |
Returns
Possible errors
| Code | Type | Description |
|---|---|---|
| 400 | COLLECTIBLE_INVALID | The specified collectible is invalid. |
| 400 | COLLECTIBLE_NOT_FOUND | The specified collectible could not be found. |
References
- Official documentation
- Generated Go reference
- TL definition:
fragment.getCollectibleInfo#be1e85ba