ERC721 plugin for Goat. Allows you to create tools for transferring and getting the balance of ERC721 tokens.
npm install @goat-sdk/plugin-erc721
import { erc721, BAYC } from "@goat-sdk/plugin-erc721";
const plugin = erc721({
tokens: [BAYC],
});
import { erc721, BAYC } from "@goat-sdk/plugin-erc721";
const plugin = erc721({
tokens: [
BAYC,
{
symbol: "PUNK",
name: "CryptoPunks",
chains: {
"1": {
contractAddress: "0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB",
},
},
},
],
});
- Get token info by symbol
- Get balance
- Transfer
- Approve
- Revoke approval
- Total supply