Skip to content

Instantly share code, notes, and snippets.

@hankc97
Created January 12, 2023 19:50
Show Gist options
  • Save hankc97/71fa9b675d9e180755742ab6e18d5c7d to your computer and use it in GitHub Desktop.
Save hankc97/71fa9b675d9e180755742ab6e18d5c7d to your computer and use it in GitHub Desktop.
{"info":{"version":"1.0.0","title":"Hello Moon Public API","description":"Data access for Hello Moon"},"servers":[{"url":"https://rest-api.hellomoon.io"}],"openapi":"3.0.0","components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"block_rewards":{"type":"array","items":{"type":"object","properties":{"blockid":{"type":"number","description":"Numeric identifier of a block describing the slot that the block was produced in","example":154105605},"blocktime":{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes. \n Due to the voting mechanism, the block time may change for a while after a block is produced, \n and blocks with higher block id's may have lower block time. You can convert blocktime to UTC time \n with the Date library in any language.","example":1622576000},"commission":{"type":"number","description":"commission earned by the validator by providing rewards. Ranges 0-100 so 10 is 10%","example":10},"lamports":{"type":"number","description":"lamports given to the publickey","example":142522511},"postbalance":{"type":"number","description":"balance of the public key of the account after the reward","example":142522511},"pubkey":{"type":"string","description":"public key of the account that received the reward (i.e, staking account)","example":"E4vbW55NDqJgLyGmE7Y1xSNrXqgHZ328Pfzwcm5nMPzN"},"rewardtype":{"type":"string","enum":["Fee","Staking","Voting"],"description":"The type of reward given to the account","example":"Fee"}},"required":["blockid","blocktime","commission","lamports","postbalance","pubkey","rewardtype"]}},"collection_listing_candlesticks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"granularity":{"type":"string","enum":["ONE_MIN","FIVE_MIN","ONE_HOUR","ONE_DAY","ONE_WEEK"],"description":"The time granularity of the candlestick: ONE_MIN, FIVE_MIN, ONE_HOUR, ONE_DAY, ONE_WEEK","example":"ONE_DAY"},"lastblockid":{"type":"number","description":"Numeric identifier of a block describing the slot that the block was produced in","example":154105605},"starttime":{"type":"number","description":"Epoch start time of time period in seconds","example":1663747620},"high":{"type":"number","description":"The high price for the time period","example":13367},"low":{"type":"number","description":"The low price for the time period","example":13367},"open":{"type":"number","description":"The opening price for the time period","example":13367},"close":{"type":"number","description":"The closing price for the time period","example":13367},"volume":{"type":"number","description":"The volume moved for the time period","example":4198275337}},"required":["id","granularity","lastblockid","starttime","high","low","open","close","volume"]}},"collection_listing_stats":{"type":"array","items":{"type":"object","properties":{"collection_id":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"price":{"type":"number","description":"Amount of a token unconverted for decimals, e.g. 1 SOL is 1,000,000,000 since SOL has 9 decimals.","example":1000000000},"num_listing":{"type":"number","description":"number of listings for the collection","example":62},"blockid":{"type":"number","description":"Numeric identifier of a block describing the slot that the block was produced in","example":154105605},"blocktime":{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes. \n Due to the voting mechanism, the block time may change for a while after a block is produced, \n and blocks with higher block id's may have lower block time. You can convert blocktime to UTC time \n with the Date library in any language.","example":1622576000},"transactionid":{"type":"string","description":"First signature in a transaction, which can be used to track and verify the transaction status across the complete ledger. \n It is a 64 character hexidecimal string that is uniquely generated for each transaction.","example":"4uzkMm6PKpZankJMkrTxAsbgKdQGES8rQ37XtekZjXEQpYfrBxVT3QsXx2fjUteHBd3dsSjMnR1AtvG6zvnG9jze"},"transactionposition":{"type":"number","description":"Zero-indexed position of the transaction within the block","example":1016},"instructionordinal":{"type":"number","description":"The zero-indexed position of an instruction - subinstruction combination in the context of the transaction. This is generated by flattening all instruction/subinstruction/sub-subinstruction/... and numbering them from 0.","example":4}},"required":["collection_id","price","num_listing","blockid","blocktime","transactionid","transactionposition","instructionordinal"]}},"nft_collection_leaderboard_nrt":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The name of the NFT collection","example":"DeGods"},"id":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"slug":{"type":"string","description":"The slug of the NFT collection","example":"degods"},"supply":{"type":"number","description":"Total supply of the NFT collection","example":10000},"current_owner_count":{"type":"number","description":"Total number of unique owners of the NFT collection currently","example":4359},"avg_price_sol":{"type":"number","description":"Average price of the NFT collection in Solana","example":599.926341},"volume_24h":{"type":"number","description":"The volume of the NFT collection accumulated over the last 24 hours","example":24596.98},"volume_change_24h":{"type":"number","description":"The amount the NFT collection volume has changed over the last 24 hours","example":24596.98},"market_cap_sol":{"type":"number","description":"The market cap of the NFT collection in Solana","example":599926.341},"average_wash_score":{"type":"number","description":"Hello Moon's average washtrading score of the NFT collection","example":18.3226},"listing_count":{"type":"number","description":"Total number of listed NFTs in the NFT collection","example":400},"mint_price_mode":{"type":"number","description":"The most common mint price of the NFT collection.\n For instance if WL was 100 people minting at 0.1 and open minting was 500 people minting at 0.2, then the mode would be 0.2","example":0.2},"unverified_collection":{"type":"boolean","description":"Whether the NFT collection is verified or not by Hello Moon standards","example":false},"narrative":{"type":"string","description":"A description of the NFT collection","example":"A collection of 10,000 of the most degenerate gods in the universe."}},"required":["name","id","slug","supply","current_owner_count","avg_price_sol","volume_24h","volume_change_24h","market_cap_sol","average_wash_score","listing_count","mint_price_mode","unverified_collection","narrative"]}},"defi_swaps":{"type":"array","items":{"type":"object","properties":{"user_account":{"type":"string","description":"The user account or public key references a digital wallet that can be used to sign transactions, transfers and \n hold digital assets such as tokens and NFTs.","example":"9QsYSps7ULsTDSgQ8pxCofh4uccCSU4eoPgF68vYLzYb"},"source_mint":{"type":"string","description":"The source mint references the token that is sent for the swap.\n For example, The user account swaps the source mint for the destination mint.","example":"9QsYSps7ULsTDSgQ8pxCofh4uccCSU4eoPgF68vYLzYb"},"destination_mint":{"type":"string","description":"The destination mint references the token that is received from the swap.\n For example, The user account swaps the source mint for the destination mint.","example":"9QsYSps7ULsTDSgQ8pxCofh4uccCSU4eoPgF68vYLzYb"},"programid":{"type":"string","description":"The program id references the DEX (decentralized exchange) address \n that is used to execute the swap with their provided liquidity.","example":"SSwpkEEcbUqx4vtoEByFjSkhKdCT862DNVb52nZg1UZ"},"aggregator_id":{"type":"string","description":"The aggregator id references a program that allows the user account to access liquidity from multiple DEXs. \n The id is used to identify the liquidity provider used to execute the swap.","example":"SSwpkEEcbUqx4vtoEByFjSkhKdCT862DNVb52nZg1UZ"},"source_amount":{"type":"number","description":"The amount of the source mint sent for the swap. \n The amount is in the source mint's native unit, which is differentiated by it's decimal value.\n For example, the amount of 1,000,000 for the source mint of USDC would be 1 USDC since its decimal value is 6.","example":1000000},"destination_amount":{"type":"number","description":"The amount of destination mints received from the swap. \n The amount is in the source mint's native unit, which is differentiated by it's decimal value.\n For example, the amount of 1,000,000 for the source mint of USDC would be 1 USDC since its decimal value is 6.","example":1200000},"blocktime":{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes. \n Due to the voting mechanism, the block time may change for a while after a block is produced, \n and blocks with higher block id's may have lower block time. You can convert blocktime to UTC time \n with the Date library in any language.","example":1622576000},"blockid":{"type":"number","description":"Numeric identifier of a block describing the slot that the block was produced in","example":154105605},"transactionid":{"type":"string","description":"First signature in a transaction, which can be used to track and verify the transaction status across the complete ledger. \n It is a 64 character hexidecimal string that is uniquely generated for each transaction.","example":"4uzkMm6PKpZankJMkrTxAsbgKdQGES8rQ37XtekZjXEQpYfrBxVT3QsXx2fjUteHBd3dsSjMnR1AtvG6zvnG9jze"}},"required":["user_account","source_mint","destination_mint","programid","aggregator_id","source_amount","destination_amount","blocktime","blockid","transactionid"]}},"defi_lending":{"type":"array","items":{"type":"object","properties":{"program_name":{"type":"string","description":"The program name references the lending protocol name\n that the user account is borrowing or repaid from.","example":"Solend"},"programid":{"type":"string","description":"The program id references the lending protocol\n that the user account is borrowing or repaid from.","example":"So1endDq2YkqhipRh3WViPa8hdiSpxWy6z3Z6tMCpAo"},"action_type":{"type":"string","enum":["borrow","repay"],"description":"Select the action types: borrow or repay. \n If borrow, the endpoint returns the amount of tokens the user account borrowed from the program.\n If repay, the endpoint returns the amount of tokens that were repaid to the user.","example":"borrow"},"user_account":{"type":"string","description":"The user account is the public key of the wallet that\n the user account is borrowing or repaid to from the program.","example":"EkaNLzCbJpBWfkgu3q8uWuMJhfnnjXKzbed69LapSQeG"},"mint":{"type":"string","description":"The mint or token address references the token that the user account is repaying or borrowing.","example":"USDH1SM1ojwWUga67PGrgFWUHibbjqMvuMaDkRJTgkX"},"amount":{"type":"number","description":"The amount of token (mints) that the user account is repaid or borrowing.\n The amount is in the source mint's native unit, which is differentiated by it's decimal value.\n For example, the amount of 1,000,000 for the source mint of USDC would be 1 USDC since its decimal value is 6.","example":200000007},"transactionid":{"type":"string","description":"First signature in a transaction, which can be used to track and verify the transaction status across the complete ledger. \n It is a 64 character hexidecimal string that is uniquely generated for each transaction.","example":"4uzkMm6PKpZankJMkrTxAsbgKdQGES8rQ37XtekZjXEQpYfrBxVT3QsXx2fjUteHBd3dsSjMnR1AtvG6zvnG9jze"},"blocktime":{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes. \n Due to the voting mechanism, the block time may change for a while after a block is produced, \n and blocks with higher block id's may have lower block time. You can convert blocktime to UTC time \n with the Date library in any language.","example":1622576000},"instructionname":{"type":"string","description":"Name of this instruction"},"instructionid":{"type":"string","description":"HelloMoon unique identifier for specific instruction within a transaction","example":"2bBNkcHA1QRE37fdYhjtnHBddibvgC5SFTKe98fokZKLK7zQPpLbNUsLMJQ45oZCWNFohyDP6yB7cSEs7eXraLAU_2_1"},"instructionposition":{"type":"number","description":"Zero-indexed position of the instruction within the context of a transaction","example":2},"subinstructionposition":{"type":"number","description":"Zero-indexed position of sub-instruction within the context of a main instruction","example":1},"instructionordinal":{"type":"number","description":"The zero-indexed position of an instruction - subinstruction combination in the context of the transaction. This is generated by flattening all instruction/subinstruction/sub-subinstruction/... and numbering them from 0.","example":4}},"required":["program_name","programid","action_type","user_account","mint","amount","transactionid","blocktime","instructionname","instructionid","instructionposition","subinstructionposition","instructionordinal"]}},"defi_liquidity_pools":{"type":"array","items":{"type":"object","properties":{"programid":{"type":"string","description":"The public key (address) of the account containing the program on chain.","example":"SSwpkEEcbUqx4vtoEByFjSkhKdCT862DNVb52nZg1UZ"},"blocktime":{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes. \n Due to the voting mechanism, the block time may change for a while after a block is produced, \n and blocks with higher block id's may have lower block time. You can convert blocktime to UTC time \n with the Date library in any language.","example":1622576000},"user_account":{"type":"string","description":"Publickey of account signing and fee paying this transaction","example":"7MTG7HvhPqXqw5fsfG3HaCrPBXV17LqrgQDYd6rRQiN4"},"transactionid":{"type":"string","description":"First signature in a transaction, which can be used to track and verify the transaction status across the complete ledger. \n It is a 64 character hexidecimal string that is uniquely generated for each transaction.","example":"4uzkMm6PKpZankJMkrTxAsbgKdQGES8rQ37XtekZjXEQpYfrBxVT3QsXx2fjUteHBd3dsSjMnR1AtvG6zvnG9jze"},"instructionid":{"type":"string","description":"HelloMoon unique identifier for specific instruction within a transaction","example":"2bBNkcHA1QRE37fdYhjtnHBddibvgC5SFTKe98fokZKLK7zQPpLbNUsLMJQ45oZCWNFohyDP6yB7cSEs7eXraLAU_2_1"},"instructionposition":{"type":"number","description":"Zero-indexed position of the instruction within the context of a transaction","example":2},"subinstruction":{"type":"number","description":"Zero-indexed position of sub-instruction within the context of a main instruction","example":1},"instructionordinal":{"type":"number","description":"The zero-indexed position of an instruction - subinstruction combination in the context of the transaction. This is generated by flattening all instruction/subinstruction/sub-subinstruction/... and numbering them from 0.","example":4},"instructionname":{"type":"string","description":"Name of this instruction"},"action_type":{"type":"string","description":"Type of this action"},"tokenminta":{"type":"string","description":"Mint address of the first token in the LP pair per the SPL token program","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"tokenmintb":{"type":"string","description":"Mint address of the second token in the LP pair per the SPL token program","example":"So11111111111111111111111111111111111111112"},"amounttokena":{"type":"number","description":"Balance of Token A in the liquidity pool","example":24728479},"amounttokenb":{"type":"number","description":"Balance of Token B in the liquidity pool","example":39561925}},"required":["programid","blocktime","user_account","transactionid","instructionid","instructionposition","subinstruction","instructionordinal","instructionname","action_type","tokenminta","tokenmintb","amounttokena","amounttokenb"]}},"defi_liquidity_pools_balances":{"type":"array","items":{"type":"object","properties":{"program":{"type":"string","description":"The public key (address) of the account containing the program on chain.","example":"SSwpkEEcbUqx4vtoEByFjSkhKdCT862DNVb52nZg1UZ"},"pool_address":{"type":"string","description":"Public key of address holding pool information","example":"HJPjoWUrhoZzkNfRpHuieeFk9WcZWjwy6PBjZ81ngndJ"},"pool_name":{"type":"string","description":"Name of the pool in the format {Symbol A}-{Symbol B}","example":"USDC-WSOL"},"mint_token_a":{"type":"string","description":"Name of the first token in the LP pair per our spl_token_list metadata","example":"USD Coin"},"name_token_a":{"type":"string","description":"Name of the second token in the LP pair per our spl_token_list metadata","example":"Wrapped SOL"},"mint_token_b":{"type":"string","description":"Mint address of the first token in the LP pair per the SPL token program","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"name_token_b":{"type":"string","description":"Mint address of the second token in the LP pair per the SPL token program","example":"So11111111111111111111111111111111111111112"},"tokenaccount_a":{"type":"string","description":"Mint address of the first token in the LP pair per the SPL token program","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"tokenaccount_b":{"type":"string","description":"Mint address of the first token in the LP pair per the SPL token program","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"balance_token_A_lamports":{"type":"number","description":"Balance of token A in the tokens native units (unconverted for decimals)","example":1034000},"balance_token_B_lamports":{"type":"number","description":"Balance of token B in the tokens native units (unconverted for decimals)","example":1034000},"balance_token_A":{"type":"number","description":"Balance of token A in the tokens converted for decimals","example":10.34},"balance_token_B":{"type":"number","description":"Balance of token B in the tokens converted for decimals","example":10.34}},"required":["program","pool_address","pool_name","mint_token_a","name_token_a","mint_token_b","name_token_b","tokenaccount_a","tokenaccount_b","balance_token_A_lamports","balance_token_B_lamports","balance_token_A","balance_token_B"]}},"defi_liquidity_pools_metadata":{"type":"array","items":{"type":"object","properties":{"program":{"type":"string","description":"Program name","example":"Raydium"},"pool_address":{"type":"string","description":"Public key of address holding pool information","example":"HJPjoWUrhoZzkNfRpHuieeFk9WcZWjwy6PBjZ81ngndJ"},"pool_name":{"type":"string","description":"Token pair of the LP","example":"ARB - RAY"},"mint_token_a":{"type":"string","description":"Mint address of the first token in the LP pair per the SPL token program","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"name_token_a":{"type":"string","description":"Name of the first token in the LP pair per our spl_token_list metadata","example":"USD Coin"},"mint_token_b":{"type":"string","description":"Mint address of the second token in the LP pair per the SPL token program","example":"So11111111111111111111111111111111111111112"},"name_token_b":{"type":"string","description":"Name of the second token in the LP pair per our spl_token_list metadata","example":"Wrapped SOL"},"tokenaccount_a":{"type":"string","description":"Token account of a mint per the SPL token program that holds the first token in the LP pair","example":"2JTw1fE2wz1SymWUQ7UqpVtrTuKjcd6mWwYwUJUCh2rq"},"tokenaccount_b":{"type":"string","description":"Token account of a mint per the SPL token program that holds the second token in the LP pair","example":"3YQm7ujtXWJU2e9jhp2QGHpnn1ShXn12QjvzMvDgabpX"}},"required":["program","pool_address","pool_name","mint_token_a","name_token_a","mint_token_b","name_token_b","tokenaccount_a","tokenaccount_b"]}},"current_lp_emissions":{"type":"array","items":{"type":"object","properties":{"blocktime":{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes. \n Due to the voting mechanism, the block time may change for a while after a block is produced, \n and blocks with higher block id's may have lower block time. You can convert blocktime to UTC time \n with the Date library in any language.","example":1622576000},"blockid":{"type":"number","description":"Numeric identifier of a block describing the slot that the block was produced in","example":154105605},"transactionid":{"type":"string","description":"First signature in a transaction, which can be used to track and verify the transaction status across the complete ledger. \n It is a 64 character hexidecimal string that is uniquely generated for each transaction.","example":"4uzkMm6PKpZankJMkrTxAsbgKdQGES8rQ37XtekZjXEQpYfrBxVT3QsXx2fjUteHBd3dsSjMnR1AtvG6zvnG9jze"},"pool_address":{"type":"string","description":"Public key of address holding pool information","example":"HJPjoWUrhoZzkNfRpHuieeFk9WcZWjwy6PBjZ81ngndJ"},"mint":{"type":"string","description":"Mint address per the SPL token program ","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"emissions_per_day":{"type":"number","description":"The amount of token given per day to liquidity providers of the pool in tokens native units","example":7084799.999999},"emissions_per_day_converted":{"type":"number","description":"The amount of token given per day to liquidity providers of the pool converted for token decimals","example":77.0848},"mint_name":{"type":"string","description":"Name of token per the Metaplex standard","example":"Shibana"},"rewardvault":{"type":"string","description":"Public Key of tokenaccount rewards are paid out from","example":"chF26ui5ySNobaHN2vf4JMY3gcNczLUeawsn9Cd1139"}},"required":["blocktime","blockid","transactionid","pool_address","mint","emissions_per_day","emissions_per_day_converted","mint_name","rewardvault"]}},"defi_program_leaderboard_v2":{"type":"array","items":{"type":"object","properties":{"programid":{"type":"string","description":"The public key (address) of the account containing the program on chain.","example":"SSwpkEEcbUqx4vtoEByFjSkhKdCT862DNVb52nZg1UZ"},"name":{"type":"string","description":"Name of token per the Metaplex standard","example":"Shibana"},"granularity":{"type":"string","enum":["THIRTY_MIN","ONE_HOUR","SIX_HOUR","HALF_DAY","ONE_DAY","ONE_WEEK","ONE_MONTH"],"description":"The amount of time that the record tracks","example":"ONE_WEEK"},"active_users":{"type":"number","nullable":true,"description":"The number of active users over the given granularity if available","example":5},"new_users":{"type":"number","nullable":true,"description":"The number of new users over the given granularity if available","example":5},"deposits":{"type":"number","nullable":true,"description":"The number of deposits over the given granularity if available","example":231},"withdraws":{"type":"number","nullable":true,"description":"The number of withdrawals over the given granularity if available","example":51},"swaps":{"type":"number","nullable":true,"description":"The number of swaps over the given granularity if available","example":1450302.38056},"borrows":{"type":"number","nullable":true,"description":"The number of borrows over the given granularity if available","example":23},"repayments":{"type":"number","nullable":true,"description":"The number of repayments over the given granularity if available","example":22},"add_liquidity":{"type":"number","nullable":true,"description":"The amount of liquidity added over the given granularity if available","example":118361.316304},"rem_liquidity":{"type":"number","nullable":true,"description":"The amount of liquidity removed over the given granularity if available","example":8216.082558}},"required":["programid","name","granularity","active_users","new_users","deposits","withdraws","swaps","borrows","repayments","add_liquidity","rem_liquidity"]}},"defi_program_overlap":{"type":"array","items":{"type":"object","properties":{"a_programid":{"type":"string","description":"The public key (address) of the account containing the program on chain.","example":"SSwpkEEcbUqx4vtoEByFjSkhKdCT862DNVb52nZg1UZ"},"b_programid":{"type":"string","description":"The public key (address) of the account containing the program on chain.","example":"SSwpkEEcbUqx4vtoEByFjSkhKdCT862DNVb52nZg1UZ"},"num_overlap":{"type":"number","description":"Number of wallets that own both A and B","example":2124},"num_total":{"type":"number","description":"Total number of wallets that own A","example":2126},"percent_overlap":{"type":"number","description":"Percentage of all owners of A that also own B","example":0.6148262951243133}},"required":["a_programid","b_programid","num_overlap","num_total","percent_overlap"]}},"defi_program_net_new_users_daily":{"type":"array","items":{"type":"object","properties":{"programid":{"type":"string","description":"The public key (address) of the account containing the program on chain.","example":"SSwpkEEcbUqx4vtoEByFjSkhKdCT862DNVb52nZg1UZ"},"day":{"type":"string","format":"date-time","description":"Day in UTC string","example":"2022-05-18 00:00:00.000000"},"new_users":{"type":"number","description":"Number of wallets that have transacted with this program for the first time in the past 24h","example":20}},"required":["programid","day","new_users"]}},"stakeaccountsv2":{"type":"array","items":{"type":"object","properties":{"blockid":{"type":"number","description":"Numeric identifier of a block describing the slot that the block was produced in","example":154105605},"blocktime":{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes. \n Due to the voting mechanism, the block time may change for a while after a block is produced, \n and blocks with higher block id's may have lower block time. You can convert blocktime to UTC time \n with the Date library in any language.","example":1622576000},"instructionid":{"type":"number","description":"The zero-indexed position of an instruction - subinstruction combination in the context of the transaction. This is generated by flattening all instruction/subinstruction/sub-subinstruction/... and numbering them from 0.","example":4},"stakeaccount":{"type":"string","description":"Public key of the stake account"},"stakeauthority":{"type":"string","description":"Public key of a stake authority account"},"withdrawauthority":{"type":"string","description":"Public key of a withdraw authority account"},"balance":{"type":"number","description":"Balance of the stake account"},"transactionid":{"type":"string","description":"First signature in a transaction, which can be used to track and verify the transaction status across the complete ledger. \n It is a 64 character hexidecimal string that is uniquely generated for each transaction.","example":"4uzkMm6PKpZankJMkrTxAsbgKdQGES8rQ37XtekZjXEQpYfrBxVT3QsXx2fjUteHBd3dsSjMnR1AtvG6zvnG9jze"}},"required":["blockid","blocktime","instructionid","stakeaccount","stakeauthority","withdrawauthority","balance","transactionid"]}},"defi_token_leaderboard_v3":{"type":"array","items":{"type":"object","properties":{"mint":{"type":"string","description":"Mint address per the SPL token program ","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"name":{"type":"string","description":"Name of token per the Metaplex standard","example":"Shibana"},"symbol":{"type":"string","description":"Symbol of token per the Metaplex's token metadata standard","example":"METASOL"},"decimals":{"type":"number","description":"Number of decimals an SPL token's balance is measured in. For example USDC measures to 6 decimals so 1 USDC is measured as 1000000","example":6},"total_holders":{"type":"number","nullable":true,"description":"Unique number of holders for the token currently","example":97},"program_count_1d":{"type":"number","nullable":true,"description":"The aggreations of number of programs over 1 day","example":26},"latest_price":{"type":"number","nullable":true,"description":"The latest price of the token","example":0.430287},"granularity":{"type":"string","enum":["THIRTY_MIN","ONE_HOUR","SIX_HOUR","HALF_DAY","ONE_DAY","ONE_WEEK","ONE_MONTH"],"description":"The amount of time that the record tracks","example":"ONE_WEEK"},"price_change":{"type":"number","nullable":true,"description":"The amount the token price has changed over the given granularity","example":-0.00219824953092429},"smart_money_net_inflow":{"type":"number","nullable":true,"description":"The amount of inflow if by smart minters over the given granularity if available","example":100.914878},"social_net_inflow":{"type":"number","nullable":true,"description":"The amount of inflow if by social accounts over the given granularity if available","example":100.914878},"active_users":{"type":"number","nullable":true,"description":"The number of active users over the given granularity if available","example":5},"new_users":{"type":"number","nullable":true,"description":"The number of new users over the given granularity if available","example":5},"buyers":{"type":"number","nullable":true,"description":"The number of buyers over the given granularity if available","example":5},"sellers":{"type":"number","nullable":true,"description":"The number of sellers over the given granularity if available","example":5},"volume":{"type":"number","nullable":true,"description":"The volume moved for the time period","example":4198275337},"volume_change":{"type":"number","nullable":true,"description":"The change in volume over the given granularity if available","example":0.5267725770533356}},"required":["mint","name","symbol","decimals","total_holders","program_count_1d","latest_price","granularity","price_change","smart_money_net_inflow","social_net_inflow","active_users","new_users","buyers","sellers","volume","volume_change"]}},"defi_token_users_daily":{"type":"array","items":{"type":"object","properties":{"mint":{"type":"string","description":"Mint address per the SPL token program ","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"token_name":{"type":"string","description":"Name of token per the Metaplex standard","example":"Shibana"},"day":{"type":"string","format":"date-time","description":"Day in UTC string","example":"2022-05-18 00:00:00.000000"},"active_user_count":{"type":"number","description":"Number wallets who have transacted with this mint in the past 24h","example":248625}},"required":["mint","token_name","day","active_user_count"]}},"defi_token_net_new_purchases":{"type":"array","items":{"type":"object","properties":{"mint":{"type":"string","description":"Mint address per the SPL token program ","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"day":{"type":"string","format":"date-time","description":"Day in UTC string","example":"2022-05-18 00:00:00.000000"},"net_new_purchasers":{"type":"number","description":"Number wallets who have transacted with this mint for the first time in the past 24h"}},"required":["mint","day","net_new_purchasers"]}},"nft_distinct_owners_in_time_daily_v1":{"type":"array","items":{"type":"object","properties":{"day":{"type":"string","format":"date-time","description":"Day in UTC string","example":"2022-05-18 00:00:00.000000"},"collection_id":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"num_distinct":{"type":"number","description":"The number of distinct owners for the NFT Collection on the day","example":588}},"required":["day","collection_id","num_distinct"]}},"nft_holding_period_v1":{"type":"array","items":{"type":"object","properties":{"collection_id":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"holding_period":{"type":"string","enum":["< 1 Week","1-2 weeks","2-4 weeks","4-8 weeks","8 weeks - 180 days","> 180 days"],"description":"The amount of time that the NFT has been held","example":"2-4 weeks"},"number":{"type":"number","description":"The number of NFTs being held over the period","example":16}},"required":["collection_id","holding_period","number"]}},"nft_listings":{"type":"array","items":{"type":"object","properties":{"instructionname":{"type":"string","description":"The instruction name for this transaction","example":"sale"},"blocktime":{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes. \n Due to the voting mechanism, the block time may change for a while after a block is produced, \n and blocks with higher block id's may have lower block time. You can convert blocktime to UTC time \n with the Date library in any language.","example":1622576000},"blockid":{"type":"number","description":"Numeric identifier of a block describing the slot that the block was produced in","example":154105605},"transactionid":{"type":"string","description":"First signature in a transaction, which can be used to track and verify the transaction status across the complete ledger. \n It is a 64 character hexidecimal string that is uniquely generated for each transaction.","example":"4uzkMm6PKpZankJMkrTxAsbgKdQGES8rQ37XtekZjXEQpYfrBxVT3QsXx2fjUteHBd3dsSjMnR1AtvG6zvnG9jze"},"transactionposition":{"type":"number","description":"Zero-indexed position of the transaction within the block","example":1016},"instructionordinal":{"type":"number","description":"The zero-indexed position of an instruction - subinstruction combination in the context of the transaction. This is generated by flattening all instruction/subinstruction/sub-subinstruction/... and numbering them from 0.","example":4},"price":{"type":"number","description":"Listing price in Lamports","example":350000000},"mint":{"type":"string","description":"Mint address per the SPL token program ","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"market":{"type":"string","enum":["Exchange Art","SMB","SolanArt","Elixir","YAWWW","SolSea","Metaplex Auction House","OpenSea","Solsea","Solanart","Hadeswap","ME_V2","CoralCube","ME"],"description":"A list of marketplace data supported by HelloMoon","example":"Exchange Art"},"hour":{"type":"string","format":"date-time","description":"Hour in UTC","example":"2021-08-06 03:00:00.000000"}},"required":["instructionname","blocktime","blockid","transactionid","transactionposition","instructionordinal","price","mint","market","hour"]}},"nft_market_stats":{"type":"array","items":{"type":"object","properties":{"market":{"type":"string","enum":["Exchange Art","SMB","SolanArt","Elixir","YAWWW","SolSea","Metaplex Auction House","OpenSea","Solsea","Solanart","Hadeswap","ME_V2","CoralCube","ME"],"description":"A list of marketplace data supported by HelloMoon","example":"Exchange Art"},"volume_sol_1h":{"type":"number","description":"The amount of Solana volume accumulated in the last 1 hour","example":194.62831500000001},"volume_sol_1d":{"type":"number","description":"The amount of Solana volume accumulated in the last 24 hours","example":8026.184903999998},"volume_sol_7d":{"type":"number","description":"The amount of Solana volume accumulated in the last 7 days","example":32412.20988500001},"volume_sol_28d":{"type":"number","description":"The amount of Solana volume accumulated in the last 28 days","example":73104.70522300004},"cnt_transactions_1h":{"type":"number","description":"The number of transactions made in the last 1 hour for the current marketplace","example":21},"cnt_transactions_1d":{"type":"number","description":"The number of transactions made in the last 24 hours for the current marketplace","example":638},"cnt_transactions_7d":{"type":"number","description":"The number of transactions made in the last 7 days for the current marketplace","example":2752},"cnt_transactions_28d":{"type":"number","description":"The number of transactions made in the last 28 days for the current marketplace","example":6200},"cnt_buyers_1h":{"type":"number","description":"The number of unique buyers in the last 1 hour for the current marketplace","example":21},"cnt_buyers_1d":{"type":"number","description":"The number of unique buyers in the last 24 hours for the current marketplace","example":638},"cnt_buyers_7d":{"type":"number","description":"The number of unique buyers in the last 7 days for the current marketplace","example":2752},"cnt_buyers_28d":{"type":"number","description":"The number of unique buyers in the last 28 days for the current marketplace","example":6200},"cnt_sellers_1h":{"type":"number","description":"The number of unique sellers in the last 1 hour for the current marketplace","example":21},"cnt_sellers_1d":{"type":"number","description":"The number of unique sellers in the last 24 hours for the current marketplace","example":638},"cnt_sellers_7d":{"type":"number","description":"The number of unique sellers in the last 7 days for the current marketplace","example":2752},"cnt_sellers_28d":{"type":"number","description":"The number of unique sellers in the last 28 days for the current marketplace","example":6200},"cnt_users_1h":{"type":"number","description":"The number of unique users in the last 1 hour for the current marketplace","example":21},"cnt_users_1d":{"type":"number","description":"The number of unique users in the last 24 hours for the current marketplace","example":638},"cnt_users_7d":{"type":"number","description":"The number of unique users in the last 7 days for the current marketplace","example":2752},"cnt_users_28d":{"type":"number","description":"The number of unique users in the last 28 days for the current marketplace","example":6200}},"required":["market","volume_sol_1h","volume_sol_1d","volume_sol_7d","volume_sol_28d","cnt_transactions_1h","cnt_transactions_1d","cnt_transactions_7d","cnt_transactions_28d","cnt_buyers_1h","cnt_buyers_1d","cnt_buyers_7d","cnt_buyers_28d","cnt_sellers_1h","cnt_sellers_1d","cnt_sellers_7d","cnt_sellers_28d","cnt_users_1h","cnt_users_1d","cnt_users_7d","cnt_users_28d"]}},"nft_mint_information":{"type":"array","items":{"type":"object","properties":{"mint":{"type":"string","description":"Mint address of nft per the spl token program ","example":"7BmVu38kL6sa8o7JMGqkH8cw3fzeQjAatPCCQ5cF2oFU"},"metadata_address":{"type":"string","description":"Public key of address holding NFT metadata","example":"7fy4LH9pzduF7mwDbmMNuuoKHBuDrbEvDeZzibbGrxys"},"metadatajson":{"type":"object","properties":{"name":{"type":"string","description":"The on-chain name of the token, limited to 32 bytes","example":"Wolves of Meta Street"},"symbol":{"type":"string","description":"The on-chain symbol of the token, limited to 10 bytes","example":"WOMS"},"uri":{"type":"string","description":"The URI of the token, limited to 200 bytes. This URI points to an off-chain JSON file that contains additional data following a certain standard.","example":"https://arweave.net/cj3beKnkwo04skkDLkOVFCIAqeHcQQxH1fc_09vZJVE"},"sellerFeeBasisPoints":{"type":"number","description":"The royalties shared by the creators in basis points — i.e. 550 means 5.5%. Whilst this field is used by virtually all NFT marketplaces, it is not enforced by the Token Metadata program itself.","example":969},"creators":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string","description":"The publicKey of the creator","example":"wydb7AxKsizuyaVpK3LteD6xipKzc4xZM3DqyuZijnQ"},"verified":{"type":"boolean","description":"A boolean indicating if the creator signed the NFT. It is important to check this field to ensure the authenticity of the creator.","example":true},"share":{"type":"number","description":"The share of the royalties that the creator gets. This is a number between 0 and 100. The sum of all shares must be 100.","example":0}},"required":["address","verified","share"]},"description":"An array of creators and their share of the royalties. This array is limited to 5 creators.","example":[{"address":"wydb7AxKsizuyaVpK3LteD6xipKzc4xZM3DqyuZijnQ","verified":true,"share":0},{"address":"nm9KXDP5x5fLawYiZ5pyHbR2WeFRS5xDvypFMGHqNQ4","verified":false,"share":95},{"address":"mnKzuL9RMtR6GeSHBfDpnQaefcMsiw7waoTSduKNiXM","verified":false,"share":5}]},"collection":{"type":"object","properties":{"verified":{"type":"boolean","description":"A boolean indicating if the owner of the Collection NFT signed this NFT. It is important to check this field to ensure the authenticity of the collection.","example":true},"key":{"type":"string","description":"The public key of the Collection NFT's Mint Account","example":"3N1ppz96gi2PsnuAMxSLnYMPcjeqHk7tkCuKpPDbJfdk"}},"required":["verified","key"],"description":"This field optionally links to the Mint address of another NFT that acts as a Collection NFT. ","example":{"verified":true,"key":"3N1ppz96gi2PsnuAMxSLnYMPcjeqHk7tkCuKpPDbJfdk"}}},"required":["name","symbol","uri","sellerFeeBasisPoints","creators","collection"],"description":"The NFT on chain metadata","example":{"name":"The Wolves of Meta Street #124","symbol":"WOMS","uri":"https://arweave.net/cj3beKnkwo04skkDLkOVFCIAqeHcQQxH1fc_09vZJVE","sellerFeeBasisPoints":969,"creators":[{"address":"wydb7AxKsizuyaVpK3LteD6xipKzc4xZM3DqyuZijnQ","verified":true,"share":0},{"address":"nm9KXDP5x5fLawYiZ5pyHbR2WeFRS5xDvypFMGHqNQ4","verified":false,"share":95},{"address":"mnKzuL9RMtR6GeSHBfDpnQaefcMsiw7waoTSduKNiXM","verified":false,"share":5}],"collection":{"verified":true,"key":"3N1ppz96gi2PsnuAMxSLnYMPcjeqHk7tkCuKpPDbJfdk"}}},"collection_mint":{"type":"string","description":"The public key of the Collection NFT's Mint Account","example":"3N1ppz96gi2PsnuAMxSLnYMPcjeqHk7tkCuKpPDbJfdk"},"verified_creators":{"type":"array","items":{"type":"string"},"description":"Array of verified creators","example":["wydb7AxKsizuyaVpK3LteD6xipKzc4xZM3DqyuZijnQ"]}},"required":["mint","metadata_address","metadatajson","collection_mint","verified_creators"]}},"nft_overlapping_owners_v1":{"type":"array","items":{"type":"object","properties":{"collection_id":{"type":"string","description":"Hello Moon's collection identifier used to get overlapping owners from other NFT collections","example":"c193461aa96bbb4fdbea9eeef7c55c56"},"collection_one_num":{"type":"number","description":"Number of NFTs owned by the owners of the first NFT collection_id","example":10},"collection_two_id":{"type":"string","description":"Hello Moon's collection identifier that contains overlapping owners with the first collection_id","example":"56aad5347a896dec02eae18af52c81b3"},"collection_two_num":{"type":"number","description":"Number of NFTs owned by the owners of the second NFT collection_two_id","example":44},"owners_overlappings":{"type":"number","description":"Number of overlapping owners between the two collections","example":2}},"required":["collection_id","collection_one_num","collection_two_id","collection_two_num","owners_overlappings"]}},"nft_collection_owners_current_v1":{"type":"array","items":{"type":"object","properties":{"collection_id":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"num_owners":{"type":"number","description":"The number of distinct owners for the collection","example":200}},"required":["collection_id","num_owners"]}},"nft_owners_cumulative_v1":{"type":"array","items":{"type":"object","properties":{"day":{"type":"string","format":"date-time","description":"Day in UTC string","example":"2022-05-18 00:00:00.000000"},"value":{"type":"number","description":"Number of wallets that have owned an NFT at any point in time","example":1234567}},"required":["day","value"]}},"nft_collection_ownership_all_time_v1":{"type":"array","items":{"type":"object","properties":{"day_in_seconds":{"type":"number","description":"UTC timestamp","example":1669939200},"collection_id":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"num_owners":{"type":"number","description":"The number of distinct owners for the collection","example":200}},"required":["day_in_seconds","collection_id","num_owners"]}},"sales_per_market_daily":{"type":"array","items":{"type":"object","properties":{"market":{"type":"string","enum":["Exchange Art","Exchange.Art","SMB","SolanArt","Elixir","YAWWW","SolSea","Metaplex Auction House","OpenSea","Solsea","Solanart","Hadeswap","ME_V2","ME_V1","Coral Cube","CoralCube","ME"],"description":"A list of marketplace data supported by HelloMoon","example":"Exchange Art"},"num_sales":{"type":"number","description":"Number of sales made on the marketplace for the day","example":54},"cnt_transactions":{"type":"number","description":"Number of transactions made on the marketplace for the day","example":30},"cnt_buyers":{"type":"number","description":"Number of unique buyers on the marketplace for the day","example":22},"cnt_sellers":{"type":"number","description":"Number of unique sellers on the marketplace for the day","example":23},"cnt_users":{"type":"number","description":"Number of unique users on the marketplace for the day","example":45}},"required":["market","num_sales","cnt_transactions","cnt_buyers","cnt_sellers","cnt_users"]}},"nft_top_holders":{"type":"array","items":{"type":"object","properties":{"collection":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"owneraccount":{"type":"string","description":"The account that owns the NFT","example":"8sB1J6aX8UfVAsLTpZA3UQwrvV5owYAqUvqhV9ea8sK4"},"amount":{"type":"number","description":"The number of NFTs held by the account for the collectoin","example":3}},"required":["collection","owneraccount","amount"]}},"washtrading_collection_index_v7":{"type":"array","items":{"type":"object","properties":{"collectionid":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"index":{"type":"number","description":"Hello Moon's ranking index for wash trading ranging from 0 to 100"}},"required":["collectionid","index"]}},"nft_listing_status":{"type":"array","items":{"type":"object","properties":{"collection_id":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"mint":{"type":"string","description":"Mint address per the SPL token program ","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"market":{"type":"string","enum":["MEv1","MEv2"],"description":"A list of marketplace data supported by HelloMoon","example":"MEv1"},"price":{"type":"number","description":"Amount of a token unconverted for decimals, e.g. 1 SOL is 1,000,000,000 since SOL has 9 decimals.","example":1000000000},"seller":{"type":"string","description":"Publickey of account signing and fee paying this transaction","example":"7MTG7HvhPqXqw5fsfG3HaCrPBXV17LqrgQDYd6rRQiN4"},"islisted":{"type":"boolean","description":"Is the item listed"},"blocktime":{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes. \n Due to the voting mechanism, the block time may change for a while after a block is produced, \n and blocks with higher block id's may have lower block time. You can convert blocktime to UTC time \n with the Date library in any language.","example":1622576000},"blockid":{"type":"number","description":"Numeric identifier of a block describing the slot that the block was produced in","example":154105605},"transactionid":{"type":"string","description":"First signature in a transaction, which can be used to track and verify the transaction status across the complete ledger. \n It is a 64 character hexidecimal string that is uniquely generated for each transaction.","example":"4uzkMm6PKpZankJMkrTxAsbgKdQGES8rQ37XtekZjXEQpYfrBxVT3QsXx2fjUteHBd3dsSjMnR1AtvG6zvnG9jze"},"transactionposition":{"type":"number","description":"Zero-indexed position of the transaction within the block","example":1016},"instructionordinal":{"type":"number","description":"The zero-indexed position of an instruction - subinstruction combination in the context of the transaction. This is generated by flattening all instruction/subinstruction/sub-subinstruction/... and numbering them from 0.","example":4}},"required":["collection_id","mint","market","price","seller","islisted","blocktime","blockid","transactionid","transactionposition","instructionordinal"]}},"nft_primary_sale_collection_stats":{"type":"array","items":{"type":"object","properties":{"collection_id":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"mint_price_lamport":{"type":"number","description":"Amount of a token unconverted for decimals, e.g. 1 SOL is 1,000,000,000 since SOL has 9 decimals.","example":1000000000},"num_minters":{"type":"number","description":"Number of minters for the collection","example":10},"total_minted":{"type":"number","description":"Tolal number of mints in the collection","example":512},"total_minted_by_smart_minters":{"type":"number","description":"The total number of mints done by smart minters","example":400},"mint_volume_lamport":{"type":"number","description":"The total volume minted in lamport","example":2000000000},"latest_mint_block_time":{"type":"number","description":"The timestamp of the last minted block (in seconds)","example":1671452991}},"required":["collection_id","mint_price_lamport","num_minters","total_minted","total_minted_by_smart_minters","mint_volume_lamport","latest_mint_block_time"]}},"parsed_nft_sales_nrt":{"type":"array","items":{"type":"object","properties":{"blockid":{"type":"number","description":"Numeric identifier of a block describing the slot that the block was produced in","example":154105605},"blocktime":{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes. \n Due to the voting mechanism, the block time may change for a while after a block is produced, \n and blocks with higher block id's may have lower block time. You can convert blocktime to UTC time \n with the Date library in any language.","example":1622576000},"transactionid":{"type":"string","description":"First signature in a transaction, which can be used to track and verify the transaction status across the complete ledger. \n It is a 64 character hexidecimal string that is uniquely generated for each transaction.","example":"4uzkMm6PKpZankJMkrTxAsbgKdQGES8rQ37XtekZjXEQpYfrBxVT3QsXx2fjUteHBd3dsSjMnR1AtvG6zvnG9jze"},"market":{"type":"string","description":"One of SMB, ME_V1, ME_V2, YAWWW, Elixir, SolSea, OpenSea, Solanart, Hadeswap, CoralCube, Coral Cube, Exchange.Art or the auction house public key ","example":"SMB"},"mint":{"type":"string","description":"Mint address of nft per the spl token program ","example":"7BmVu38kL6sa8o7JMGqkH8cw3fzeQjAatPCCQ5cF2oFU"},"seller":{"type":"string","description":"PublicKey of the seller of the nft","example":"Aci6FAogYQt6cueGNmee2Fu2Xk9Q97yd25FavzwPt9Ge"},"buyer":{"type":"string","description":"PublicKey of the buyer of the nft","example":"Aci6FAogYQt6cueGNmee2Fu2Xk9Q97yd25FavzwPt9Ge"},"price":{"type":"number","description":"Price of the nft in denoted in SOL","example":0.1},"collection_id":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"hour":{"type":"string","format":"date-time","description":"Hour in UTC","example":"2021-08-06 03:00:00.000000"}},"required":["blockid","blocktime","transactionid","market","mint","seller","buyer","price","collection_id","hour"]}},"parsed_nft_primary_sales_nrt":{"type":"array","items":{"type":"object","properties":{"blocktime":{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes. \n Due to the voting mechanism, the block time may change for a while after a block is produced, \n and blocks with higher block id's may have lower block time. You can convert blocktime to UTC time \n with the Date library in any language.","example":1622576000},"blockid":{"type":"number","description":"Numeric identifier of a block describing the slot that the block was produced in","example":154105605},"transactionid":{"type":"string","description":"First signature in a transaction, which can be used to track and verify the transaction status across the complete ledger. \n It is a 64 character hexidecimal string that is uniquely generated for each transaction.","example":"4uzkMm6PKpZankJMkrTxAsbgKdQGES8rQ37XtekZjXEQpYfrBxVT3QsXx2fjUteHBd3dsSjMnR1AtvG6zvnG9jze"},"transactionposition":{"type":"number","description":"Zero-indexed position of the transaction within the block","example":1016},"instructionposition":{"type":"number","description":"The zero-indexed position of an instruction - subinstruction combination in the context of the transaction. This is generated by flattening all instruction/subinstruction/sub-subinstruction/... and numbering them from 0.","example":4},"mint_program":{"type":"string","description":"The program that minted this NFT","example":"cndy3Z4yapfJBmL3ShUp5exZKqR3z33thTzeNMm2gRZ"},"payer":{"type":"string","description":"Payer account address"},"payee":{"type":"string","description":"Payee account address"},"amount":{"type":"number","description":"Amount paid in payment_mint"},"payment_mint":{"type":"string","description":"Mint address per the SPL token program ","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"wallet":{"type":"string","description":"Public key of a wallet"},"nft_mint":{"type":"string","description":"Mint address of nft per the spl token program ","example":"7BmVu38kL6sa8o7JMGqkH8cw3fzeQjAatPCCQ5cF2oFU"}},"required":["blocktime","blockid","transactionid","transactionposition","instructionposition","mint_program","payer","amount","payment_mint","wallet","nft_mint"]}},"spl_token_list":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Token program id","example":"zebeczgi5fSEtbpfQKVZKCJ3WgYXxjkMUkNNx7fLKAF"},"mint":{"type":"string","description":"Mint address per the SPL token program ","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"name":{"type":"string","description":"Name of token per the Metaplex standard","example":"Shibana"},"symbol":{"type":"string","description":"Symbol of token per the Metaplex's token metadata standard","example":"METASOL"},"decimals":{"type":"number","description":"Number of decimals","example":6},"slug":{"type":"string","description":"The slug of the token","example":"serum"},"coingeckoid":{"type":"string","nullable":true,"description":"The Coin Gecko Id","example":"serum"},"lifetime_swap_count":{"type":"number","description":"The number of swaps over the lif of the token","example":136}},"required":["id","mint","name","symbol","decimals","slug","coingeckoid","lifetime_swap_count"]}},"stakeactionsv2":{"type":"array","items":{"type":"object","properties":{"blockid":{"type":"number","description":"Numeric identifier of a block describing the slot that the block was produced in","example":154105605},"instructionid":{"type":"string","description":"HelloMoon unique identifier for specific instruction within a transaction","example":"2bBNkcHA1QRE37fdYhjtnHBddibvgC5SFTKe98fokZKLK7zQPpLbNUsLMJQ45oZCWNFohyDP6yB7cSEs7eXraLAU_2_1"},"transactionid":{"type":"string","description":"First signature in a transaction, which can be used to track and verify the transaction status across the complete ledger. \n It is a 64 character hexidecimal string that is uniquely generated for each transaction.","example":"4uzkMm6PKpZankJMkrTxAsbgKdQGES8rQ37XtekZjXEQpYfrBxVT3QsXx2fjUteHBd3dsSjMnR1AtvG6zvnG9jze"},"blocktime":{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes. \n Due to the voting mechanism, the block time may change for a while after a block is produced, \n and blocks with higher block id's may have lower block time. You can convert blocktime to UTC time \n with the Date library in any language.","example":1622576000},"activate":{"type":"boolean","description":"true if staking is activated, false if it is deactivated","example":true},"stakeaccount":{"type":"string","description":"The public key of the stake account","example":"98CwUi4SqDuSJoXRStFdk7wontYi7jmDghCRHSbTpj6u"},"voteaccount":{"type":"string","description":"When someone wants to delegate tokens in a stake account, the delegation command is pointed at the vote account address of the validator to whom the token-holder wants to delegate.","example":"2Y2opv8Kq8zFATg6ipqb2AjgCf18tkv1CLMLXQGif2NH"},"stakeauthority":{"type":"string","description":"account owner (public key), given authority to stake tokens","example":"CxPy4tBstjyzavaoFnPs5FYM36jXQLyBTFZKUdGusL88"},"balance":{"type":"number","description":"balance (in lamports) of the stake account being acivated or deactivated","example":5100000000}},"required":["blockid","instructionid","transactionid","blocktime","activate","stakeaccount","voteaccount","stakeauthority","balance"]}},"staketransfersv2":{"type":"array","items":{"type":"object","properties":{"blockid":{"type":"number","description":"Numeric identifier of a block describing the slot that the block was produced in","example":154105605},"instructionid":{"type":"string","description":"HelloMoon unique identifier for specific instruction within a transaction","example":"2bBNkcHA1QRE37fdYhjtnHBddibvgC5SFTKe98fokZKLK7zQPpLbNUsLMJQ45oZCWNFohyDP6yB7cSEs7eXraLAU_2_1"},"transactionid":{"type":"string","description":"First signature in a transaction, which can be used to track and verify the transaction status across the complete ledger. \n It is a 64 character hexidecimal string that is uniquely generated for each transaction.","example":"4uzkMm6PKpZankJMkrTxAsbgKdQGES8rQ37XtekZjXEQpYfrBxVT3QsXx2fjUteHBd3dsSjMnR1AtvG6zvnG9jze"},"blocktime":{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes. \n Due to the voting mechanism, the block time may change for a while after a block is produced, \n and blocks with higher block id's may have lower block time. You can convert blocktime to UTC time \n with the Date library in any language.","example":1622576000},"sourcestakeaccount":{"type":"string","description":"stake account that is transferring lamports to the destination stake account","example":"728vS47vUmD6Z2wBqew38fy4b85C5KB77tLVRMnQLpTa"},"destinationaccount":{"type":"string","description":"stake account that is receiving lamports from the source stake account","example":"4HWXz3X8vwEifBHjxcdLjBdB3Ujs24uqQKDW1AMCKqjr"},"authority":{"type":"string","description":"account owner (public key), given authority to stake tokens","example":"CxPy4tBstjyzavaoFnPs5FYM36jXQLyBTFZKUdGusL88"},"lamports":{"type":"number","nullable":true,"description":"amount of lamports transferred"},"sourceoldbalance":{"type":"number","description":"old balance (in lamports) of the source stake account","example":10235288183},"sourcenewbalance":{"type":"number","description":"new balance (in lamports) of the source stake account","example":0},"destinationoldbalance":{"type":"number","description":"old balance (in lamports) of the destination stake account","example":13187118611512},"destinationnewbalance":{"type":"number","description":"new balance (in lamports) of the destination stake account","example":13197351616815}},"required":["blockid","instructionid","transactionid","blocktime","sourcestakeaccount","destinationaccount","authority","lamports","sourceoldbalance","sourcenewbalance","destinationoldbalance","destinationnewbalance"]}},"tokencreationv2":{"type":"array","items":{"type":"object","properties":{"blockid":{"type":"number","description":"Numeric identifier of a block describing the slot that the block was produced in","example":154105605},"instructionid":{"type":"string","description":"HelloMoon unique identifier for specific instruction within a transaction","example":"2bBNkcHA1QRE37fdYhjtnHBddibvgC5SFTKe98fokZKLK7zQPpLbNUsLMJQ45oZCWNFohyDP6yB7cSEs7eXraLAU_2_1"},"blocktime":{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes. \n Due to the voting mechanism, the block time may change for a while after a block is produced, \n and blocks with higher block id's may have lower block time. You can convert blocktime to UTC time \n with the Date library in any language.","example":1622576000},"tokenprogram":{"type":"string","description":"The token program used to mint, transfer and burn tokens","example":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"},"decimals":{"type":"number","description":"Number of decimals an SPL token's balance is measured in. For example USDC measures to 6 decimals so 1 USDC is measured as 1000000","example":6},"mintauthority":{"type":"string","description":"account owner (public key), given authority to mint new tokens","example":"6Yt334Mfb58ciFAWwQnKW68mGCVTVTn4ZPgjxr4SyZPv"},"mintaccount":{"type":"string","description":"mint account that contains the address to the token or NFT","example":"ExbT3nRfgQ93widKduSNjy5huR7eCFHhGP2NxYo5LEMp"},"freezeauthority":{"type":"string","description":"account owner (public key), given authority to freeze token accounts - rendering an Account unusable","example":"6Yt334Mfb58ciFAWwQnKW68mGCVTVTn4ZPgjxr4SyZPv"}},"required":["blockid","instructionid","blocktime","tokenprogram","decimals","mintauthority","mintaccount","freezeauthority"]}},"tokensupplyv2":{"type":"array","items":{"type":"object","properties":{"blockid":{"type":"number","description":"Numeric identifier of a block describing the slot that the block was produced in","example":154105605},"transactionid":{"type":"string","description":"First signature in a transaction, which can be used to track and verify the transaction status across the complete ledger. \n It is a 64 character hexidecimal string that is uniquely generated for each transaction.","example":"4uzkMm6PKpZankJMkrTxAsbgKdQGES8rQ37XtekZjXEQpYfrBxVT3QsXx2fjUteHBd3dsSjMnR1AtvG6zvnG9jze"},"instructionid":{"type":"string","description":"HelloMoon unique identifier for specific instruction within a transaction","example":"2bBNkcHA1QRE37fdYhjtnHBddibvgC5SFTKe98fokZKLK7zQPpLbNUsLMJQ45oZCWNFohyDP6yB7cSEs7eXraLAU_2_1"},"blocktime":{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes. \n Due to the voting mechanism, the block time may change for a while after a block is produced, \n and blocks with higher block id's may have lower block time. You can convert blocktime to UTC time \n with the Date library in any language.","example":1622576000},"transactionposition":{"type":"number","description":"Zero-indexed position of the transaction within the block","example":1016},"instructionposition":{"type":"number","description":"Zero-indexed position of the instruction within the context of a transaction","example":2},"subinstructionposition":{"type":"number","description":"Zero-indexed position of sub-instruction within the context of a main instruction","example":1},"instructionordinal":{"type":"number","description":"The zero-indexed position of an instruction - subinstruction combination in the context of the transaction. This is generated by flattening all instruction/subinstruction/sub-subinstruction/... and numbering them from 0.","example":4},"tokenprogram":{"type":"string","description":"The token program used to mint, transfer and burn tokens","example":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"},"account":{"type":"string","description":"Token account of a mint owned by the token program (Spl Token Program). It holds information about the tokens owned by a public key","example":"3tToSVLBjhHLtw1AFarPk4xpKuUpM9r6siNL6hUuJjQC"},"mintaccount":{"type":"string","description":"Mint address per the SPL token program ","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"authority":{"type":"string","description":"The address of the authority, allowing the address to authorize a new mint or burn the token","example":"4Ja4ztAD8eZ4vm2cH6QjscohAPL112QoisfCuPyioRs7"},"amount":{"type":"number","description":"amount of tokens in native units being minted or burned, burned tokens are negative","example":-85},"oldbalance":{"type":"number","description":"previous balance of the token account","example":100},"newbalance":{"type":"number","description":"new balance of the token account","example":15},"ismultisig":{"type":"boolean","description":"uses more than one private key to authorize crypto transactions","example":false},"signers":{"type":"array","items":{"type":"string"},"description":"signers of the transaction, signers (account owners) are public keys","example":["5ZjatkykvKphGB6Ng9Tw4Bud1fhpJ8KQHq4PS9YRiK2J"]}},"required":["blockid","transactionid","instructionid","blocktime","transactionposition","instructionposition","subinstructionposition","instructionordinal","tokenprogram","account","mintaccount","authority","amount","oldbalance","newbalance","ismultisig"]}},"token_transfers_with_owner":{"type":"array","items":{"type":"object","properties":{"transactionid":{"type":"string","description":"First signature in a transaction, which can be used to track and verify the transaction status across the complete ledger. \n It is a 64 character hexidecimal string that is uniquely generated for each transaction.","example":"4uzkMm6PKpZankJMkrTxAsbgKdQGES8rQ37XtekZjXEQpYfrBxVT3QsXx2fjUteHBd3dsSjMnR1AtvG6zvnG9jze"},"blockid":{"type":"number","description":"Numeric identifier of a block describing the slot that the block was produced in","example":154105605},"blocktime":{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes. \n Due to the voting mechanism, the block time may change for a while after a block is produced, \n and blocks with higher block id's may have lower block time. You can convert blocktime to UTC time \n with the Date library in any language.","example":1622576000},"transactionposition":{"type":"number","description":"Zero-indexed position of the transaction within the block","example":1016},"instructionordinal":{"type":"number","description":"The zero-indexed position of an instruction - subinstruction combination in the context of the transaction. This is generated by flattening all instruction/subinstruction/sub-subinstruction/... and numbering them from 0.","example":4},"instructionposition":{"type":"number","description":"Zero-indexed position of the instruction within the context of a transaction","example":2},"subinstructionposition":{"type":"number","description":"Zero-indexed position of sub-instruction within the context of a main instruction","example":1},"sourceowner":{"type":"string","description":"source owner is the per owner of the source (token account), each token account will refer to a distinct token mint","example":"8vXJyKBjkA4Es4cHBmXyqGq1iLu3BnfPQL36GWr2AB3"},"source":{"type":"string","description":"Token account of a mint owned by the token program (Spl Token Program). It holds information about the tokens owned by a public key","example":"3tToSVLBjhHLtw1AFarPk4xpKuUpM9r6siNL6hUuJjQC"},"destinationowner":{"type":"string","description":"destination owner is the per owner of the destination (token account), each token account will refer to a distinct token mint","example":"CS8mZeh885Uo8GMTzDgUhbRPduJVFL2dbZF3mRif3ASm"},"destination":{"type":"string","description":"Token account of a mint owned by the token program (Spl Token Program). It holds information about the tokens owned by a public key","example":"3tToSVLBjhHLtw1AFarPk4xpKuUpM9r6siNL6hUuJjQC"},"type":{"type":"string","enum":["closeAccount","createAccount","createAccountWithSeed","transferChecked","transfer"]},"amount":{"type":"number","description":"amount (in native token units) transferred between source owner and destination owner","example":4500},"mint":{"type":"string","description":"Mint address per the SPL token program ","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"newdestinationbalance":{"type":"number","description":"new balance (in lamports) of destination token account","example":240426780},"newsourcebalance":{"type":"number","description":"new balance (in lamports) of source token account","example":289639280},"olddestinationbalance":{"type":"number","description":"old balance (in lamports) of destination token account","example":240414280},"oldsourcebalance":{"type":"number","description":"old balance (in lamports) of source token account","example":289651780}},"required":["transactionid","blockid","blocktime","transactionposition","instructionordinal","instructionposition","subinstructionposition","sourceowner","source","destinationowner","destination","type","amount","mint","newdestinationbalance","newsourcebalance","olddestinationbalance","oldsourcebalance"]}},"token_price_candlesticks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Token program id","example":"zebeczgi5fSEtbpfQKVZKCJ3WgYXxjkMUkNNx7fLKAF"},"granularity":{"type":"string","enum":["ONE_MIN","FIVE_MIN","ONE_HOUR","ONE_DAY","ONE_WEEK"],"description":"The time granularity of the candlestick: ONE_MIN, FIVE_MIN, ONE_HOUR, ONE_DAY, ONE_WEEK","example":"ONE_DAY"},"lastblockid":{"type":"number","description":"Numeric identifier of a block describing the slot that the block was produced in","example":154105605},"starttime":{"type":"number","description":"Epoch start time of time period in seconds","example":1663747620},"high":{"type":"number","description":"The high price for the time period","example":13367},"low":{"type":"number","description":"The low price for the time period","example":13367},"open":{"type":"number","description":"The opening price for the time period","example":13367},"close":{"type":"number","description":"The closing price for the time period","example":13367},"volume":{"type":"number","description":"The volume moved for the time period","example":4198275337}},"required":["id","granularity","lastblockid","starttime","high","low","open","close","volume"]}},"top_tokens_per_program_24hr":{"type":"array","items":{"type":"object","properties":{"programid":{"type":"string","description":"The public key (address) of the account containing the program on chain.","example":"SSwpkEEcbUqx4vtoEByFjSkhKdCT862DNVb52nZg1UZ"},"mint":{"type":"string","description":"Mint address per the SPL token program ","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"vol24hr":{"type":"number","description":"The amount of token volume accumulated over the last 24 hours","example":6252.769753201257},"change24hr":{"type":"number","description":"The amount the token volume has changed over the last 24 hours","example":-0.09140820313386411}},"required":["programid","mint","vol24hr","change24hr"]}}},"parameters":{}},"paths":{"/v0/block_rewards":{"post":{"summary":"Block Rewards","description":"Get information about block rewards given, 'Fee', 'Staking', and 'Voting'","security":[{"bearerAuth":[]}],"tags":["Staking"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"blocktime":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes. \n Due to the voting mechanism, the block time may change for a while after a block is produced, \n and blocks with higher block id's may have lower block time. You can convert blocktime to UTC time \n with the Date library in any language.","example":1622576000}},"required":["operator","value"]},{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes. \n Due to the voting mechanism, the block time may change for a while after a block is produced, \n and blocks with higher block id's may have lower block time. You can convert blocktime to UTC time \n with the Date library in any language.","example":1622576000}]},"commission":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"commission earned by the validator by providing rewards. Ranges 0-100 so 10 is 10%","example":10}},"required":["operator","value"]},{"type":"number","description":"commission earned by the validator by providing rewards. Ranges 0-100 so 10 is 10%","example":10}]},"lamports":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"lamports given to the publickey","example":142522511}},"required":["operator","value"]},{"type":"number","description":"lamports given to the publickey","example":142522511}]},"pubkey":{"type":"string","description":"public key of the account that received the reward (i.e, staking account)","example":"E4vbW55NDqJgLyGmE7Y1xSNrXqgHZ328Pfzwcm5nMPzN"},"rewardtype":{"anyOf":[{"type":"string","enum":["Fee","Staking","Voting"],"description":"The type of reward given to the account","example":"Fee"},{"type":"array","items":{"type":"string","enum":["Fee","Staking","Voting"],"description":"The type of reward given to the account","example":"Fee"}}]},"limit":{"type":"number","minimum":1,"maximum":100,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/block_rewards"}}}}}}},"/v0/collection_listing_candlesticks":{"post":{"summary":"Collection Candlesticks","description":"Returns candlesticks (high, low, open, close) for floor price and volume over time with different granularities","security":[{"bearerAuth":[]}],"tags":["NFT"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"starttime":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"Epoch start time of time period in seconds","example":1663747620}},"required":["operator","value"]},{"type":"number","description":"Epoch start time of time period in seconds","example":1663747620}]},"granularity":{"anyOf":[{"type":"string","enum":["ONE_MIN","FIVE_MIN","ONE_HOUR","ONE_DAY","ONE_WEEK"],"description":"The time granularity of the candlestick: ONE_MIN, FIVE_MIN, ONE_HOUR, ONE_DAY, ONE_WEEK","example":"ONE_DAY"},{"type":"array","items":{"type":"string","enum":["ONE_MIN","FIVE_MIN","ONE_HOUR","ONE_DAY","ONE_WEEK"],"description":"The time granularity of the candlestick: ONE_MIN, FIVE_MIN, ONE_HOUR, ONE_DAY, ONE_WEEK","example":"ONE_DAY"}}]},"id":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"limit":{"type":"number","minimum":1,"maximum":100,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/collection_listing_candlesticks"}}}}}}},"/v0/collection_listing_stats":{"post":{"summary":"Collection Listing Stats","description":"Collection Listing Stats","security":[{"bearerAuth":[]}],"tags":["NFT Summary"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"blockid":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"Numeric identifier of a block describing the slot that the block was produced in","example":154105605}},"required":["operator","value"]},{"type":"number","description":"Numeric identifier of a block describing the slot that the block was produced in","example":154105605}]},"transactionposition":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"Zero-indexed position of the transaction within the block","example":1016}},"required":["operator","value"]},{"type":"number","description":"Zero-indexed position of the transaction within the block","example":1016}]},"instructionordinal":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"The zero-indexed position of an instruction - subinstruction combination in the context of the transaction. This is generated by flattening all instruction/subinstruction/sub-subinstruction/... and numbering them from 0.","example":4}},"required":["operator","value"]},{"type":"number","description":"The zero-indexed position of an instruction - subinstruction combination in the context of the transaction. This is generated by flattening all instruction/subinstruction/sub-subinstruction/... and numbering them from 0.","example":4}]},"collection_id":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"limit":{"type":"number","minimum":1,"maximum":100,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/collection_listing_stats"}}}}}}},"/v0/collection_stats":{"post":{"summary":"Collection Stats","description":"Current stats about NFT collections","security":[{"bearerAuth":[]}],"tags":["NFT Summary"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"volume_24h":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"The volume of the NFT collection accumulated over the last 24 hours","example":24596.98}},"required":["operator","value"]},{"type":"number","description":"The volume of the NFT collection accumulated over the last 24 hours","example":24596.98}]},"id":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"limit":{"type":"number","minimum":1,"maximum":100,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/nft_collection_leaderboard_nrt"}}}}}}},"/v0/defi/defi-swaps":{"post":{"summary":"DeFi Swaps","description":"`Defi Swaps endpoint can be used to track and verify both large and small \n swap amounts that occur on the Solana blockchain. HelloMoon also provides key data fields such as \n the time of the swap, who made the swap, and the program and aggregator that was used.`","security":[{"bearerAuth":[]}],"tags":["DeFi"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"user_account":{"type":"string","description":"The user account or public key references a digital wallet that can be used to sign transactions, transfers and \n hold digital assets such as tokens and NFTs.","example":"9QsYSps7ULsTDSgQ8pxCofh4uccCSU4eoPgF68vYLzYb"},"source_mint":{"type":"string","description":"The source mint references the token that is sent for the swap.\n For example, The user account swaps the source mint for the destination mint.","example":"9QsYSps7ULsTDSgQ8pxCofh4uccCSU4eoPgF68vYLzYb"},"destination_mint":{"type":"string","description":"The destination mint references the token that is received from the swap.\n For example, The user account swaps the source mint for the destination mint.","example":"9QsYSps7ULsTDSgQ8pxCofh4uccCSU4eoPgF68vYLzYb"},"aggregator_id":{"type":"string","description":"The aggregator id references a program that allows the user account to access liquidity from multiple DEXs. \n The id is used to identify the liquidity provider used to execute the swap.","example":"SSwpkEEcbUqx4vtoEByFjSkhKdCT862DNVb52nZg1UZ"},"programid":{"type":"string","description":"The program id references the DEX (decentralized exchange) address \n that is used to execute the swap with their provided liquidity.","example":"SSwpkEEcbUqx4vtoEByFjSkhKdCT862DNVb52nZg1UZ"},"source_amount":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"The amount of the source mint sent for the swap. \n The amount is in the source mint's native unit, which is differentiated by it's decimal value.\n For example, the amount of 1,000,000 for the source mint of USDC would be 1 USDC since its decimal value is 6.","example":1000000}},"required":["operator","value"]},{"type":"number","description":"The amount of the source mint sent for the swap. \n The amount is in the source mint's native unit, which is differentiated by it's decimal value.\n For example, the amount of 1,000,000 for the source mint of USDC would be 1 USDC since its decimal value is 6.","example":1000000}]},"destination_amount":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"The amount of destination mints received from the swap. \n The amount is in the source mint's native unit, which is differentiated by it's decimal value.\n For example, the amount of 1,000,000 for the source mint of USDC would be 1 USDC since its decimal value is 6.","example":1200000}},"required":["operator","value"]},{"type":"number","description":"The amount of destination mints received from the swap. \n The amount is in the source mint's native unit, which is differentiated by it's decimal value.\n For example, the amount of 1,000,000 for the source mint of USDC would be 1 USDC since its decimal value is 6.","example":1200000}]},"blockid":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"Numeric identifier of a block describing the slot that the block was produced in","example":154105605}},"required":["operator","value"]},{"type":"number","description":"Numeric identifier of a block describing the slot that the block was produced in","example":154105605}]},"blocktime":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes. \n Due to the voting mechanism, the block time may change for a while after a block is produced, \n and blocks with higher block id's may have lower block time. You can convert blocktime to UTC time \n with the Date library in any language.","example":1622576000}},"required":["operator","value"]},{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes. \n Due to the voting mechanism, the block time may change for a while after a block is produced, \n and blocks with higher block id's may have lower block time. You can convert blocktime to UTC time \n with the Date library in any language.","example":1622576000}]},"limit":{"type":"number","minimum":1,"maximum":100,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/defi_swaps"}}}}}}},"/v0/defi/lending":{"post":{"summary":"DeFi Lending","description":"`DeFi Lending endpoint can be used to track and verify \n borrowing and repayment of digital assets including spl tokens and stablecoins on the Solana blockchain.`","security":[{"bearerAuth":[]}],"tags":["DeFi"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"program_name":{"type":"string","description":"The program name references the lending protocol name\n that the user account is borrowing or repaid from.","example":"Solend"},"programid":{"type":"string","description":"The program id references the lending protocol\n that the user account is borrowing or repaid from.","example":"So1endDq2YkqhipRh3WViPa8hdiSpxWy6z3Z6tMCpAo"},"transactionid":{"type":"string","description":"First signature in a transaction, which can be used to track and verify the transaction status across the complete ledger. \n It is a 64 character hexidecimal string that is uniquely generated for each transaction.","example":"4uzkMm6PKpZankJMkrTxAsbgKdQGES8rQ37XtekZjXEQpYfrBxVT3QsXx2fjUteHBd3dsSjMnR1AtvG6zvnG9jze"},"action_type":{"anyOf":[{"type":"string","enum":["borrow","repay"],"description":"Select the action types: borrow or repay. \n If borrow, the endpoint returns the amount of tokens the user account borrowed from the program.\n If repay, the endpoint returns the amount of tokens that were repaid to the user.","example":"borrow"},{"type":"array","items":{"type":"string","enum":["borrow","repay"],"description":"Select the action types: borrow or repay. \n If borrow, the endpoint returns the amount of tokens the user account borrowed from the program.\n If repay, the endpoint returns the amount of tokens that were repaid to the user.","example":"borrow"}}]},"user_account":{"type":"string","description":"The user account is the public key of the wallet that\n the user account is borrowing or repaid to from the program.","example":"EkaNLzCbJpBWfkgu3q8uWuMJhfnnjXKzbed69LapSQeG"},"mint":{"type":"string","description":"The mint or token address references the token that the user account is repaying or borrowing.","example":"USDH1SM1ojwWUga67PGrgFWUHibbjqMvuMaDkRJTgkX"},"limit":{"type":"number","minimum":1,"maximum":100,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/defi_lending"}}}}}}},"/v0/defi/liquidity-pools":{"post":{"summary":"LP Withdrawal/Deposit","description":"Liquidity Pools","security":[{"bearerAuth":[]}],"tags":["DeFi"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"programid":{"type":"string","description":"The public key (address) of the account containing the program on chain.","example":"SSwpkEEcbUqx4vtoEByFjSkhKdCT862DNVb52nZg1UZ"},"user_account":{"type":"string","description":"Publickey of account signing and fee paying this transaction","example":"7MTG7HvhPqXqw5fsfG3HaCrPBXV17LqrgQDYd6rRQiN4"},"transactionid":{"type":"string","description":"First signature in a transaction, which can be used to track and verify the transaction status across the complete ledger. \n It is a 64 character hexidecimal string that is uniquely generated for each transaction.","example":"4uzkMm6PKpZankJMkrTxAsbgKdQGES8rQ37XtekZjXEQpYfrBxVT3QsXx2fjUteHBd3dsSjMnR1AtvG6zvnG9jze"},"instructionname":{"type":"string","description":"Name of this instruction"},"action_type":{"type":"string","description":"Type of this action"},"tokenminta":{"type":"string","description":"Mint address of the first token in the LP pair per the SPL token program","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"tokenmintb":{"type":"string","description":"Mint address of the second token in the LP pair per the SPL token program","example":"So11111111111111111111111111111111111111112"},"limit":{"type":"number","minimum":1,"maximum":100,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/defi_liquidity_pools"}}}}}}},"/v0/defi/lp-balances":{"post":{"summary":"Liquidity Pool Balances","description":"Liquidity Pool Balances","security":[{"bearerAuth":[]}],"tags":["DeFi"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"pool_address":{"type":"string","description":"Public key of address holding pool information","example":"HJPjoWUrhoZzkNfRpHuieeFk9WcZWjwy6PBjZ81ngndJ"},"program":{"type":"string","description":"The public key (address) of the account containing the program on chain.","example":"SSwpkEEcbUqx4vtoEByFjSkhKdCT862DNVb52nZg1UZ"},"pool_name":{"type":"string","description":"Name of the pool in the format {Symbol A}-{Symbol B}","example":"USDC-WSOL"},"mint_token_a":{"type":"string","description":"Name of the first token in the LP pair per our spl_token_list metadata","example":"USD Coin"},"mint_token_b":{"type":"string","description":"Mint address of the first token in the LP pair per the SPL token program","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"limit":{"type":"number","minimum":1,"maximum":100,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/defi_liquidity_pools_balances"}}}}}}},"/v0/defi/lp-balances/metadata":{"post":{"summary":"Liquidity Pool Metadata","description":"Liquidity Pool Metadata","security":[{"bearerAuth":[]}],"tags":["DeFi"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"pool_address":{"type":"string","description":"Public key of address holding pool information","example":"HJPjoWUrhoZzkNfRpHuieeFk9WcZWjwy6PBjZ81ngndJ"},"program":{"type":"string","description":"Program name","example":"Raydium"},"pool_name":{"type":"string","description":"Token pair of the LP","example":"ARB - RAY"},"mint_token_a":{"type":"string","description":"Mint address of the first token in the LP pair per the SPL token program","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"mint_token_b":{"type":"string","description":"Mint address of the second token in the LP pair per the SPL token program","example":"So11111111111111111111111111111111111111112"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/defi_liquidity_pools_metadata"}}}}}}},"/v0/defi/lp-emissions":{"post":{"summary":"LP Emissions Current","description":"Reward emissions per token and lp pool","security":[{"bearerAuth":[]}],"tags":["DeFi"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"pool_address":{"type":"string","description":"Public key of address holding pool information","example":"HJPjoWUrhoZzkNfRpHuieeFk9WcZWjwy6PBjZ81ngndJ"},"mint":{"type":"string","description":"Mint address per the SPL token program ","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"blocktime":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes. \n Due to the voting mechanism, the block time may change for a while after a block is produced, \n and blocks with higher block id's may have lower block time. You can convert blocktime to UTC time \n with the Date library in any language.","example":1622576000}},"required":["operator","value"]},{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes. \n Due to the voting mechanism, the block time may change for a while after a block is produced, \n and blocks with higher block id's may have lower block time. You can convert blocktime to UTC time \n with the Date library in any language.","example":1622576000}]},"limit":{"type":"number","minimum":1,"maximum":100,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/current_lp_emissions"}}}}}}},"/v0/defi/program_stats":{"post":{"summary":"Program Stats","description":"Program Stats","security":[{"bearerAuth":[]}],"tags":["DeFi Summary"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"programid":{"type":"string","description":"The public key (address) of the account containing the program on chain.","example":"SSwpkEEcbUqx4vtoEByFjSkhKdCT862DNVb52nZg1UZ"},"granularity":{"anyOf":[{"type":"string","enum":["THIRTY_MIN","ONE_HOUR","SIX_HOUR","HALF_DAY","ONE_DAY","ONE_WEEK","ONE_MONTH"],"description":"The amount of time that the record tracks","example":"ONE_WEEK"},{"type":"array","items":{"type":"string","enum":["THIRTY_MIN","ONE_HOUR","SIX_HOUR","HALF_DAY","ONE_DAY","ONE_WEEK","ONE_MONTH"],"description":"The amount of time that the record tracks","example":"ONE_WEEK"}}]},"new_users":{"type":"number","nullable":true,"description":"The number of new users over the given granularity if available","example":5},"active_users":{"type":"number","nullable":true,"description":"The number of active users over the given granularity if available","example":5}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/defi_program_leaderboard_v2"}}}}}}},"/v0/defi/program_stats/overlap":{"post":{"summary":"Program Overlap","description":"Program Overlap","security":[{"bearerAuth":[]}],"tags":["DeFi Summary"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"a_programid":{"type":"string","description":"The public key (address) of the account containing the program on chain.","example":"SSwpkEEcbUqx4vtoEByFjSkhKdCT862DNVb52nZg1UZ"},"b_programid":{"type":"string","description":"The public key (address) of the account containing the program on chain.","example":"SSwpkEEcbUqx4vtoEByFjSkhKdCT862DNVb52nZg1UZ"},"limit":{"type":"number","minimum":1,"maximum":100,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/defi_program_overlap"}}}}}}},"/v0/defi/program_stats/program/{programid}/daily_new_users":{"post":{"summary":"Program New Users","description":"Program New Users","security":[{"bearerAuth":[]}],"tags":["DeFi Summary"],"parameters":[{"in":"path","name":"programid","schema":{"type":"string"},"required":true}],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"day":{"type":"string","format":"date-time","description":"Day in UTC string","example":"2022-05-18 00:00:00.000000"},"limit":{"type":"number","minimum":1,"maximum":100,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/defi_program_net_new_users_daily"}}}}}}},"/v0/defi/staking/accounts":{"post":{"summary":"Stake accounts","description":"Stake accounts","security":[{"bearerAuth":[]}],"tags":["DeFi"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"blockid":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"Numeric identifier of a block describing the slot that the block was produced in","example":154105605}},"required":["operator","value"]},{"type":"number","description":"Numeric identifier of a block describing the slot that the block was produced in","example":154105605}]},"stakeaccount":{"type":"string","description":"Public key of the stake account"},"stakeauthority":{"type":"string","description":"Public key of a stake authority account"},"withdrawauthority":{"type":"string","description":"Public key of a withdraw authority account"},"transactionid":{"type":"string","description":"First signature in a transaction, which can be used to track and verify the transaction status across the complete ledger. \n It is a 64 character hexidecimal string that is uniquely generated for each transaction.","example":"4uzkMm6PKpZankJMkrTxAsbgKdQGES8rQ37XtekZjXEQpYfrBxVT3QsXx2fjUteHBd3dsSjMnR1AtvG6zvnG9jze"},"limit":{"type":"number","minimum":1,"maximum":100,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/stakeaccountsv2"}}}}}}},"/v0/defi/token_stats":{"post":{"summary":"SPL Token Stats","description":"SPL Token Stats","security":[{"bearerAuth":[]}],"tags":["DeFi Summary"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"mint":{"type":"string","description":"Mint address per the SPL token program ","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"granularity":{"anyOf":[{"type":"string","enum":["THIRTY_MIN","ONE_HOUR","SIX_HOUR","HALF_DAY","ONE_DAY","ONE_WEEK","ONE_MONTH"],"description":"The amount of time that the record tracks","example":"ONE_WEEK"},{"type":"array","items":{"type":"string","enum":["THIRTY_MIN","ONE_HOUR","SIX_HOUR","HALF_DAY","ONE_DAY","ONE_WEEK","ONE_MONTH"],"description":"The amount of time that the record tracks","example":"ONE_WEEK"}}]},"new_users":{"type":"number","nullable":true,"description":"The number of new users over the given granularity if available","example":5},"active_users":{"type":"number","nullable":true,"description":"The number of active users over the given granularity if available","example":5},"volume":{"type":"number","nullable":true,"description":"The volume moved for the time period","example":4198275337},"price_change":{"type":"number","nullable":true,"description":"The amount the token price has changed over the given granularity","example":-0.00219824953092429}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/defi_token_leaderboard_v3"}}}}}}},"/v0/defi/token_stats/mint/{mint}/daily_active_users":{"post":{"summary":"Token Users Over Time","description":"Token Users Over Time","security":[{"bearerAuth":[]}],"tags":["DeFi Summary"],"parameters":[{"in":"path","name":"mint","schema":{"type":"string"},"required":true}],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"day":{"type":"string","format":"date-time","description":"Day in UTC string","example":"2022-05-18 00:00:00.000000"},"limit":{"type":"number","minimum":1,"maximum":100,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/defi_token_users_daily"}}}}}}},"/v0/defi/token_stats/mint/{mint}/daily_new_purchases":{"post":{"summary":"Token New Users Over Time","description":"Token New Users Over Time","security":[{"bearerAuth":[]}],"tags":["DeFi Summary"],"parameters":[{"in":"path","name":"mint","schema":{"type":"string"},"required":true}],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"day":{"type":"string","format":"date-time","description":"Day in UTC string","example":"2022-05-18 00:00:00.000000"},"limit":{"type":"number","minimum":1,"maximum":100,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/defi_token_net_new_purchases"}}}}}}},"/v0/nft/distinct_owners_in_time_daily/{collection_id}":{"post":{"summary":"Collection distinct owners over time","description":"Collection distinct owners over time","security":[{"bearerAuth":[]}],"tags":["NFT Summary"],"parameters":[{"in":"path","name":"collection_id","schema":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"required":true}],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"num_distinct":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"The number of distinct owners for the NFT Collection on the day","example":588}},"required":["operator","value"]},{"type":"number","description":"The number of distinct owners for the NFT Collection on the day","example":588}]}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/nft_distinct_owners_in_time_daily_v1"}}}}}}},"/v0/nft/holding_period":{"post":{"summary":"Collection Holding Period","description":"Collection Holding Period","security":[{"bearerAuth":[]}],"tags":["NFT Summary"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"collection_id":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"holding_period":{"anyOf":[{"type":"string","enum":["< 1 Week","1-2 weeks","2-4 weeks","4-8 weeks","8 weeks - 180 days","> 180 days"],"description":"The amount of time that the NFT has been held","example":"2-4 weeks"},{"type":"array","items":{"type":"string","enum":["< 1 Week","1-2 weeks","2-4 weeks","4-8 weeks","8 weeks - 180 days","> 180 days"],"description":"The amount of time that the NFT has been held","example":"2-4 weeks"}}]}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/nft_holding_period_v1"}}}}}}},"/v0/nft/listings":{"post":{"summary":"NFT Listings","description":"NFT Listings","security":[{"bearerAuth":[]}],"tags":["NFT"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"instructionname":{"type":"string","description":"The instruction name for this transaction","example":"sale"},"transactionid":{"type":"string","description":"First signature in a transaction, which can be used to track and verify the transaction status across the complete ledger. \n It is a 64 character hexidecimal string that is uniquely generated for each transaction.","example":"4uzkMm6PKpZankJMkrTxAsbgKdQGES8rQ37XtekZjXEQpYfrBxVT3QsXx2fjUteHBd3dsSjMnR1AtvG6zvnG9jze"},"blockid":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"Numeric identifier of a block describing the slot that the block was produced in","example":154105605}},"required":["operator","value"]},{"type":"number","description":"Numeric identifier of a block describing the slot that the block was produced in","example":154105605}]},"mint":{"type":"string","description":"Mint address per the SPL token program ","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"market":{"anyOf":[{"type":"string","enum":["Exchange Art","SMB","SolanArt","Elixir","YAWWW","SolSea","Metaplex Auction House","OpenSea","Solsea","Solanart","Hadeswap","ME_V2","CoralCube","ME"],"description":"A list of marketplace data supported by HelloMoon","example":"Exchange Art"},{"type":"array","items":{"type":"string","enum":["Exchange Art","SMB","SolanArt","Elixir","YAWWW","SolSea","Metaplex Auction House","OpenSea","Solsea","Solanart","Hadeswap","ME_V2","CoralCube","ME"],"description":"A list of marketplace data supported by HelloMoon","example":"Exchange Art"}}]},"hour":{"type":"string","format":"date-time","description":"Hour in UTC","example":"2021-08-06 03:00:00.000000"},"limit":{"type":"number","minimum":1,"maximum":100,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/nft_listings"}}}}}}},"/v0/nft/market_stats":{"post":{"summary":"Marketplace Stats","description":"Marketplace Stats","security":[{"bearerAuth":[]}],"tags":["NFT Summary"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"market":{"anyOf":[{"type":"string","enum":["Exchange Art","SMB","SolanArt","Elixir","YAWWW","SolSea","Metaplex Auction House","OpenSea","Solsea","Solanart","Hadeswap","ME_V2","CoralCube","ME"],"description":"A list of marketplace data supported by HelloMoon","example":"Exchange Art"},{"type":"array","items":{"type":"string","enum":["Exchange Art","SMB","SolanArt","Elixir","YAWWW","SolSea","Metaplex Auction House","OpenSea","Solsea","Solanart","Hadeswap","ME_V2","CoralCube","ME"],"description":"A list of marketplace data supported by HelloMoon","example":"Exchange Art"}}]},"limit":{"type":"number","minimum":1,"maximum":100,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/nft_market_stats"}}}}}}},"/v0/nft/mint-information":{"post":{"summary":"NFT Mint Information","description":"On Chain Nft Mint Information from the Metaplex Token Standard","security":[{"bearerAuth":[]}],"tags":["NFT"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"mint":{"type":"string","description":"Mint address of nft per the spl token program ","example":"7BmVu38kL6sa8o7JMGqkH8cw3fzeQjAatPCCQ5cF2oFU"},"collection_mint":{"type":"string","description":"The public key of the Collection NFT's Mint Account","example":"3N1ppz96gi2PsnuAMxSLnYMPcjeqHk7tkCuKpPDbJfdk"},"limit":{"type":"number","minimum":1,"maximum":100,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/nft_mint_information"}}}}}}},"/v0/nft/mintlist":{"post":{"summary":"NFT Mint List","description":"Mapping of HelloMoon collection ids to on chain mint addresses","security":[{"bearerAuth":[]}],"tags":["NFT"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"collection_id":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"mint":{"type":"string","description":"Mint address of nft per the spl token program ","example":"7BmVu38kL6sa8o7JMGqkH8cw3fzeQjAatPCCQ5cF2oFU"},"limit":{"type":"number","minimum":1,"maximum":100,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"collection_id":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"mint":{"type":"string","description":"Mint address of nft per the spl token program ","example":"7BmVu38kL6sa8o7JMGqkH8cw3fzeQjAatPCCQ5cF2oFU"}},"required":["collection_id","mint"]}}}}}}}},"/v0/nft/overlap_proportion/{collection_id}":{"post":{"summary":"Collection Overlap","description":"Collection Overlap","security":[{"bearerAuth":[]}],"tags":["NFT Summary"],"parameters":[{"in":"path","name":"collection_id","schema":{"type":"string","description":"Hello Moon's collection identifier used to get overlapping owners from other NFT collections","example":"c193461aa96bbb4fdbea9eeef7c55c56"},"required":true}],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"owners_overlappings":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"Number of overlapping owners between the two collections","example":2}},"required":["operator","value"]},{"type":"number","description":"Number of overlapping owners between the two collections","example":2}]}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/nft_overlapping_owners_v1"}}}}}}},"/v0/nft/ownership/{collection_id}/current_owners":{"post":{"summary":"Collection current owners","description":"Collection current owners","security":[{"bearerAuth":[]}],"tags":["NFT Summary"],"parameters":[{"in":"path","name":"collection_id","schema":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"required":true}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/nft_collection_owners_current_v1"}}}}}}},"/v0/nft/ownership/cumulative":{"post":{"summary":"Cumulative NFT owners over time","description":"Cumulative NFT owners over time","security":[{"bearerAuth":[]}],"tags":["DeFi Summary"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"day":{"type":"string","format":"date-time","description":"Day in UTC string","example":"2022-05-18 00:00:00.000000"},"limit":{"type":"number","minimum":1,"maximum":100,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/nft_owners_cumulative_v1"}}}}}}},"/v0/nft/ownership":{"post":{"summary":"Collection Cumulative Ownership","description":"Collection Cumulative Ownership","security":[{"bearerAuth":[]}],"tags":["NFT Summary"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"day_in_seconds":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"UTC timestamp","example":1669939200}},"required":["operator","value"]},{"type":"number","description":"UTC timestamp","example":1669939200}]},"collection_id":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"num_owners":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"The number of distinct owners for the collection","example":200}},"required":["operator","value"]},{"type":"number","description":"The number of distinct owners for the collection","example":200}]},"limit":{"type":"number","minimum":1,"maximum":100,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/nft_collection_ownership_all_time_v1"}}}}}}},"/v0/nft/sales_per_market_daily":{"post":{"summary":"Sales per market over time","description":"Sales per market over time","security":[{"bearerAuth":[]}],"tags":["NFT Summary"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"market":{"anyOf":[{"type":"string","enum":["Exchange Art","Exchange.Art","SMB","SolanArt","Elixir","YAWWW","SolSea","Metaplex Auction House","OpenSea","Solsea","Solanart","Hadeswap","ME_V2","ME_V1","Coral Cube","CoralCube","ME"],"description":"A list of marketplace data supported by HelloMoon","example":"Exchange Art"},{"type":"array","items":{"type":"string","enum":["Exchange Art","Exchange.Art","SMB","SolanArt","Elixir","YAWWW","SolSea","Metaplex Auction House","OpenSea","Solsea","Solanart","Hadeswap","ME_V2","ME_V1","Coral Cube","CoralCube","ME"],"description":"A list of marketplace data supported by HelloMoon","example":"Exchange Art"}}]}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/sales_per_market_daily"}}}}}}},"/v0/nft/top_holders":{"post":{"summary":"Collection Top Holders","description":"Collection Top Holders","security":[{"bearerAuth":[]}],"tags":["NFT Summary"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"owneraccount":{"type":"string","description":"The account that owns the NFT","example":"8sB1J6aX8UfVAsLTpZA3UQwrvV5owYAqUvqhV9ea8sK4"},"collection":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"amount":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"The number of NFTs held by the account for the collectoin","example":3}},"required":["operator","value"]},{"type":"number","description":"The number of NFTs held by the account for the collectoin","example":3}]},"limit":{"type":"number","minimum":1,"maximum":100,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/nft_top_holders"}}}}}}},"/v0/nft/washtrading_index":{"post":{"summary":"Collection washtrading index","description":"Collection washtrading index","security":[{"bearerAuth":[]}],"tags":["NFT Summary"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"index":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"Hello Moon's ranking index for wash trading ranging from 0 to 100"}},"required":["operator","value"]},{"type":"number","description":"Hello Moon's ranking index for wash trading ranging from 0 to 100"}]},"collectionid":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/washtrading_collection_index_v7"}}}}}}},"/v0/nft_listing_status":{"post":{"summary":"Current NFT Listings","description":"Current NFT Listings","security":[{"bearerAuth":[]}],"tags":["NFT"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"collection_id":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"mint":{"type":"string","description":"Mint address per the SPL token program ","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"islisted":{"type":"boolean","description":"Is the item listed"},"market":{"anyOf":[{"type":"string","enum":["MEv1","MEv2"],"description":"A list of marketplace data supported by HelloMoon","example":"MEv1"},{"type":"array","items":{"type":"string","enum":["MEv1","MEv2"],"description":"A list of marketplace data supported by HelloMoon","example":"MEv1"}}]},"price":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"Amount of a token unconverted for decimals, e.g. 1 SOL is 1,000,000,000 since SOL has 9 decimals.","example":1000000000}},"required":["operator","value"]},{"type":"number","description":"Amount of a token unconverted for decimals, e.g. 1 SOL is 1,000,000,000 since SOL has 9 decimals.","example":1000000000}]},"blocktime":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes. \n Due to the voting mechanism, the block time may change for a while after a block is produced, \n and blocks with higher block id's may have lower block time. You can convert blocktime to UTC time \n with the Date library in any language.","example":1622576000}},"required":["operator","value"]},{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes. \n Due to the voting mechanism, the block time may change for a while after a block is produced, \n and blocks with higher block id's may have lower block time. You can convert blocktime to UTC time \n with the Date library in any language.","example":1622576000}]},"seller":{"type":"string","description":"Publickey of account signing and fee paying this transaction","example":"7MTG7HvhPqXqw5fsfG3HaCrPBXV17LqrgQDYd6rRQiN4"},"limit":{"type":"number","minimum":1,"maximum":100,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/nft_listing_status"}}}}}}},"/v0/nft_primary_sale_collection_stats":{"post":{"summary":"Collection Mint Stats","description":"Collection Mint Stats","security":[{"bearerAuth":[]}],"tags":["NFT Summary"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"latest_mint_block_time":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"The timestamp of the last minted block (in seconds)","example":1671452991}},"required":["operator","value"]},{"type":"number","description":"The timestamp of the last minted block (in seconds)","example":1671452991}]},"collection_id":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"num_minters":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"Number of minters for the collection","example":10}},"required":["operator","value"]},{"type":"number","description":"Number of minters for the collection","example":10}]},"mint_price_lamport":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"Amount of a token unconverted for decimals, e.g. 1 SOL is 1,000,000,000 since SOL has 9 decimals.","example":1000000000}},"required":["operator","value"]},{"type":"number","description":"Amount of a token unconverted for decimals, e.g. 1 SOL is 1,000,000,000 since SOL has 9 decimals.","example":1000000000}]},"total_minted_by_smart_minters":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"The total number of mints done by smart minters","example":400}},"required":["operator","value"]},{"type":"number","description":"The total number of mints done by smart minters","example":400}]},"limit":{"type":"number","minimum":1,"maximum":100,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/nft_primary_sale_collection_stats"}}}}}}},"/v0/nft_sales":{"post":{"summary":"Sales","description":"Sales","security":[{"bearerAuth":[]}],"tags":["NFT"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"buyer":{"type":"string","description":"PublicKey of the buyer of the nft","example":"Aci6FAogYQt6cueGNmee2Fu2Xk9Q97yd25FavzwPt9Ge"},"seller":{"type":"string","description":"PublicKey of the seller of the nft","example":"Aci6FAogYQt6cueGNmee2Fu2Xk9Q97yd25FavzwPt9Ge"},"market":{"type":"string","description":"One of SMB, ME_V1, ME_V2, YAWWW, Elixir, SolSea, OpenSea, Solanart, Hadeswap, CoralCube, Coral Cube, Exchange.Art or the auction house public key ","example":"SMB"},"price":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"Price of the nft in denoted in SOL","example":0.1}},"required":["operator","value"]},{"type":"number","description":"Price of the nft in denoted in SOL","example":0.1}]},"blocktime":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes. \n Due to the voting mechanism, the block time may change for a while after a block is produced, \n and blocks with higher block id's may have lower block time. You can convert blocktime to UTC time \n with the Date library in any language.","example":1622576000}},"required":["operator","value"]},{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes. \n Due to the voting mechanism, the block time may change for a while after a block is produced, \n and blocks with higher block id's may have lower block time. You can convert blocktime to UTC time \n with the Date library in any language.","example":1622576000}]},"blockid":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"Numeric identifier of a block describing the slot that the block was produced in","example":154105605}},"required":["operator","value"]},{"type":"number","description":"Numeric identifier of a block describing the slot that the block was produced in","example":154105605}]},"collection_id":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"mint":{"type":"string","description":"Mint address of nft per the spl token program ","example":"7BmVu38kL6sa8o7JMGqkH8cw3fzeQjAatPCCQ5cF2oFU"},"limit":{"type":"number","minimum":1,"maximum":100,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/parsed_nft_sales_nrt"}}}}}}},"/v0/nft_sales/primary":{"post":{"summary":"NFT Primary Sales","description":"Transaction level data on NFT primary sales","security":[{"bearerAuth":[]}],"tags":["NFT"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"transactionid":{"type":"string","description":"First signature in a transaction, which can be used to track and verify the transaction status across the complete ledger. \n It is a 64 character hexidecimal string that is uniquely generated for each transaction.","example":"4uzkMm6PKpZankJMkrTxAsbgKdQGES8rQ37XtekZjXEQpYfrBxVT3QsXx2fjUteHBd3dsSjMnR1AtvG6zvnG9jze"},"mint_program":{"type":"string","description":"The program that minted this NFT","example":"cndy3Z4yapfJBmL3ShUp5exZKqR3z33thTzeNMm2gRZ"},"payer":{"type":"string","description":"Payer account address"},"payment_mint":{"type":"string","description":"Mint address per the SPL token program ","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"wallet":{"type":"string","description":"Public key of a wallet"},"nft_mint":{"type":"string","description":"Mint address of nft per the spl token program ","example":"7BmVu38kL6sa8o7JMGqkH8cw3fzeQjAatPCCQ5cF2oFU"},"limit":{"type":"number","minimum":1,"maximum":100,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/parsed_nft_primary_sales_nrt"}}}}}}},"/v0/spl_token_list":{"post":{"summary":"SPL Token List","description":"SPL Token List","security":[{"bearerAuth":[]}],"tags":["DeFi"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"mint":{"type":"string","description":"Mint address per the SPL token program ","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"symbol":{"type":"string","description":"Symbol of token per the Metaplex's token metadata standard","example":"METASOL"},"name":{"type":"string","description":"Name of token per the Metaplex standard","example":"Shibana"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/spl_token_list"}}}}}}},"/v0/stake/actions":{"post":{"summary":"Staking Account Actions","description":"Get information about staking account actions, 'Activate', and 'Deactivate' with the staked amount, vote account, and stake authority","security":[{"bearerAuth":[]}],"tags":["Staking"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"blocktime":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes. \n Due to the voting mechanism, the block time may change for a while after a block is produced, \n and blocks with higher block id's may have lower block time. You can convert blocktime to UTC time \n with the Date library in any language.","example":1622576000}},"required":["operator","value"]},{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes. \n Due to the voting mechanism, the block time may change for a while after a block is produced, \n and blocks with higher block id's may have lower block time. You can convert blocktime to UTC time \n with the Date library in any language.","example":1622576000}]},"activate":{"type":"boolean","description":"true if staking is activated, false if it is deactivated","example":true},"balance":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"balance (in lamports) of the stake account being acivated or deactivated","example":5100000000}},"required":["operator","value"]},{"type":"number","description":"balance (in lamports) of the stake account being acivated or deactivated","example":5100000000}]},"transactionid":{"type":"string","description":"First signature in a transaction, which can be used to track and verify the transaction status across the complete ledger. \n It is a 64 character hexidecimal string that is uniquely generated for each transaction.","example":"4uzkMm6PKpZankJMkrTxAsbgKdQGES8rQ37XtekZjXEQpYfrBxVT3QsXx2fjUteHBd3dsSjMnR1AtvG6zvnG9jze"},"stakeaccount":{"type":"string","description":"The public key of the stake account","example":"98CwUi4SqDuSJoXRStFdk7wontYi7jmDghCRHSbTpj6u"},"voteaccount":{"type":"string","description":"When someone wants to delegate tokens in a stake account, the delegation command is pointed at the vote account address of the validator to whom the token-holder wants to delegate.","example":"2Y2opv8Kq8zFATg6ipqb2AjgCf18tkv1CLMLXQGif2NH"},"stakeauthority":{"type":"string","description":"account owner (public key), given authority to stake tokens","example":"CxPy4tBstjyzavaoFnPs5FYM36jXQLyBTFZKUdGusL88"},"limit":{"type":"number","minimum":1,"maximum":100,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/stakeactionsv2"}}}}}}},"/v0/stake/transfers":{"post":{"summary":"Staking Account Tranfers","description":"Amount of lamports transferred between stake accounts","security":[{"bearerAuth":[]}],"tags":["Staking"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"blocktime":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes. \n Due to the voting mechanism, the block time may change for a while after a block is produced, \n and blocks with higher block id's may have lower block time. You can convert blocktime to UTC time \n with the Date library in any language.","example":1622576000}},"required":["operator","value"]},{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes. \n Due to the voting mechanism, the block time may change for a while after a block is produced, \n and blocks with higher block id's may have lower block time. You can convert blocktime to UTC time \n with the Date library in any language.","example":1622576000}]},"lamports":{"type":"number","nullable":true,"description":"amount of lamports transferred"},"transactionid":{"type":"string","description":"First signature in a transaction, which can be used to track and verify the transaction status across the complete ledger. \n It is a 64 character hexidecimal string that is uniquely generated for each transaction.","example":"4uzkMm6PKpZankJMkrTxAsbgKdQGES8rQ37XtekZjXEQpYfrBxVT3QsXx2fjUteHBd3dsSjMnR1AtvG6zvnG9jze"},"sourcestakeaccount":{"type":"string","description":"stake account that is transferring lamports to the destination stake account","example":"728vS47vUmD6Z2wBqew38fy4b85C5KB77tLVRMnQLpTa"},"destinationaccount":{"type":"string","description":"stake account that is receiving lamports from the source stake account","example":"4HWXz3X8vwEifBHjxcdLjBdB3Ujs24uqQKDW1AMCKqjr"},"authority":{"type":"string","description":"account owner (public key), given authority to stake tokens","example":"CxPy4tBstjyzavaoFnPs5FYM36jXQLyBTFZKUdGusL88"},"limit":{"type":"number","minimum":1,"maximum":100,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/staketransfersv2"}}}}}}},"/v0/token/creation":{"post":{"summary":"Token Creation","description":"Transaction level information on creation of tokens","security":[{"bearerAuth":[]}],"tags":["DeFi"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"blocktime":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes. \n Due to the voting mechanism, the block time may change for a while after a block is produced, \n and blocks with higher block id's may have lower block time. You can convert blocktime to UTC time \n with the Date library in any language.","example":1622576000}},"required":["operator","value"]},{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes. \n Due to the voting mechanism, the block time may change for a while after a block is produced, \n and blocks with higher block id's may have lower block time. You can convert blocktime to UTC time \n with the Date library in any language.","example":1622576000}]},"mintauthority":{"type":"string","description":"account owner (public key), given authority to mint new tokens","example":"6Yt334Mfb58ciFAWwQnKW68mGCVTVTn4ZPgjxr4SyZPv"},"mintaccount":{"type":"string","description":"mint account that contains the address to the token or NFT","example":"ExbT3nRfgQ93widKduSNjy5huR7eCFHhGP2NxYo5LEMp"},"freezeauthority":{"type":"string","description":"account owner (public key), given authority to freeze token accounts - rendering an Account unusable","example":"6Yt334Mfb58ciFAWwQnKW68mGCVTVTn4ZPgjxr4SyZPv"},"limit":{"type":"number","minimum":1,"maximum":100,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/tokencreationv2"}}}}}}},"/v0/token/supply":{"post":{"summary":"Token Supply","description":"Contains all minting and burning transactions for a given token","security":[{"bearerAuth":[]}],"tags":["DeFi"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"transactionid":{"type":"string","description":"First signature in a transaction, which can be used to track and verify the transaction status across the complete ledger. \n It is a 64 character hexidecimal string that is uniquely generated for each transaction.","example":"4uzkMm6PKpZankJMkrTxAsbgKdQGES8rQ37XtekZjXEQpYfrBxVT3QsXx2fjUteHBd3dsSjMnR1AtvG6zvnG9jze"},"blocktime":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes. \n Due to the voting mechanism, the block time may change for a while after a block is produced, \n and blocks with higher block id's may have lower block time. You can convert blocktime to UTC time \n with the Date library in any language.","example":1622576000}},"required":["operator","value"]},{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes. \n Due to the voting mechanism, the block time may change for a while after a block is produced, \n and blocks with higher block id's may have lower block time. You can convert blocktime to UTC time \n with the Date library in any language.","example":1622576000}]},"account":{"type":"string","description":"Token account of a mint owned by the token program (Spl Token Program). It holds information about the tokens owned by a public key","example":"3tToSVLBjhHLtw1AFarPk4xpKuUpM9r6siNL6hUuJjQC"},"mintaccount":{"type":"string","description":"Mint address per the SPL token program ","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"authority":{"type":"string","description":"The address of the authority, allowing the address to authorize a new mint or burn the token","example":"4Ja4ztAD8eZ4vm2cH6QjscohAPL112QoisfCuPyioRs7"},"amount":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"amount of tokens in native units being minted or burned, burned tokens are negative","example":-85}},"required":["operator","value"]},{"type":"number","description":"amount of tokens in native units being minted or burned, burned tokens are negative","example":-85}]},"ismultisig":{"type":"boolean","description":"uses more than one private key to authorize crypto transactions","example":false},"limit":{"type":"number","minimum":1,"maximum":100,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/tokensupplyv2"}}}}}}},"/v0/token/transfers":{"post":{"summary":"Token Transfers Between Owners","description":"Contains all transfers types between token owners for a given token with 'closeAccount', 'createAccount', 'createAccountWithSeed', 'transferChecked' and 'transfer'","security":[{"bearerAuth":[]}],"tags":["DeFi"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"transactionid":{"type":"string","description":"First signature in a transaction, which can be used to track and verify the transaction status across the complete ledger. \n It is a 64 character hexidecimal string that is uniquely generated for each transaction.","example":"4uzkMm6PKpZankJMkrTxAsbgKdQGES8rQ37XtekZjXEQpYfrBxVT3QsXx2fjUteHBd3dsSjMnR1AtvG6zvnG9jze"},"blocktime":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes. \n Due to the voting mechanism, the block time may change for a while after a block is produced, \n and blocks with higher block id's may have lower block time. You can convert blocktime to UTC time \n with the Date library in any language.","example":1622576000}},"required":["operator","value"]},{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes. \n Due to the voting mechanism, the block time may change for a while after a block is produced, \n and blocks with higher block id's may have lower block time. You can convert blocktime to UTC time \n with the Date library in any language.","example":1622576000}]},"sourceowner":{"type":"string","description":"source owner is the per owner of the source (token account), each token account will refer to a distinct token mint","example":"8vXJyKBjkA4Es4cHBmXyqGq1iLu3BnfPQL36GWr2AB3"},"source":{"type":"string","description":"Token account of a mint owned by the token program (Spl Token Program). It holds information about the tokens owned by a public key","example":"3tToSVLBjhHLtw1AFarPk4xpKuUpM9r6siNL6hUuJjQC"},"destinationowner":{"type":"string","description":"destination owner is the per owner of the destination (token account), each token account will refer to a distinct token mint","example":"CS8mZeh885Uo8GMTzDgUhbRPduJVFL2dbZF3mRif3ASm"},"destination":{"type":"string","description":"Token account of a mint owned by the token program (Spl Token Program). It holds information about the tokens owned by a public key","example":"3tToSVLBjhHLtw1AFarPk4xpKuUpM9r6siNL6hUuJjQC"},"type":{"anyOf":[{"type":"string","enum":["closeAccount","createAccount","createAccountWithSeed","transferChecked","transfer"]},{"type":"array","items":{"type":"string","enum":["closeAccount","createAccount","createAccountWithSeed","transferChecked","transfer"]}}]},"amount":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"amount (in native token units) transferred between source owner and destination owner","example":4500}},"required":["operator","value"]},{"type":"number","description":"amount (in native token units) transferred between source owner and destination owner","example":4500}]},"mint":{"type":"string","description":"Mint address per the SPL token program ","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/token_transfers_with_owner"}}}}}}},"/v0/token_price_candlestick":{"post":{"summary":"SPL Token Candlesticks","description":"SPL Token Candlesticks","security":[{"bearerAuth":[]}],"tags":["DeFi"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Token program id","example":"zebeczgi5fSEtbpfQKVZKCJ3WgYXxjkMUkNNx7fLKAF"},"starttime":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"Epoch start time of time period in seconds","example":1663747620}},"required":["operator","value"]},{"type":"number","description":"Epoch start time of time period in seconds","example":1663747620}]},"granularity":{"anyOf":[{"type":"string","enum":["ONE_MIN","FIVE_MIN","ONE_HOUR","ONE_DAY","ONE_WEEK"],"description":"The time granularity of the candlestick: ONE_MIN, FIVE_MIN, ONE_HOUR, ONE_DAY, ONE_WEEK","example":"ONE_DAY"},{"type":"array","items":{"type":"string","enum":["ONE_MIN","FIVE_MIN","ONE_HOUR","ONE_DAY","ONE_WEEK"],"description":"The time granularity of the candlestick: ONE_MIN, FIVE_MIN, ONE_HOUR, ONE_DAY, ONE_WEEK","example":"ONE_DAY"}}]},"limit":{"type":"number","minimum":1,"maximum":100,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/token_price_candlesticks"}}}}}}},"/v0/top_tokens_per_program_24hr/{programid}":{"post":{"summary":"Top tokens per program","description":"Top tokens per program","security":[{"bearerAuth":[]}],"tags":["DeFi Summary"],"parameters":[{"in":"path","name":"programid","schema":{"type":"string"},"required":true}],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","minimum":1,"maximum":100,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/top_tokens_per_program_24hr"}}}}}}}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment