Send Enjin Request
Learn more aboout the Send Enjin Request
The
sendEnj
is a mutation that allows you to request your users to send Enjin (or JENJ) from their wallet to another wallet address. The user involved in the request should be the one approving this specific transaction.Using this request will allow you to request users to send ENJ from their wallet to another wallet address.
The
sendEnj
request has one single mutation.Mutation | Usage |
---|---|
sendEnj | Send Enjin or Jumpnet Enjin from wallet A to wallet B. |
Multiply the value by 10^18 to include 18 decimals on the value field
mutation {
SendEnj(
to: "WalletAddress"
value: "100000000000000000"
wallet: "WalletAddress"
) {
transactionId
id
state
value
}
}
If all the request parameters are correct, this should be the expected response.
{
"data": {
"SendEnj": {
"transactionId": null,
"id": xxxxx,
"state": "PENDING",
"value": "0.1"
}
}
}
After approving the transaction, the ENJ or JENJ should be transferred to the specified address.