✅Register
Registering NFTs allow them to be used as reactions in the RARA protocol.
{
nftContractAddress: Address, // The Address of the NFT you want to Register
nftId: Uint256, // Token ID of the NFT you want to Register
creatorAddress: Address, // The Address receiving a cut of Maker rewards
creatorSaleBasisPoints: Uint256 // The basis points set aside for the Maker
optionBits: Uint256, // Parameter version of the Reaction you're using
ipfsMetadataHash: String // Additional metadata saved with registration
}Maker Registrar Contract Addresses
// Polygon Mainnet
0x47CD3266FA94E40613B37a88D98196325Cd28412
// Polygon Mumbai
0x06493B0362b3892EEc7C63023e8bC0C0c64646ebMaker Registrar Contract ABI
Maker Registrar Contract ABI
{
address: "0x06493B0362b3892EEc7C63023e8bC0C0c64646eb", // Mumbai Address
abi:[{
name: 'registerNft',
stateMutability: 'nonpayable',
type: 'function',
inputs: [{
internalType: 'address',
name: 'nftContractAddress',
type: 'address',
},
{
internalType: 'uint256',
name: 'nftId',
type: 'uint256',
},
{
internalType: 'address',
name: 'creatorAddress',
type: 'address',
},
{
internalType: 'uint256',
name: 'creatorSaleBasisPoints',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'optionBits',
type: 'uint256',
},
{
internalType: 'string',
name: 'ipfsMetadataHash',
type: 'string',
},
],
outputs: [],
}]
}Parameters
nftContractAddress
nftTokenId
creatorAddress
creatorSaleBasisPoints
optionBits
IPFSMetadataHash
Source Code
Last updated