Skip to content

Latest commit

 

History

History
197 lines (189 loc) · 72.3 KB

SNIPPETS.md

File metadata and controls

197 lines (189 loc) · 72.3 KB

🌈 Table of Snippets

thirdsnips currently has a total of 181 snippets.

Prefix Description Category
provider Wrap your application in the Provider React SDK
useEdition The useEdition() hook SDK hooks
useEditionDrop The useEditionDrop() hook SDK hooks
useMarketplace The useMarketplace() hook SDK hooks
useNFTCollection The useNFTCollection() hook SDK hooks
useNFTDrop The useNFTDrop() hook SDK hooks
usePack The usePack() hook SDK hooks
useSplit The useSplit() hook SDK hooks
useToken The useToken() hook SDK hooks
useVote The useVote() hook SDK hooks
contractdeployerDeployEdition Deploys a new Edition contract ContractDeployer contract
contractdeployerDeployEditionDrop Deploys a new EditionDrop contract ContractDeployer contract
contractdeployerDeployMarketplace Deploys a new Marketplace contract ContractDeployer contract
contractdeployerDeployMultiwrap Deploys a new Multiwrap contract ContractDeployer contract
contractdeployerDeployNFTCollection Deploys an NFT Collection contract ContractDeployer contract
contractdeployerDeployNFTDrop Deploys a new NFTDrop contract ContractDeployer contract
contractdeployerDeployPack Deploys a new Pack contract ContractDeployer contract
contractdeployerDeploySignatureDrop Deploys a new SignatureDrop contract ContractDeployer contract
contractdeployerDeploySplit Deploys a new Split contract ContractDeployer contract
contractdeployerDeployToken Deploys a new Token contract ContractDeployer contract
contractdeployerDeployTokenDrop Deploys a new Token Drop contract ContractDeployer contract
contractdeployerDeployVote Deploys a new Vote contract ContractDeployer contract
contracteventsAddEventListener Subscribe to contract events ContractEvents contract
contracteventsAddTransactionListener Subscribe to transactions in this contract. ContractEvents contract
contracteventsGetAllEvents Get All Events ContractEvents contract
contracteventsGetEvents Get Events ContractEvents contract
contracteventsListenToAllEvents Listen to all events emitted from this contract ContractEvents contract
contracteventsRemoveAllListeners Remove all listeners on this contract ContractEvents contract
contracteventsRemoveEventListener Remove an event listener from this contract ContractEvents contract
contracteventsRemoveTransactionListener Remove a transaction listener ContractEvents contract
contractinterceptorOverrideNextTransaction The next transaction executed will add/replace any overrides passed via the passed in hook. ContractInterceptor contract
contractmetadataGet Get the metadata of a contract ContractMetadata contract
contractmetadataSet Set the metadata of a contract ContractMetadata contract
contractmetadataUpdate Update the metadata of a contract ContractMetadata contract
contractrolesGet Call this to get a list of addresses that are members of a specific role. ContractRoles contract
contractrolesGetAll Call this to get get a list of addresses for all supported roles on the contract. ContractRoles contract
contractrolesGrant Call this to grant a role to a specific address. ContractRoles contract
contractrolesRevoke Call this to revoke a role from a specific address. ContractRoles contract
contractrolesSetAll Call this to OVERWRITE the list of addresses that are members of specific roles.Every role in the list will be overwritten with the new list of addresses provided with them. If you want to add or remove addresses for a single address use {@link ContractRoles.grant} and {@link ContractRoles.revoke} respectively instead. ContractRoles contract
delayedrevealCreateDelayedRevealBatch Create a batch of encrypted NFTs that can be revealed at a later time. DelayedReveal contract
delayedrevealGetBatchesToReveal Gets the list of unrevealed NFT batches. DelayedReveal contract
delayedrevealReveal Reveal a batch of hidden NFTs DelayedReveal contract
dropclaimconditionsCanClaim Can Claim DropClaimConditions contract
dropclaimconditionsSet Set public mint conditions DropClaimConditions contract
editionBurnTokens Burn a specified amount of a NFT Edition contract
editionGetAll Get All Minted NFTs Edition contract
editionGetOwned Get Owned NFTs Edition contract
editionMintBatchTo Mint Many NFTs with limited supplies Edition contract
editionMintTo Mint an NFT with a limited supply Edition contract
editionAirdrop Airdrop multiple NFTs Edition contract
editionBalanceOf Get NFT Balance Edition contract
editionGet Get a single NFT Metadata Edition contract
editionTransfer Transfer a single NFT Edition contract
editiondropBurnTokens Burn a specified amount of a NFT EditionDrop contract
editiondropClaimTo Claim NFTs to a specific Wallet EditionDrop contract
editiondropCreateBatch Create a batch of NFTs to be claimed in the future EditionDrop contract
editiondropGetAll Get All Minted NFTs EditionDrop contract
editiondropGetOwned Get Owned NFTs EditionDrop contract
editiondropAirdrop Airdrop multiple NFTs EditionDrop contract
editiondropBalanceOf Get NFT Balance EditionDrop contract
editiondropGet Get a single NFT Metadata EditionDrop contract
editiondropTransfer Transfer a single NFT EditionDrop contract
gascostestimatorCurrentGasPriceInGwei Returns the current gas price in gwei GasCostEstimator contract
gascostestimatorGasCostOf Estimates the cost of gas in native token of the current chain Pass in the same parameters as the contract's function. GasCostEstimator contract
gascostestimatorGasLimitOf Estimates the gas limit of a transaction Pass in the same parameters as the contract's function. GasCostEstimator contract
marketplaceBuyoutListing Purchase NFTs Marketplace contract
marketplaceGetActiveListings Get all active listings Marketplace contract
marketplaceGetAllListings Get all the listings Marketplace contract
marketplaceGetListing Convenience function to get either a direct or auction listing Marketplace contract
marketplaceSetBidBufferBps Set the Auction bid buffer Marketplace contract
marketplaceSetTimeBufferInSeconds Set the Auction Time buffer: Marketplace contract
marketplaceauctionBuyoutListing Buyout Auction MarketplaceAuction contract
marketplaceauctionCancelListing Cancel Auction Listing MarketplaceAuction contract
marketplaceauctionCloseListing Close the Auction MarketplaceAuction contract
marketplaceauctionCreateListing Create Auction MarketplaceAuction contract
marketplaceauctionGetWinner Get Auction Winner MarketplaceAuction contract
marketplaceauctionGetWinningBid Get Highest Bid MarketplaceAuction contract
marketplaceauctionMakeBid Bid On Auction MarketplaceAuction contract
marketplacedirectAcceptOffer Accept an offer on a direct listing MarketplaceDirect contract
marketplacedirectBuyoutListing Buy a Listing MarketplaceDirect contract
marketplacedirectCancelListing Cancel Direct Listing MarketplaceDirect contract
marketplacedirectCreateListing Create Direct Listing MarketplaceDirect contract
marketplacedirectMakeOffer Make an offer for a Direct Listing MarketplaceDirect contract
multiwrapGetAll Get All Wrapped Token Bundles Multiwrap contract
multiwrapGetWrappedContents Get the contents of a wrapped token bundle Multiwrap contract
multiwrapUnwrap Unwrap a wrapped token bundle, and retrieve its contents Multiwrap contract
multiwrapWrap Wrap any number of ERC20/ERC721/ERC1155 tokens into a single wrapped token Multiwrap contract
multiwrapBalanceOf Get NFT Balance Multiwrap contract
multiwrapGet Get a single NFT Metadata Multiwrap contract
multiwrapTransfer Transfer a single NFT Multiwrap contract
nftcollectionBurnToken Burn a single NFT NFTCollection contract
nftcollectionGetAll Get All Minted NFTs NFTCollection contract
nftcollectionGetOwned Get Owned NFTs NFTCollection contract
nftcollectionMintBatchTo Mint Many unique NFTs NFTCollection contract
nftcollectionMintTo Mint a unique NFT NFTCollection contract
nftcollectionBalanceOf Get NFT Balance NFTCollection contract
nftcollectionGet Get a single NFT Metadata NFTCollection contract
nftcollectionTransfer Transfer a single NFT NFTCollection contract
nftdropBurnToken Burn a single NFT NFTDrop contract
nftdropClaimTo Claim unique NFTs to a specific Wallet NFTDrop contract
nftdropCreateBatch Create a batch of unique NFTs to be claimed in the future NFTDrop contract
nftdropGetAll Get All Minted NFTs NFTDrop contract
nftdropGetAllClaimed Get All Claimed NFTs NFTDrop contract
nftdropGetAllUnclaimed Get All Unclaimed NFTs NFTDrop contract
nftdropGetOwned Get Owned NFTs NFTDrop contract
nftdropTotalClaimedSupply Get the claimed supply NFTDrop contract
nftdropTotalUnclaimedSupply Get the unclaimed supply NFTDrop contract
nftdropBalanceOf Get NFT Balance NFTDrop contract
nftdropGet Get a single NFT Metadata NFTDrop contract
nftdropTransfer Transfer a single NFT NFTDrop contract
packCreate Create Pack Pack contract
packCreateTo Create Pack To Wallet Pack contract
packGetAll Get All Packs Pack contract
packGetOwned Get Owned Packs Pack contract
packGetPackContents Get Pack Contents Pack contract
packOpen Open Pack Pack contract
packAirdrop Airdrop multiple NFTs Pack contract
packBalanceOf Get NFT Balance Pack contract
packGet Get a single NFT Metadata Pack contract
packTransfer Transfer a single NFT Pack contract
signaturedropBurnToken Burn a single NFT SignatureDrop contract
signaturedropClaimTo Claim unique NFTs to a specific Wallet SignatureDrop contract
signaturedropCreateBatch Create a batch of unique NFTs to be claimed in the future SignatureDrop contract
signaturedropGetAll Get All Minted NFTs SignatureDrop contract
signaturedropGetAllClaimed Get All Claimed NFTs SignatureDrop contract
signaturedropGetAllUnclaimed Get All Unclaimed NFTs SignatureDrop contract
signaturedropGetOwned Get Owned NFTs SignatureDrop contract
signaturedropTotalClaimedSupply Get the claimed supply SignatureDrop contract
signaturedropTotalUnclaimedSupply Get the unclaimed supply SignatureDrop contract
signaturedropBalanceOf Get NFT Balance SignatureDrop contract
signaturedropGet Get a single NFT Metadata SignatureDrop contract
signaturedropTransfer Transfer a single NFT SignatureDrop contract
smartcontractCall Call any function on this contract SmartContract contract
splitBalanceOf Get Funds owed to a particular wallet Split contract
splitBalanceOfToken Get non-native Token Funds owed to a particular wallet Split contract
splitDistributeToken Distribute Funds Split contract
splitGetAllRecipients Get Recipients of this splits contract Split contract
splitWithdraw Withdraw Funds Split contract
thirdwebsdkFromPrivateKey Get an instance of the thirdweb SDK based on a private key. ThirdwebSDK contract
thirdwebsdkFromSigner Get an instance of the thirdweb SDK based on an existing ethers signer ThirdwebSDK contract
thirdwebsdkGetBalance Get the native balance of a given address (wallet or contract) ThirdwebSDK contract
thirdwebsdkGetContractFromAbi Get an instance of a Custom contract from a json ABI ThirdwebSDK contract
tokenBurnTokens Burn Tokens Token contract
tokenMintBatchTo Mint Tokens To Many Wallets Token contract
tokenMintTo Mint Tokens Token contract
tokenAllowanceOf Get Token Allowance Token contract
tokenBalance Get Token Balance for the currently connected wallet Token contract
tokenBalanceOf Get Token Balance Token contract
tokenGet Get the token Metadata (name, symbol, etc...) Token contract
tokenSetAllowance Allows the specified spender wallet to transfer the given amount of tokens to another wallet Token contract
tokenTotalSupply The total supply for this Token Token contract
tokenTransfer Transfer Tokens Token contract
tokenTransferBatch Transfer Tokens To Many Wallets Token contract
tokenTransferFrom Transfer Tokens From Address Token contract
tokendropBurnTokens Burn Tokens TokenDrop contract
tokendropClaimTo Claim a certain amount of tokens to a specific Wallet TokenDrop contract
tokendropAllowanceOf Get Token Allowance TokenDrop contract
tokendropBalance Get Token Balance for the currently connected wallet TokenDrop contract
tokendropBalanceOf Get Token Balance TokenDrop contract
tokendropGet Get the token Metadata (name, symbol, etc...) TokenDrop contract
tokendropSetAllowance Allows the specified spender wallet to transfer the given amount of tokens to another wallet TokenDrop contract
tokendropTotalSupply The total supply for this Token TokenDrop contract
tokendropTransfer Transfer Tokens TokenDrop contract
tokendropTransferBatch Transfer Tokens To Many Wallets TokenDrop contract
tokendropTransferFrom Transfer Tokens From Address TokenDrop contract
userwalletBalance Fetch the native or ERC20 token balance of this wallet UserWallet contract
userwalletGetAddress Get the currently connected address UserWallet contract
userwalletRecoverAddress Recover the signing address from a signed message UserWallet contract
userwalletSign Sign any message with the connected wallet private key UserWallet contract
userwalletTransfer Transfer native or ERC20 tokens from this wallet to another wallet UserWallet contract
voteCanExecute Can Execute Vote contract
voteExecute Execute Proposal Vote contract
voteGetAll Get All Proposals Vote contract
voteHasVoted Check If Wallet Voted Vote contract
votePropose Create Proposal Vote contract
voteVote Vote Vote contract
walletauthenticatorAuthenticate Authenticate With Token WalletAuthenticator contract
walletauthenticatorGenerateAuthToken Generate Authentication Token WalletAuthenticator contract
walletauthenticatorLogin Login With Connected Wallet WalletAuthenticator contract
walletauthenticatorVerify Verify Logged In Address WalletAuthenticator contract

⭐ Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2022 Avneesh Agarwal.
This project is GNU licensed.