Skip to main content

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

required

    purpose stringrequired

    Possible values: [claim-web3-address]

    The purpose of the challenge.

    network stringrequired

    Possible values: [polygon-mainnet, polygon-amoy, arbitrum-sepolia, arbitrum-mainnet]

    The blockchain network associated with the web3 address.

    address stringrequired

    The web3 address to which the challenge is directed.

Responses

Successful operation

Schema

    id string

    The unique identifier of the challenge.

    purpose string

    Possible values: [claim-web3-address]

    The purpose of the challenge.

    address string

    The web3 address to which the challenge is directed.

    network string

    Possible values: [polygon-mainnet, polygon-amoy, arbitrum-sepolia, arbitrum-mainnet]

    The blockchain network associated with the web3 address.

    description string

    The description of the challenge.

    expiresAt string

    The time the challenge expires.

    createdAt string

    The time the challenge was created.

    message string

    The message to be signed by the web3 address owner.

Loading...