Nodes
Reward Badge
Reward a user with a badge for completing an action or mission.
Node Inputs
Key | Description |
---|---|
API Key | Your OPENFORMAT API Key. |
dApp ID | The ID for your OPENFORMAT dApp. |
Private Key | The private key for the account used to create your dApp. |
Badge Name | The name of the badge that you are awarding. |
Receiver | The account address for the user you are rewarding e.g 0x1234… |
Await | Whether you want to wait for the transaction to be confirmed before returning a response. |
Node Outputs
Key | Description |
---|---|
transactionHash | The hash of the transaction, used to uniquely identify it on the blockchain. |
blockExplorerUrl | A URL to view the transaction details on a block explorer. |
What’s next?
This badge will now appear in the list of collected_badges
when you use the Get User Information node with the receiver
address.
Also, you can now use the Badge Access Verifier template to grant the receiver
special access to specific
features or areas within your application.