Documentation ¶
Index ¶
Constants ¶
View Source
const ( Chain = "rinkeby" StatusOK = "OK" URL = "https://api.nftport.xyz" )
Variables ¶
View Source
var (
ErrUnknown = errors.New("unknown error")
)
View Source
var Module = fx.Provide( NewClient, NewConfig, )
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { GetNFT(ctx context.Context, contractAddress string, tokenID string) (model.NFT, error) ListAccountNFTs( ctx context.Context, address string, pageSize int, pageToken string, ) ([]model.NFT, string, error) ListContractNFTs( ctx context.Context, address string, pageSize int, pageToken string, ) ([]model.NFT, string, error) }
Click to show internal directories.
Click to hide internal directories.