POST
/
reward
/
credit

Authorizations

X-API-KEY
string
headerrequired

Body

application/json
chain
string
required

Blockchain network to use

action_id
string
required

Action Id

receiver
string
required

Ethereum addres of the receiver

app_id
string
required

Ethereum address of the application

token_address
string
required

Ethereum address of the Credit token

amount
number
required

Amount of tokens to reward

mint
boolean
default: false

Whether to mint the Credit tokens instead of doing a transfer

Response

200 - application/json
success
boolean
required

Success response

unsignedTransaction
any | null

Unsigned transaction object for the user to sign