Skip to content

Instantly share code, notes, and snippets.

@hankc97
Created January 14, 2023 22:20
Show Gist options
  • Save hankc97/0027b05cf66fa116754bf427c992892f to your computer and use it in GitHub Desktop.
Save hankc97/0027b05cf66fa116754bf427c992892f 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},"amount":{"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","amount","postBalance","pubkey","rewardType"]}},"defi_lending":{"type":"array","items":{"type":"object","properties":{"programName":{"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"},"actionType":{"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"},"userAccount":{"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":["programName","programId","actionType","userAccount","mint","amount","transactionId","blockTime","instructionName","instructionId","instructionPosition","subInstructionPosition","instructionOrdinal"]}},"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":"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"},"poolAddress":{"type":"string","description":"Public key of address holding pool information","example":"HJPjoWUrhoZzkNfRpHuieeFk9WcZWjwy6PBjZ81ngndJ"},"poolName":{"type":"string","description":"Name of the pool in the format {Symbol A}-{Symbol B}","example":"USDC-WSOL"},"mintTokenA":{"type":"string","description":"Name of the first token in the LP pair per our spl_token_list metadata","example":"USD Coin"},"nameTokenA":{"type":"string","description":"Name of the second token in the LP pair per our spl_token_list metadata","example":"Wrapped SOL"},"mintTokenB":{"type":"string","description":"Mint address of the first token in the LP pair per the SPL token program","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"nameTokenB":{"type":"string","description":"Mint address of the second token in the LP pair per the SPL token program","example":"So11111111111111111111111111111111111111112"},"tokenAccountA":{"type":"string","description":"Mint address of the first token in the LP pair per the SPL token program","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"tokenAccountB":{"type":"string","description":"Mint address of the first token in the LP pair per the SPL token program","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"balanceTokenALamports":{"type":"number","description":"Balance of token A in the tokens native units (unconverted for decimals)","example":1034000},"balanceTokenBLamports":{"type":"number","description":"Balance of token B in the tokens native units (unconverted for decimals)","example":1034000},"balanceTokenA":{"type":"number","description":"Balance of token A in the tokens converted for decimals","example":10.34},"balanceTokenB":{"type":"number","description":"Balance of token B in the tokens converted for decimals","example":10.34}},"required":["program","poolAddress","poolName","mintTokenA","nameTokenA","mintTokenB","nameTokenB","tokenAccountA","tokenAccountB","balanceTokenALamports","balanceTokenBLamports","balanceTokenA","balanceTokenB"]}},"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"},"poolAddress":{"type":"string","description":"Public key of address holding pool information","example":"HJPjoWUrhoZzkNfRpHuieeFk9WcZWjwy6PBjZ81ngndJ"},"mint":{"type":"string","description":"The spl mint of the reward being emitted by the lp","example":"MNDEFzGvMt87ueuHvVU9VcTqsAP5b3fTGPsHuuPA5ey"},"emissionsPerDay":{"type":"number","description":"The amount of token given per day to liquidity providers of the pool in tokens native units","example":7084799.999999},"emissionsPerDayConverted":{"type":"number","description":"The amount of token given per day to liquidity providers of the pool converted for token decimals","example":77.0848},"mintName":{"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","poolAddress","mint","emissionsPerDay","emissionsPerDayConverted","mintName","rewardVault"]}},"defi_liquidity_pools_metadata":{"type":"array","items":{"type":"object","properties":{"programName":{"type":"string","description":"Program name","example":"Raydium"},"poolAddress":{"type":"string","description":"Public key of address holding pool information","example":"HJPjoWUrhoZzkNfRpHuieeFk9WcZWjwy6PBjZ81ngndJ"},"poolName":{"type":"string","description":"Token pair of the LP","example":"ARB - RAY"},"mintTokenA":{"type":"string","description":"Mint address of the first token in the LP pair per the SPL token program","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"nameTokenA":{"type":"string","description":"Name of the first token in the LP pair per our spl_token_list metadata","example":"USD Coin"},"mintTokenB":{"type":"string","description":"Mint address of the second token in the LP pair per the SPL token program","example":"So11111111111111111111111111111111111111112"},"nameTokenB":{"type":"string","description":"Name of the second token in the LP pair per our spl_token_list metadata","example":"Wrapped SOL"},"tokenAccountA":{"type":"string","description":"Token account of a mint per the SPL token program that holds the first token in the LP pair","example":"2JTw1fE2wz1SymWUQ7UqpVtrTuKjcd6mWwYwUJUCh2rq"},"tokenAccountB":{"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":["programName","poolAddress","poolName","mintTokenA","nameTokenA","mintTokenB","nameTokenB","tokenAccountA","tokenAccountB"]}},"defi_liquidity_pools":{"type":"array","items":{"type":"object","properties":{"programId":{"type":"string","description":"The program id references the lending program that the user account is removing or adding tokens from","example":"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"},"actionType":{"type":"string","enum":["removeLiquidity","addLiquidity"],"description":"Select the action types: addLiquidity or removeLiquidity\n If addLiquidity, the endpoint returns the amount of tokens that were added to the liquidity pool.\n If removeLiquidity, the endpoint returns the amount of tokens that were removed from the liquidity pool."},"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},"userAccount":{"type":"string","description":"The user account is the public key of the liquidity pool provider.","example":"882DFRCi5akKFyYxT4PP2vZkoQEGvm2Nsind2nPDuGqu"},"tokenMintA":{"type":"string","description":"Token mint A is the token address of the first token provided to the liquidity pool.\n The USD value of the deposit always needs to be split between the two tokens to ensure equal value on each side.","example":"So11111111111111111111111111111111111111112"},"tokenMintB":{"type":"string","description":"Token mint B is the token address of the second token provided to the liquidity pool.\n The USD value of the deposit always needs to be split between the two tokens to ensure equal value on each side.","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"amountTokenA":{"type":"number","description":"The amount of (mint A) tokens that the user account is adding or removing from the liquidity pool.\n For example, the amount of 1,000,000 for the mint of USDC would be 1 USDC since its decimal value is 6.","example":0},"amountTokenB":{"type":"number","description":"The amount of (mint B) tokens that the user account is adding or removing from the liquidity pool.\n For example, the amount of 1,000,000 for the mint of USDC would be 1 USDC since its decimal value is 6.","example":70630632},"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},"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},"instructionName":{"type":"string","description":"Name of this instruction"}},"required":["programId","actionType","blockTime","userAccount","tokenMintA","tokenMintB","amountTokenA","amountTokenB","transactionId","instructionId","instructionposition","subinstructionposition","instructionOrdinal","instructionName"]}},"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":"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"},"programName":{"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"},"activeUsers":{"type":"number","nullable":true,"description":"The number of active users over the given granularity if available","example":5},"newUsers":{"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},"addLiquidity":{"type":"number","nullable":true,"description":"The amount of liquidity added over the given granularity if available","example":118361.316304},"remLiquidity":{"type":"number","nullable":true,"description":"The amount of liquidity removed over the given granularity if available","example":8216.082558}},"required":["programId","programName","granularity","activeUsers","newUsers","deposits","withdraws","swaps","borrows","repayments","addLiquidity","remLiquidity"]}},"defi_program_overlap":{"type":"array","items":{"type":"object","properties":{"aProgramId":{"type":"string","description":"The public key (address) of the account containing the program on chain.","example":"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"},"bProgramId":{"type":"string","description":"The public key (address) of the account containing the program on chain.","example":"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"},"numOverlap":{"type":"number","description":"Number of wallets that own both A and B","example":2124},"numTotal":{"type":"number","description":"Total number of wallets that own A","example":2126},"percentOverlap":{"type":"number","description":"Percentage of all owners of A that also own B","example":0.6148262951243133}},"required":["aProgramId","bProgramId","numOverlap","numTotal","percentOverlap"]}},"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":"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"},"day":{"type":"string","format":"date-time","description":"Day in UTC string","example":"2022-05-18 00:00:00.000000"},"newUsers":{"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","newUsers"]}},"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_swaps":{"type":"array","items":{"type":"object","properties":{"userAccount":{"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"},"sourceMint":{"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":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"destinationMint":{"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":"So11111111111111111111111111111111111111112"},"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"},"aggregatorId":{"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":"JUP4Fb2cqiRUcaTHdrPC8h2gNsA2ETXiPDD33WcGuJB"},"sourceAmount":{"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},"destinationAmount":{"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":["userAccount","sourceMint","destinationMint","programId","aggregatorId","sourceAmount","destinationAmount","blockTime","blockId","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},"totalHolders":{"type":"number","nullable":true,"description":"Unique number of holders for the token currently","example":97},"programCount1d":{"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"},"priceChange":{"type":"number","nullable":true,"description":"The amount the token price has changed over the given granularity","example":-0.00219824953092429},"smartMoneyNetInflow":{"type":"number","nullable":true,"description":"The amount of inflow if by smart minters over the given granularity if available","example":100.914878},"socialNetInflow":{"type":"number","nullable":true,"description":"The amount of inflow if by social accounts over the given granularity if available","example":100.914878},"activeUsers":{"type":"number","nullable":true,"description":"The number of active users over the given granularity if available","example":5},"newUsers":{"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 of a candlestick is the total number of coins or tokens traded during the period.\n It is usually represented by the size of the candlestick body, with larger bodies indicating higher volumes.\n Volume is an important indicator of market activity and can be used to confirm price movements and identify potential reversal points.","example":4198275337},"volumeChange":{"type":"number","nullable":true,"description":"The change in volume over the given granularity if available","example":0.5267725770533356}},"required":["mint","name","symbol","decimals","totalHolders","programCount1d","latest_price","granularity","priceChange","smartMoneyNetInflow","socialNetInflow","activeUsers","newUsers","buyers","sellers","volume","volumeChange"]}},"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"},"activeUserCount":{"type":"number","description":"Number wallets who have transacted with this mint in the past 24h","example":248625}},"required":["mint","token_name","day","activeUserCount"]}},"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"},"netNewPurchasers":{"type":"number","description":"Number wallets who have transacted with this mint for the first time in the past 24h"}},"required":["mint","day","netNewPurchasers"]}},"collection_listing_candlesticks":{"type":"array","items":{"type":"object","properties":{"collectionId":{"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 (period) of the candlestick: ONE_MIN, FIVE_MIN, ONE_HOUR, ONE_DAY, ONE_WEEK.\n For example, the ONE_MIN granularity will return a candlestick for every minute in the time period - as long as there is volume.","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 of a candlestick is the highest price reached during the time period.","example":13367},"low":{"type":"number","description":"The low price of a candlestick is the lowest price reached during the time period.","example":13367},"open":{"type":"number","description":"The opening price of a candlestick is the price at which the period opened.\n It is usually represented by the top of the candlestick body, and is the starting point for the period's price action.","example":13367},"close":{"type":"number","description":"The closing price of a candlestick is the price at which the period closed.\n It is usually represented by the bottom of the candlestick body, and is the ending point for the period's price action.","example":13367},"volume":{"type":"number","description":"The volume of a candlestick is the total number of coins or tokens traded during the period.\n It is usually represented by the size of the candlestick body, with larger bodies indicating higher volumes.\n Volume is an important indicator of market activity and can be used to confirm price movements and identify potential reversal points.","example":4198275337}},"required":["collectionId","granularity","lastblockid","startTime","high","low","open","close","volume"]}},"collection_listing_stats":{"type":"array","items":{"type":"object","properties":{"collectionId":{"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},"numListings":{"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":["collectionId","price","numListings","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"},"collectionId":{"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},"currentOwnerCount":{"type":"number","description":"Total number of unique owners of the NFT collection currently","example":4359},"avgPriceSol":{"type":"number","description":"Average price of the NFT collection in Solana","example":599.926341},"volume24Hr":{"type":"number","description":"The volume of the NFT collection accumulated over the last 24 hours","example":24596.98},"volumeChange24Hr":{"type":"number","description":"The amount the NFT collection volume has changed over the last 24 hours","example":24596.98},"marketCapSol":{"type":"number","description":"The market cap of the NFT collection in Solana","example":599926.341},"averageWashScore":{"type":"number","description":"Hello Moon's average washtrading score of the NFT collection","example":18.3226},"listingCount":{"type":"number","description":"Total number of listed NFTs in the NFT collection","example":400},"mintPriceMode":{"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},"unverifiedCollection":{"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","collectionId","slug","supply","currentOwnerCount","avgPriceSol","volume24Hr","volumeChange24Hr","marketCapSol","averageWashScore","listingCount","mintPriceMode","unverifiedCollection","narrative"]}},"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"},"collectionId":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"numDistinct":{"type":"number","description":"The number of distinct owners for the NFT Collection on the day","example":588}},"required":["day","collectionId","numDistinct"]}},"nft_holding_period_v1":{"type":"array","items":{"type":"object","properties":{"collectionId":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"holdingPeriod":{"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":["collectionId","holdingPeriod","number"]}},"nft_listing_status":{"type":"array","items":{"type":"object","properties":{"collectionId":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"nftMint":{"type":"string","description":"Mint address of nft per the spl token program.\n Each NFT has a unique mint address within the collection.","example":"7BmVu38kL6sa8o7JMGqkH8cw3fzeQjAatPCCQ5cF2oFU"},"market":{"type":"string","enum":["MEv1","MEv2"],"description":"A list of marketplaces and their 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":["collectionId","nftMint","market","price","seller","isListed","blockTime","blockId","transactionId","transactionPosition","instructionOrdinal"]}},"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 marketplaces and their data supported by HelloMoon","example":"Exchange Art"},"volumeSol1h":{"type":"number","description":"The amount of Solana volume accumulated in the last 1 hour","example":194.62831500000001},"volumeSol1d":{"type":"number","description":"The amount of Solana volume accumulated in the last 24 hours","example":8026.184903999998},"volumeSol7d":{"type":"number","description":"The amount of Solana volume accumulated in the last 7 days","example":32412.20988500001},"volumeSol28d":{"type":"number","description":"The amount of Solana volume accumulated in the last 28 days","example":73104.70522300004},"cntTransactions1h":{"type":"number","description":"The number of transactions made in the last 1 hour for the current marketplace","example":21},"cntTransactions1d":{"type":"number","description":"The number of transactions made in the last 24 hours for the current marketplace","example":638},"cntTransactions7d":{"type":"number","description":"The number of transactions made in the last 7 days for the current marketplace","example":2752},"cntTransactions28d":{"type":"number","description":"The number of transactions made in the last 28 days for the current marketplace","example":6200},"cntBuyers1h":{"type":"number","description":"The number of unique buyers in the last 1 hour for the current marketplace","example":21},"cntBuyers1d":{"type":"number","description":"The number of unique buyers in the last 24 hours for the current marketplace","example":638},"cntBuyers7d":{"type":"number","description":"The number of unique buyers in the last 7 days for the current marketplace","example":2752},"cntBuyers28d":{"type":"number","description":"The number of unique buyers in the last 28 days for the current marketplace","example":6200},"cntSellers1h":{"type":"number","description":"The number of unique sellers in the last 1 hour for the current marketplace","example":21},"cntSellers1d":{"type":"number","description":"The number of unique sellers in the last 24 hours for the current marketplace","example":638},"cntSellers7d":{"type":"number","description":"The number of unique sellers in the last 7 days for the current marketplace","example":2752},"cntSellers28d":{"type":"number","description":"The number of unique sellers in the last 28 days for the current marketplace","example":6200},"cntUsers1h":{"type":"number","description":"The number of unique users in the last 1 hour for the current marketplace","example":21},"cntUsers1d":{"type":"number","description":"The number of unique users in the last 24 hours for the current marketplace","example":638},"cntUsers7d":{"type":"number","description":"The number of unique users in the last 7 days for the current marketplace","example":2752},"cntUsers28d":{"type":"number","description":"The number of unique users in the last 28 days for the current marketplace","example":6200}},"required":["market","volumeSol1h","volumeSol1d","volumeSol7d","volumeSol28d","cntTransactions1h","cntTransactions1d","cntTransactions7d","cntTransactions28d","cntBuyers1h","cntBuyers1d","cntBuyers7d","cntBuyers28d","cntSellers1h","cntSellers1d","cntSellers7d","cntSellers28d","cntUsers1h","cntUsers1d","cntUsers7d","cntUsers28d"]}},"nft_mint_information":{"type":"array","items":{"type":"object","properties":{"nftMint":{"type":"string","description":"Mint address of nft per the spl token program.\n Each NFT has a unique mint address within the collection.","example":"7BmVu38kL6sa8o7JMGqkH8cw3fzeQjAatPCCQ5cF2oFU"},"nftMetadataAdress":{"type":"string","description":"Public key of address holding NFT metadata","example":"7fy4LH9pzduF7mwDbmMNuuoKHBuDrbEvDeZzibbGrxys"},"nftMetadataJson":{"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"}}},"nftCollectionMint":{"type":"string","description":"The public key of the Collection NFT's Mint Account","example":"3N1ppz96gi2PsnuAMxSLnYMPcjeqHk7tkCuKpPDbJfdk"},"nftVerifiedCreatorsArray":{"type":"array","items":{"type":"string"},"description":"Array of verified creators","example":["wydb7AxKsizuyaVpK3LteD6xipKzc4xZM3DqyuZijnQ"]}},"required":["nftMint","nftMetadataAdress","nftMetadataJson","nftCollectionMint","nftVerifiedCreatorsArray"]}},"nft_overlapping_owners_v1":{"type":"array","items":{"type":"object","properties":{"collectionId":{"type":"string","description":"Hello Moon's collection identifier used to get overlapping owners from other NFT collections","example":"c193461aa96bbb4fdbea9eeef7c55c56"},"collectionOneNum":{"type":"number","description":"Number of NFTs owned by the owners of the first NFT collection_id","example":10},"collectionTwoId":{"type":"string","description":"Hello Moon's collection identifier that contains overlapping owners with the first collection_id","example":"56aad5347a896dec02eae18af52c81b3"},"collectionTwoNum":{"type":"number","description":"Number of NFTs owned by the owners of the second NFT collection_two_id","example":44},"ownersOverlappings":{"type":"number","description":"Number of overlapping owners between the two collections","example":2}},"required":["collectionId","collectionOneNum","collectionTwoId","collectionTwoNum","ownersOverlappings"]}},"nft_collection_owners_current_v1":{"type":"array","items":{"type":"object","properties":{"collectionId":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"numOwners":{"type":"number","description":"The number of distinct owners for the collection","example":200}},"required":["collectionId","numOwners"]}},"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":{"dayInSeconds":{"type":"number","description":"UTC timestamp","example":1669939200},"collectionId":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"numOwners":{"type":"number","description":"The number of distinct owners for the collection","example":200}},"required":["dayInSeconds","collectionId","numOwners"]}},"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},"mintProgram":{"type":"string","description":"The program that minted this NFT","example":"cndy3Z4yapfJBmL3ShUp5exZKqR3z33thTzeNMm2gRZ"},"payer":{"type":"string","description":"Payer account address","example":"F7Do32qyoFAGof4LaeU5gHEiZYz8wfFAgogbmGXdczqE"},"payee":{"type":"string","description":"Payee account address","example":"F7Do32qyoFAGof4LaeU5gHEiZYz8wfFAgogbmGXdczqE"},"amount":{"type":"number","description":"Amount paid in payment_mint native tokens, unconverted for decimals"},"paymentMint":{"type":"string","description":"Mint address per the SPL token program ","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"wallet":{"type":"string","enum":["ONE_MIN","FIVE_MIN","ONE_HOUR","ONE_DAY","ONE_WEEK"],"description":"The time granularity (period) of the candlestick: ONE_MIN, FIVE_MIN, ONE_HOUR, ONE_DAY, ONE_WEEK.\n For example, the ONE_MIN granularity will return a candlestick for every minute in the time period - as long as there is volume.","example":"ONE_DAY"},"nftMint":{"type":"string","description":"Mint address of nft being minted per the SPL token program","example":"7BmVu38kL6sa8o7JMGqkH8cw3fzeQjAatPCCQ5cF2oFU"}},"required":["blockTime","blockId","transactionId","transactionPosition","instructionposition","mintProgram","payer","amount","paymentMint","wallet","nftMint"]}},"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"},"nftMint":{"type":"string","description":"Mint address of nft per the spl token program.\n Each NFT has a unique mint address within the collection.","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},"collectionId":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"}},"required":["blockId","blockTime","transactionId","market","nftMint","seller","buyer","price","collectionId"]}},"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 marketplaces and their data supported by HelloMoon","example":"Exchange Art"},"sales":{"type":"number","description":"Number of sales made on the marketplace for the day","example":54},"transactions":{"type":"number","description":"Number of transactions made on the marketplace for the day","example":30},"buyers":{"type":"number","description":"Number of unique buyers on the marketplace for the day","example":22},"sellers":{"type":"number","description":"Number of unique sellers on the marketplace for the day","example":23},"users":{"type":"number","description":"Number of unique users on the marketplace for the day","example":45}},"required":["market","sales","transactions","buyers","sellers","users"]}},"nft_top_holders":{"type":"array","items":{"type":"object","properties":{"collectionId":{"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":["collectionId","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_primary_sale_collection_stats":{"type":"array","items":{"type":"object","properties":{"collectionId":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"mintPrice":{"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},"numMinters":{"type":"number","description":"Number of minters for the collection","example":10},"totalMinted":{"type":"number","description":"Tolal number of mints in the collection","example":512},"totalMintedBySmartMinters":{"type":"number","description":"The total number of mints done by smart minters","example":400},"mintVolume":{"type":"number","description":"The total volume minted in lamport","example":2000000000},"latestMintBlockTime":{"type":"number","description":"The timestamp of the last minted block (in seconds)","example":1671452991}},"required":["collectionId","mintPrice","numMinters","totalMinted","totalMintedBySmartMinters","mintVolume","latestMintBlockTime"]}},"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"},"lifetimeSwapCount":{"type":"number","description":"The number of swaps over the lif of the token","example":136}},"required":["id","mint","name","symbol","decimals","slug","coingeckoId","lifetimeSwapCount"]}},"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"},"amount":{"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","amount","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"},"mint":{"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","mint","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},"tokenAccount":{"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"},"mint":{"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","tokenAccount","mint","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"},"sourceAccount":{"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"},"destinationAccount":{"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","sourceAccount","destinationOwner","destinationAccount","type","amount","mint","newDestinationBalance","newSourceBalance","oldDestinationBalance","oldSourceBalance"]}},"token_price_candlesticks":{"type":"array","items":{"type":"object","properties":{"mint":{"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 (period) of the candlestick: ONE_MIN, FIVE_MIN, ONE_HOUR, ONE_DAY, ONE_WEEK.\n For example, the ONE_MIN granularity will return a candlestick for every minute in the time period - as long as there is volume.","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 of a candlestick is the highest price reached during the time period.","example":13367},"low":{"type":"number","description":"The low price of a candlestick is the lowest price reached during the time period.","example":13367},"open":{"type":"number","description":"The opening price of a candlestick is the price at which the period opened.\n It is usually represented by the top of the candlestick body, and is the starting point for the period's price action.","example":13367},"close":{"type":"number","description":"The closing price of a candlestick is the price at which the period closed.\n It is usually represented by the bottom of the candlestick body, and is the ending point for the period's price action.","example":13367},"volume":{"type":"number","description":"The volume of a candlestick is the total number of coins or tokens traded during the period.\n It is usually represented by the size of the candlestick body, with larger bodies indicating higher volumes.\n Volume is an important indicator of market activity and can be used to confirm price movements and identify potential reversal points.","example":4198275337}},"required":["mint","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":"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"},"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'. \n Data goes back 30 days\n ","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}]},"amount":{"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"}}]}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/block_rewards"}}}}}}},"/v0/defi/lending":{"post":{"summary":"Lending","description":"DeFi Lending endpoint can be used to track and verify 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":{"programId":{"type":"string","description":"The program id references the lending protocol\n that the user account is borrowing or repaid from.","example":"So1endDq2YkqhipRh3WViPa8hdiSpxWy6z3Z6tMCpAo"},"programName":{"type":"string","description":"The program name references the lending protocol name\n that the user account is borrowing or repaid from.","example":"Solend"},"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"},"actionType":{"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"}}]},"userAccount":{"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"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/defi_lending"}}}}}}},"/v0/defi/liquidity-pools/balances":{"post":{"summary":"LP Balances","description":"Current balance of Liquidity Pools for the programs Hello Moon supports","security":[{"bearerAuth":[]}],"tags":["DeFi"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"poolAddress":{"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":"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"},"poolName":{"type":"string","description":"Name of the pool in the format {Symbol A}-{Symbol B}","example":"USDC-WSOL"},"mintTokenA":{"type":"string","description":"Name of the first token in the LP pair per our spl_token_list metadata","example":"USD Coin"},"mintTokenB":{"type":"string","description":"Mint address of the first token in the LP pair per the SPL token program","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/defi_liquidity_pools_balances"}}}}}}},"/v0/defi/liquidity-pools/emissions":{"post":{"summary":"LP Emissions","description":"Current reward emissions per token and lp pool for programs Hello Moon supports","security":[{"bearerAuth":[]}],"tags":["DeFi"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"poolAddress":{"type":"string","description":"Public key of address holding pool information","example":"HJPjoWUrhoZzkNfRpHuieeFk9WcZWjwy6PBjZ81ngndJ"},"mint":{"type":"string","description":"The spl mint of the reward being emitted by the lp","example":"MNDEFzGvMt87ueuHvVU9VcTqsAP5b3fTGPsHuuPA5ey"},"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}]}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/current_lp_emissions"}}}}}}},"/v0/defi/liquidity-pools/metadata":{"post":{"summary":"LP Metadata","description":"Metadata on Liquidity Pools for the programs Hello Moon supports","security":[{"bearerAuth":[]}],"tags":["DeFi"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"poolAddress":{"type":"string","description":"Public key of address holding pool information","example":"HJPjoWUrhoZzkNfRpHuieeFk9WcZWjwy6PBjZ81ngndJ"},"programName":{"type":"string","description":"Program name","example":"Raydium"},"poolName":{"type":"string","description":"Token pair of the LP","example":"ARB - RAY"},"mintTokenA":{"type":"string","description":"Mint address of the first token in the LP pair per the SPL token program","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"mintTokenB":{"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/liquidity-pools/withdrawals-deposits":{"post":{"summary":"LP Withdrawal/Deposit","description":"The LP Withdrawal/Deposit endpoint provides the pair of token data that were deposited or withdrawn from a liquidity pool.\n Alongside the token data, the endpoint also provides the user account, amount of tokens deposited or withdrawn, and the program id that was used to execute the transaction.","security":[{"bearerAuth":[]}],"tags":["DeFi"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"programId":{"type":"string","description":"The program id references the lending program that the user account is removing or adding tokens from","example":"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"},"userAccount":{"type":"string","description":"The user account is the public key of the liquidity pool provider.","example":"882DFRCi5akKFyYxT4PP2vZkoQEGvm2Nsind2nPDuGqu"},"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"},"actionType":{"anyOf":[{"type":"string","enum":["removeLiquidity","addLiquidity"],"description":"Select the action types: addLiquidity or removeLiquidity\n If addLiquidity, the endpoint returns the amount of tokens that were added to the liquidity pool.\n If removeLiquidity, the endpoint returns the amount of tokens that were removed from the liquidity pool."},{"type":"array","items":{"type":"string","enum":["removeLiquidity","addLiquidity"],"description":"Select the action types: addLiquidity or removeLiquidity\n If addLiquidity, the endpoint returns the amount of tokens that were added to the liquidity pool.\n If removeLiquidity, the endpoint returns the amount of tokens that were removed from the liquidity pool."}}]},"tokenMintA":{"type":"string","description":"Token mint A is the token address of the first token provided to the liquidity pool.\n The USD value of the deposit always needs to be split between the two tokens to ensure equal value on each side.","example":"So11111111111111111111111111111111111111112"},"tokenMintB":{"type":"string","description":"Token mint B is the token address of the second token provided to the liquidity pool.\n The USD value of the deposit always needs to be split between the two tokens to ensure equal value on each side.","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/defi_liquidity_pools"}}}}}}},"/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":"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"},"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"}}]},"newUsers":{"type":"number","nullable":true,"description":"The number of new users over the given granularity if available","example":5},"activeUsers":{"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":{"aProgramId":{"type":"string","description":"The public key (address) of the account containing the program on chain.","example":"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"},"bProgramId":{"type":"string","description":"The public key (address) of the account containing the program on chain.","example":"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"}}}}}},"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":["Staking"],"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"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/stakeaccountsv2"}}}}}}},"/v0/defi/swaps":{"post":{"summary":"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. Hello Moon also provides key data fields such as 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":{"userAccount":{"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"},"sourceMint":{"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":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"destinationMint":{"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":"So11111111111111111111111111111111111111112"},"aggregatorId":{"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":"JUP4Fb2cqiRUcaTHdrPC8h2gNsA2ETXiPDD33WcGuJB"},"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"},"sourceAmount":{"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}]},"destinationAmount":{"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}]}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/defi_swaps"}}}}}}},"/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"}}]},"newUsers":{"type":"number","nullable":true,"description":"The number of new users over the given granularity if available","example":5},"activeUsers":{"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 of a candlestick is the total number of coins or tokens traded during the period.\n It is usually represented by the size of the candlestick body, with larger bodies indicating higher volumes.\n Volume is an important indicator of market activity and can be used to confirm price movements and identify potential reversal points.","example":4198275337},"priceChange":{"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/collection/candlesticks":{"post":{"summary":"Collection Candlesticks","description":"The **Collection Candlesticks** endpoint allows you to choose the candlestick period with the provided granularities of **ONE_MIN**, **FIVE_MIN**, **ONE_HOUR**, **ONE_DAY**, **ONE_WEEK**.\r\n\r\n A candle stick consists of four main components: the open, high, low, close and volume - the total number of transactions occured within the candlestick.\r\n >The open is the price at which the period opened\r\n >The high is the highest price reached during the period\r\n >The low is the lowest price reached during the period\r\n >The close is the price at which the period closed","security":[{"bearerAuth":[]}],"tags":["NFT"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"collectionId":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"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 (period) of the candlestick: ONE_MIN, FIVE_MIN, ONE_HOUR, ONE_DAY, ONE_WEEK.\n For example, the ONE_MIN granularity will return a candlestick for every minute in the time period - as long as there is volume.","example":"ONE_DAY"},{"type":"array","items":{"type":"string","enum":["ONE_MIN","FIVE_MIN","ONE_HOUR","ONE_DAY","ONE_WEEK"],"description":"The time granularity (period) of the candlestick: ONE_MIN, FIVE_MIN, ONE_HOUR, ONE_DAY, ONE_WEEK.\n For example, the ONE_MIN granularity will return a candlestick for every minute in the time period - as long as there is volume.","example":"ONE_DAY"}}]}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/collection_listing_candlesticks"}}}}}}},"/v0/nft/collection/listing":{"post":{"summary":"Collection Listing Stats","description":"Descriptive statistics for collection listings","security":[{"bearerAuth":[]}],"tags":["NFT Summary"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"collectionId":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"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}]}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/collection_listing_stats"}}}}}}},"/v0/nft/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":{"collectionId":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"volume24Hr":{"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}]}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/nft_collection_leaderboard_nrt"}}}}}}},"/v0/nft/distinct_owners_in_time_daily/{collectionId}":{"post":{"summary":"Collection distinct owners over time","description":"Collection distinct owners over time","security":[{"bearerAuth":[]}],"tags":["NFT Summary"],"parameters":[{"in":"path","name":"collectionId","schema":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"required":true}],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"numDistinct":{"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":{"collectionId":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"holdingPeriod":{"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/listing-status":{"post":{"summary":"Listing Status","description":"Listing status of NFT. Either listed or not on supported marketplaces.","security":[{"bearerAuth":[]}],"tags":["NFT"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"collectionId":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"nftMint":{"type":"string","description":"Mint address of nft per the spl token program.\n Each NFT has a unique mint address within the collection.","example":"7BmVu38kL6sa8o7JMGqkH8cw3fzeQjAatPCCQ5cF2oFU"},"isListed":{"type":"boolean","description":"Is the item listed"},"market":{"anyOf":[{"type":"string","enum":["MEv1","MEv2"],"description":"A list of marketplaces and their data supported by HelloMoon","example":"MEv1"},{"type":"array","items":{"type":"string","enum":["MEv1","MEv2"],"description":"A list of marketplaces and their 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"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/nft_listing_status"}}}}}}},"/v0/nft/listings":{"post":{"summary":"NFT Listings","description":"The **NFT Listings** endpoint provides different degrees of perspective NFT datasets. Viewing NFTs from a specific market or collection, down to a single unique NFT mint.\n\n Hello Moon also delivers the nft listing actions - **ask**, **cancel_ask**, **put_for_sale**, and **sale_cancel** \n So you know what is really happening.\n \n _Data goes back 30 days from all support markets._","security":[{"bearerAuth":[]}],"tags":["NFT"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"collectionId":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"instructionName":{"anyOf":[{"type":"string","enum":["ask","cancel_ask","put_for_sale","sale_cancel","sale"],"description":"nft listings based off their instruction's action: **ask**, **cancel_ask**, **put_for_sale**, **sale_cancel**, **sale**","example":"sale"},{"type":"array","items":{"type":"string","enum":["ask","cancel_ask","put_for_sale","sale_cancel","sale"],"description":"nft listings based off their instruction's action: **ask**, **cancel_ask**, **put_for_sale**, **sale_cancel**, **sale**","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}]},"nftMint":{"type":"string","description":"Mint address of nft per the spl token program.\n Each NFT has a unique mint address within the collection.","example":"7BmVu38kL6sa8o7JMGqkH8cw3fzeQjAatPCCQ5cF2oFU"},"market":{"anyOf":[{"type":"string","enum":["MEv1","Solanart","SMB","MEv2","Yawww"],"description":"A list of marketplaces and their data supported by HelloMoon","example":"MEv1"},{"type":"array","items":{"type":"string","enum":["MEv1","Solanart","SMB","MEv2","Yawww"],"description":"A list of marketplaces and their data supported by HelloMoon","example":"MEv1"}}]},"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}]}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"collectionId":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"instructionName":{"type":"string","enum":["ask","cancel_ask","put_for_sale","sale_cancel","sale"],"description":"nft listings based off their instruction's action: **ask**, **cancel_ask**, **put_for_sale**, **sale_cancel**, **sale**","example":"sale"},"nftMint":{"type":"string","description":"Mint address of nft per the spl token program.\n Each NFT has a unique mint address within the collection.","example":"7BmVu38kL6sa8o7JMGqkH8cw3fzeQjAatPCCQ5cF2oFU"},"market":{"type":"string","enum":["MEv1","Solanart","SMB","MEv2","Yawww"],"description":"A list of marketplaces and their data supported by HelloMoon","example":"MEv1"},"price":{"type":"number","description":"NFT listing price in lamports, will be zero if the nft is delisted **cancel_ask** - when converted the price is a float with 6 decimal places of precision.","example":350000000},"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},"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},"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":["collectionId","instructionName","nftMint","market","price","blockTime","blockId","transactionPosition","instructionOrdinal","transactionId"]}}}}}}}},"/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 marketplaces and their 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 marketplaces and their 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":"Metaplex Metadata","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":{"nftMint":{"type":"string","description":"Mint address of nft per the spl token program.\n Each NFT has a unique mint address within the collection.","example":"7BmVu38kL6sa8o7JMGqkH8cw3fzeQjAatPCCQ5cF2oFU"},"nftCollectionMint":{"type":"string","description":"The public key of the Collection NFT's Mint Account","example":"3N1ppz96gi2PsnuAMxSLnYMPcjeqHk7tkCuKpPDbJfdk"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/nft_mint_information"}}}}}}},"/v0/nft/mintlist":{"post":{"summary":"Collection Mapping","description":"Mapping of Hello Moon collection ids to on-chain mint addresses. Requires collection_id or mint to be specified","security":[{"bearerAuth":[]}],"tags":["NFT"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"collectionId":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"nftMint":{"type":"string","description":"Mint address of nft per the spl token program.\n Each NFT has a unique mint address within the collection.","example":"7BmVu38kL6sa8o7JMGqkH8cw3fzeQjAatPCCQ5cF2oFU"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"collectionId":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"instructionName":{"type":"string","enum":["ask","cancel_ask","put_for_sale","sale_cancel","sale"],"description":"nft listings based off their instruction's action: **ask**, **cancel_ask**, **put_for_sale**, **sale_cancel**, **sale**","example":"sale"},"nftMint":{"type":"string","description":"Mint address of nft per the spl token program.\n Each NFT has a unique mint address within the collection.","example":"7BmVu38kL6sa8o7JMGqkH8cw3fzeQjAatPCCQ5cF2oFU"},"market":{"type":"string","enum":["MEv1","Solanart","SMB","MEv2","Yawww"],"description":"A list of marketplaces and their data supported by HelloMoon","example":"MEv1"},"price":{"type":"number","description":"NFT listing price in lamports, will be zero if the nft is delisted **cancel_ask** - when converted the price is a float with 6 decimal places of precision.","example":350000000},"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},"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},"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":["collectionId","instructionName","nftMint","market","price","blockTime","blockId","transactionPosition","instructionOrdinal","transactionId"]}}}}}}}},"/v0/nft/overlap_proportion/{collectionId}":{"post":{"summary":"Collection Overlap","description":"Collection Overlap","security":[{"bearerAuth":[]}],"tags":["NFT Summary"],"parameters":[{"in":"path","name":"collectionId","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":{"ownersOverlappings":{"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/{collectionId}/current_owners":{"post":{"summary":"Collection current owners","description":"Collection current owners","security":[{"bearerAuth":[]}],"tags":["NFT Summary"],"parameters":[{"in":"path","name":"collectionId","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":{"dayInSeconds":{"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}]},"collectionId":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"numOwners":{"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}]}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/nft_collection_ownership_all_time_v1"}}}}}}},"/v0/nft/sales/primary":{"post":{"summary":"Primary Sales","description":"Minting transactions going back 30 days from supported launchpads/programs","security":[{"bearerAuth":[]}],"tags":["NFT"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"nftMint":{"type":"string","description":"Mint address of nft being minted per the SPL token program","example":"7BmVu38kL6sa8o7JMGqkH8cw3fzeQjAatPCCQ5cF2oFU"},"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"},"mintProgram":{"type":"string","description":"The program that minted this NFT","example":"cndy3Z4yapfJBmL3ShUp5exZKqR3z33thTzeNMm2gRZ"},"payer":{"type":"string","description":"Payer account address","example":"F7Do32qyoFAGof4LaeU5gHEiZYz8wfFAgogbmGXdczqE"},"paymentMint":{"type":"string","description":"Mint address per the SPL token program ","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"wallet":{"anyOf":[{"type":"string","enum":["ONE_MIN","FIVE_MIN","ONE_HOUR","ONE_DAY","ONE_WEEK"],"description":"The time granularity (period) of the candlestick: ONE_MIN, FIVE_MIN, ONE_HOUR, ONE_DAY, ONE_WEEK.\n For example, the ONE_MIN granularity will return a candlestick for every minute in the time period - as long as there is volume.","example":"ONE_DAY"},{"type":"array","items":{"type":"string","enum":["ONE_MIN","FIVE_MIN","ONE_HOUR","ONE_DAY","ONE_WEEK"],"description":"The time granularity (period) of the candlestick: ONE_MIN, FIVE_MIN, ONE_HOUR, ONE_DAY, ONE_WEEK.\n For example, the ONE_MIN granularity will return a candlestick for every minute in the time period - as long as there is volume.","example":"ONE_DAY"}}]}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/parsed_nft_primary_sales_nrt"}}}}}}},"/v0/nft/sales/secondary":{"post":{"summary":"Secondary Sales","description":"NFT Secondary Sales going back 30 days from supported markets","security":[{"bearerAuth":[]}],"tags":["NFT"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"collectionId":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"nftMint":{"type":"string","description":"Mint address of nft per the spl token program.\n Each NFT has a unique mint address within the collection.","example":"7BmVu38kL6sa8o7JMGqkH8cw3fzeQjAatPCCQ5cF2oFU"},"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}]}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/parsed_nft_sales_nrt"}}}}}}},"/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 marketplaces and their 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 marketplaces and their 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"},"collectionId":{"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"},"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/washtrading_collection_index_v7"}}}}}}},"/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":{"latestMintBlockTime":{"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}]},"collectionId":{"type":"string","description":"Hello Moon's unique collection identifier","example":"040de757c0d2b75dcee999ddd47689c4"},"numMinters":{"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}]},"mintPrice":{"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}]},"totalMintedBySmartMinters":{"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}]}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/nft_primary_sale_collection_stats"}}}}}}},"/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":"Account Delegation","description":"Get information about staking account delegations, 'Activate', and 'Deactivate' with the staked amount, vote account, and stake authority.\n Data goes back 30 days.\n ","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"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/stakeactionsv2"}}}}}}},"/v0/stake/transfers":{"post":{"summary":"Account Tranfers","description":"Data on SOL being transferred to and from 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}]},"amount":{"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"}}}}}},"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"},"mint":{"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"}}}}}},"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}]},"tokenAccount":{"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"},"mint":{"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}]}}}}}},"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"},"sourceAccount":{"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"},"destinationAccount":{"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":{"mint":{"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 (period) of the candlestick: ONE_MIN, FIVE_MIN, ONE_HOUR, ONE_DAY, ONE_WEEK.\n For example, the ONE_MIN granularity will return a candlestick for every minute in the time period - as long as there is volume.","example":"ONE_DAY"},{"type":"array","items":{"type":"string","enum":["ONE_MIN","FIVE_MIN","ONE_HOUR","ONE_DAY","ONE_WEEK"],"description":"The time granularity (period) of the candlestick: ONE_MIN, FIVE_MIN, ONE_HOUR, ONE_DAY, ONE_WEEK.\n For example, the ONE_MIN granularity will return a candlestick for every minute in the time period - as long as there is volume.","example":"ONE_DAY"}}]}}}}}},"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