Skip to main content

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

NameTypeRequiredDescription
CollectibleInputCollectibleClassyesCollectible to fetch info about.

Returns

*FragmentCollectibleInfo

Possible errors

CodeTypeDescription
400COLLECTIBLE_INVALIDThe specified collectible is invalid.
400COLLECTIBLE_NOT_FOUNDThe specified collectible could not be found.

References