Rewards
Reward XP
Trigger XP in your application when a user completes a specific action, such as registering, completing a task, watching a video or posting a comment. This is endpoint returns an unsigned transaction, which can now be signed in your application using your private key held in your local environment variables. Once signed, you can broadcast it using the Execute Transaction endpoint; or if you prefer to wait for confirmation using the Execute Transaction and Wait endpoint.
POST
Authorizations
Body
application/json
Blockchain network to use
Required string length:
1 - 255
Example:
"arbitrum-sepolia"
Action Id
Required string length:
1 - 32
Example:
"dragon_slayed"
Ethereum address of the receiver
Example:
"0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266"
Ethereum address of the application
Example:
"0x9716fb655f2a72b1fc1b4db02b8ad20b6747442a"
Amount of tokens to reward
Required range:
x > 0
Example:
123