POST
/
reward
/
credit

Authorizations

X-API-KEY
string
headerrequired

Body

application/json
chain
string
required

Blockchain network to use

Required string length: 1 - 255
action_id
string
required

Action Id

Required string length: 1 - 32
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

Required range: x > 0
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