API Reference
http://localhost:1317/crescent/claim/v1beta1/airdrops
{
"airdrops": [
{
"id": "1",
"source_address": "cre15rz2rwnlgr7nf6eauz52usezffwrxc0mxajpmw",
"conditions": [
"CONDITION_TYPE_DEPOSIT",
"CONDITION_TYPE_SWAP",
"CONDITION_TYPE_LIQUIDSTAKE",
"CONDITION_TYPE_VOTE"
],
"start_time": "2022-02-01T00:00:00Z",
"end_time": "2022-03-21T00:00:00Z"
}
],
"pagination": {
"next_key": null,
"total": "1"
}
}
http://localhost:1317/crescent/claim/v1beta1/airdrops/1
{
"airdrop": {
"id": "1",
"source_address": "cre15rz2rwnlgr7nf6eauz52usezffwrxc0mxajpmw",
"conditions": [
"CONDITION_TYPE_DEPOSIT",
"CONDITION_TYPE_SWAP",
"CONDITION_TYPE_LIQUIDSTAKE",
"CONDITION_TYPE_VOTE"
],
"start_time": "2022-02-01T00:00:00Z",
"end_time": "2022-03-21T00:00:00Z"
}
}
http://localhost:1317/crescent/claim/v1beta1/airdrops/1/claim_records/cre1zaavvzxez0elundtn32qnk9lkm8kmcszxclz6p
{
"claim_record": {
"airdrop_id": "1",
"recipient": "cre1zaavvzxez0elundtn32qnk9lkm8kmcszxclz6p",
"initial_claimable_coins": [
{
"denom": "airdrop",
"amount": "3000000000000"
}
],
"claimable_coins": [
{
"denom": "airdrop",
"amount": "3000000000000"
}
],
"claimed_conditions": [
]
}
}
Last modified 1yr ago