PublicKey; (base58 pubkey) An account key for storing the merkle tree rewards state. You need to have this secert key to initialize the on-chain sate.
PublicKey; distributor address
A unique ID to indicate a particular merkle tree update. Repeated POST using the same epochID is idempotent. await connection.getEpochInfo()
The reward type for this merkle tree.
A string to identify the project using this. For now, use your token symbol.
List of rewards to be included in the update. For each update, the amount would be added to the existing amount. The destination address is the owner address of token accounts, not the associated token account addresses.
Describes what the rewards. Display in the rewards caiming UI.
Generated using TypeDoc
PublicKey; (base58 pubkey) The account key that should sign the merkle tree insert