Return data for check and claim airdrop
deno run --allow-env --allow-net app.ts
Need change avaliable CORS address: origin: your api address
app.use(
oakCors({
origin: "http://localhost:3000",
optionsSuccessStatus: 200,
})
);
Route | Description |
---|---|
GET /users | return all users |
GET /user/{address} | return a user |