Documentation ¶
Index ¶
- func BuyNFT(ctx *gin.Context, addressFrom string, addressTo string, id string) (interface{}, error)
- func FetchAllMintedBlogs(ctx *gin.Context, address string) (interface{}, error)
- func FetchAllNFTs(address string) ([]nftlabs.NftMetadata, error)
- func FetchNFTById(id int64) (*nftlabs.NftMetadata, error)
- func MintBlog(ctx *gin.Context, blog *dtos.MintBlog, address string) (interface{}, error)
- func MintExclusiveNFT(ipfsHash string, address string, blog *dtos.MintBlog) (*nftlabs.NftMetadata, error)
- func SendTransaction(profileAddress string, userAddress string, amount int)
- func SponsorAuthor(ctx *gin.Context, profileAddress string, userAddress string) (interface{}, error)
- func TransferNFT(id int64, addressFrom string, addressTo string) (*nftlabs.NftMetadata, error)
- func UploadToIPFS(body map[string]interface{}) (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchAllMintedBlogs ¶
func FetchAllNFTs ¶
func FetchAllNFTs(address string) ([]nftlabs.NftMetadata, error)
func FetchNFTById ¶
func FetchNFTById(id int64) (*nftlabs.NftMetadata, error)
func MintExclusiveNFT ¶
func SendTransaction ¶
func SponsorAuthor ¶
func TransferNFT ¶
func UploadToIPFS ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.