Integrate Merits
Last updated
Was this helpful?
Last updated
Was this helpful?
Merits are digital rewards collected by interacting with Blockscout and Blockscout-related apps and by participating in various activities (like contests, X participation, telegram participation, app participation and more). Merits are chain agnostic and can be incorporated into any application. For more details see the .
Merits are used to incentivize different activities within the Blockscout universe. For example:
Blockscout explorer basics: Earn Merits by signing up for the program. Once you are signed up, you can earn additional Merits by completing a daily claim. You can also share your referral code and earn Merits when new users sign up with that code.
Blockscout activity pass: The activity pass allows you to earn Merits for additional Blockscout activities like verifying and interacting with contracts.
Telegram mini app. The telegram Blockscout Merits Bot allows for direct communication with subscribers. Users who download the bot receive extra Merits ->
Swapscout swapping app. Merits are incorporated in the app so that users can view their balance and earn Merits for their swaps. . This is a good example of an external app that incorporates Merits.
Revokescout app. Merits are used to incentivize users but there is no sign in or interface. We simply check addresses that use the application and distribute Merits to those addresses.
Blockscout campaigns. Participants in time-gated campaigns such as rating Dapps or Twitter(X) contests receive additional Merits. We collect the Ethereum addresses of winners and distribute Merits manually.
Partner campaigns. Merits are allocated to users of other protocols as an additional incentive for use. Partners provide us with a list of addresses and tasks they completed and we distribute accordingly.
Merits can be integrated in different ways into your application. Ideas may be to include Merits as a reward for user interactions with your app or a general reward for any activity. Merits can be distributed to users via the API.
Users can have the ability to sign up for Merits through your app and/or login to their Merits account. You can also display individual Merits balances and leaderboard balances within your application. However, these are optional integrations.
To qualify for the bounty, you simply need to provide Merit incentives for certain activities, and then distribute those merits appropriately. As long as you have the participant's Ethereum address you can distribute Merits.
Request your API key at:
When you request an API key you become a partner! You will receive a balance of test Merits which can then be distributed to your users. * Requires API Key - Add the assigned API KEY in the Authorization header to see your information.
* Requires API Key - Add the assigned API KEY in the Authorization header to add your distribution information.
Notes:
id
must be unique per each API KEY, so itโs recommended to include date or time period describing the distribution period.
distributions
Max 1000
wallets per distribution.
Amounts less than 0.01
per address are not allowed.
Amounts can be in decimals, max 2 decimal digits precision is recommended.
create_missing_accounts
true
: allows distributions to not yet registered Merits accounts.
false
: only allow distributions to users that are already registered.
Use the following flow to get a User Token
Get Nonce from Backend
Ask for a signature from a user with a predefined message
Send data to get a user token
*Requires User Token: put the user token in the Authorization header
API hostname (and test merits dashboard):
Returns user information by address
The blockchain address of the user
User information
Returns the leaderboard information for a specific user
The blockchain address of the user
User leaderboard information
Returns the balance and distribution information for a partner
Partner balance information
Returns a nonce for authentication
Authentication nonce
Returns the detailed balance information for the authenticated user
User balance details
Returns activity logs for the authenticated user
Number of items to return per page
Token for pagination
User activity logs
Distributes merits to specified addresses
Unique ID for the distribution
ethglobal_rewards-2025/05/01
Human readable description of the distribution
Extra rewards from ProjectX for using Blockscout during ETH Global
Allow distribution for non-registered accounts if true
false
Total distribution amount (must equal sum of all amounts)
100.00
Distribution results
Authenticates a user with a signed message
Authentication nonce received from the server
4MCWIDlddqsmJAAAZ
The message that was signed
merits.blockscout.com wants you to sign in with your Ethereum account: 0x813399e5b08Bb50b038AA7dF6347b6AF2D161338 Sign-In for the Blockscout Merits program. URI: https://merits.blockscout.com Version: 1 Chain ID: 1 Nonce: 4MCWIDlddqsmJAAAZ Issued At: 2025-03-18T12:23:51.549Z Expiration Time: 2026-03-18T12:23:51.549Z
The signature of the message
0xb11b582a6ef196a3f20fa9c84443a92c9f456c9da2ce8ceea2bcf4ce2b936e35767ac2ff56a1de635b7a5f4bcb5da89c4297efb2b4ce559123891202731752661c
Authentication result