Skip to main content
POST
cURL

Authorizations

X-API-KEY
string
header
required

Body

application/json
chain
string
required

Blockchain network to use

Required string length: 1 - 255
Example:

"arbitrum-sepolia"

action_id
string
required

Action Id

Required string length: 1 - 32
Example:

"dragon_slayed"

receiver
string
required

Ethereum addres of the receiver

Pattern: ^(0x)?[0-9a-fA-F]{40}$
Example:

"0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266"

app_id
string
required

Ethereum address of the application

Pattern: ^(0x)?[0-9a-fA-F]{40}$
Example:

"0x9716fb655f2a72b1fc1b4db02b8ad20b6747442a"

amount
integer
required

Amount of badges to reward

Required range: x >= 1
Example:

123

badge_name
string

Name of badge to reward, specify this or the badge_id

Required string length: 1 - 256
Example:

"Valiant warrior"

base_uri
string

URI of badge to reward

Maximum string length: 512
Example:

"ipfs://abc..."

badge_id
string

Ethereum address of badge to reward, specify this or badge name

Pattern: ^(0x)?[0-9a-fA-F]{40}$
Example:

"0xd1f09c70f6f2838a3ab6209c1465af68594667ec"

Response

Rewards Badge

status
enum<string>
required

Success response status

Available options:
success
Example:

"success"

unsignedTransaction
any | null

Unsigned transaction object for the user to sign