Create Challenge

post/api/challenges

This endpoint creates a challenge for the user to sign to verify ownership of their web3 address. By signing the message actions such as creating a funding source can be performed.

Request

Body application/json

  • purposestringrequired
    Allowed values:claim-web3-address

    The purpose of the challenge.

  • networkstringrequired
    Allowed values:algorand-mainnetalgorand-testnetarbitrum-mainnetarbitrum-sepoliabase-mainnetbase-sepoliaethereum-sepoliapolygon-amoypolygon-mainnetsei-mainnetsei-testnetxahau-mainnetxahau-testnetmonad-mainnetmonad-testnet

    The blockchain network associated with the web3 address.

  • addressstringrequired

    The web3 address to which the challenge is directed.

Response

Successful operation.

Body application/json

  • idstring

    The unique identifier of the challenge.

  • purposestring
    Allowed values:claim-web3-address

    The purpose of the challenge.

  • addressstring

    The web3 address to which the challenge is directed.

  • networkstring
    Allowed values:polygon-mainnetpolygon-amoyarbitrum-mainnetarbitrum-sepoliabase-mainnetbase-sepoliasei-mainnetsei-testnetmonad-mainnetmonad-testnet

    The blockchain network associated with the web3 address.

  • descriptionstring

    The description of the challenge.

  • expiresAtstring

    The time the challenge expires.

  • createdAtstring

    The time the challenge was created.

  • messagestring

    The message to be signed by the web3 address owner.