❤️React
React to an NFT using a RARA reaction. This will generate an NFT (“Like Token”) for the Reactor. Add metadata to the reaction by including an IPFS hash.
{
transformId: Uint256, // The ID of the Reaction Transform you want to use
quantity: Uint256, // The number of Reactions you'd like to send
referrerAddress: Address, // The Address that should receive referrer cuts
optionBits: Uint256, // Parameter version of the Reaction you're using
takerNFTChainId: Uint256, // Chain ID of the NFT receiving the Reaction
takerNFTAddress: Address, // Contract Address of the NFT receiving the Reaction
takerNFTId: Uint256, // Token ID of the NFT receiving the Reaction
curatorVaultOverride: Address, // Override used for alternate Curator Vaults
ipfsMetadataHash: String // Additional metadata to be saved with Reaction
}Reaction Vault Contract Addresses
// Polygon Mainnet
0xE5BA5c73378BC8Da94738CB04490680ae3eab88C
// Polygon Mumbai
0xA374674F97885BD378059708e97f7117CB74683dReaction Vault Contract ABI
Reaction Vault ABI
{
address: "0xA374674F97885BD378059708e97f7117CB74683d", // Mumbai Address
abi:[{
name: 'react',
stateMutability: 'payable',
type: 'function',
inputs: [
{
internalType: 'uint256',
name: 'transformId',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'quantity',
type: 'uint256',
},
{
internalType: 'address',
name: 'referrer',
type: 'address',
},
{
internalType: 'uint256',
name: 'optionBits',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'takerNftChainId',
type: 'uint256',
},
{
internalType: 'address',
name: 'takerNftAddress',
type: 'address',
},
{
internalType: 'uint256',
name: 'takerNftId',
type: 'uint256',
},
{
internalType: 'address',
name: 'curatorVaultOverride',
type: 'address',
},
{
internalType: 'string',
name: 'ipfsMetadataHash',
type: 'string',
},
],
outputs: []
}]
}Parameters
transformId
quantity
referrerAddress
optionBits
takerNFTChainId
takerNFTContractAddress
takerNFTTokenId
curatorVaultOverride
IPFSMetadataHash
Source Code
Last updated