Authentication

After the promotion period(2024-09-05 UTC), requests submitted to the MEV Service will be uniformly authenticated with auth. Please go to https://www.blockrazor.io/#/register to complete the registration as soon as possible, obtain the auth token, and set it up in the API request.

To verify the credential, please set the Authentication (auth token) in the HTTPS request. An example is as follows:

curl https://blockrazor-builder-frankfurt.48.club
    -X POST \
    -H "Content-Type: application/json" \
    -H "Authorization: M2ZiZj……JhODA1" \
    -d '{
         "jsonrpc": "2.0",
         "id": "1", 
         "method": "", 
         "params": {
          }
        }'

The "M2ZiZj...JhODA1" in the example is the auth token, which must be obtained after registering for BlockRazor. The steps are as follows:

  1. Go to https://www.blockrazor.io and click on [Register] in the upper right corner of the webpage, the system will redirect you to the registration page.

  2. On the registration page, enter your email and password, then click [Register], the system will send an account activation email to your mailbox.

  3. Go to your mailbox, check the account activation email, and click on the account activation link.

  4. After completing the account activation, proceed to log in, check your account information, and copy the auth token.

Last updated