Skip to content

Instantly share code, notes, and snippets.

@hankc97
Created February 21, 2023 11:43
Show Gist options
  • Save hankc97/7f35c95c296e2983a0ccc22130c0f515 to your computer and use it in GitHub Desktop.
Save hankc97/7f35c95c296e2983a0ccc22130c0f515 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":{"defi_lending":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"programName":{"type":"string","description":"The programName references the lending protocol name\n that the user account is borrowing or repaying to.","example":"Solend"},"programId":{"type":"string","description":"The programId references the lending protocol\n that the user account is borrowing or repaying to.","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 are repaid to the user.","example":"borrow"},"userAccount":{"type":"string","description":"The user account is the public key of the wallet that\n is borrowing or repaying from the program.","example":"EkaNLzCbJpBWfkgu3q8uWuMJhfnnjXKzbed69LapSQeG"},"mint":{"type":"string","description":"The mint references the token that the user account is repaid or borrowing from the program.","example":"USDH1SM1ojwWUga67PGrgFWUHibbjqMvuMaDkRJTgkX"},"amount":{"type":"number","description":"The amount of tokens that the user account is repaying 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 base-58 encoded 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 If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","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"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"defi_liquidity_pools_balances":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"program":{"type":"string","description":"The public key (address) of the account containing the program on chain.\n > You can also visit https://www.hellomoon.io/id?search=program to search for a program using a user interface.","example":"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"},"poolAddress":{"type":"string","description":"Public key of address holding information about the pool.\n > You can also visit https://www.hellomoon.io/id?search=lp to search for a liquidity pool or provider using a user interface.","example":"HJPjoWUrhoZzkNfRpHuieeFk9WcZWjwy6PBjZ81ngndJ"},"poolName":{"type":"string","description":"Name of the pool in the format {Symbol A} - {Symbol B}","example":"USDC - wSOL"},"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":"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"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"current_lp_emissions":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"blockTime":{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes.\n If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","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":"Transaction ID of the the transaction where the reward config was set","example":"6735tEMHer3GJc5gnPRXtkCTg8owevW9CUcn8Tcwd97dhqsGR1xTvGLiuAVnwcj9j92MKhNcMTMBsNJHry5C7jxE"},"poolAddress":{"type":"string","description":"Public key of address holding information about the pool.\n > You can also visit https://www.hellomoon.io/id?search=lp to search for a liquidity pool or provider using a user interface.","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"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"defi_liquidity_pools_metadata":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"programName":{"type":"string","description":"Program name","example":"Raydium"},"poolAddress":{"type":"string","description":"Public key of address holding information about the pool.\n > You can also visit https://www.hellomoon.io/id?search=lp to search for a liquidity pool or provider using a user interface.","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"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"defi_liquidity_pools":{"type":"object","properties":{"data":{"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 If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","example":1622576000},"userAccount":{"type":"string","description":"The user account is the account that is removing or adding tokens.","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 base-58 encoded 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"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"defi_program_net_new_users_daily":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"programId":{"type":"string","description":"The public key (address) of the account containing the program on chain.\n > You can also visit https://www.hellomoon.io/id?search=program to search for a program using a user interface.","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"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"defi_program_leaderboard_v2":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"programId":{"type":"string","description":"The public key (address) of the account containing the program on chain.\n > You can also visit https://www.hellomoon.io/id?search=program to search for a program using a user interface.","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"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"defi_program_overlap":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"aProgramId":{"type":"string","description":"The public key (address) of the account containing the program on chain.\n > You can also visit https://www.hellomoon.io/id?search=program to search for a program using a user interface.","example":"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"},"bProgramId":{"type":"string","description":"The public key (address) of the account containing the program on chain.\n > You can also visit https://www.hellomoon.io/id?search=program to search for a program using a user interface.","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"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"top_tokens_per_program_24hr":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"programId":{"type":"string","description":"The public key (address) of the account containing the program on chain.\n > You can also visit https://www.hellomoon.io/id?search=program to search for a program using a user interface.","example":"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"},"mint":{"type":"string","description":"Mint address per the SPL token program.\n > You can also visit https://www.hellomoon.io/id?search=token to search for mints using a user interface.","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"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"stakeaccountsv2":{"type":"object","properties":{"data":{"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 If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","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","example":"4GfzvjkmDNgN2hzY1EGgzxk4Y6uMushc9iXXtqg9moGt"},"stakeAuthority":{"type":"string","description":"Public key of a stake authority account","example":"so1b2w9fpMdqgzHR2UvW4iqkkc8nig6xTeBjU5HMbjG"},"withdrawAuthority":{"type":"string","description":"Public key of a withdraw authority account","example":"so1b2w9fpMdqgzHR2UvW4iqkkc8nig6xTeBjU5HMbjG"},"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 base-58 encoded string that is uniquely generated for each transaction.","example":"4uzkMm6PKpZankJMkrTxAsbgKdQGES8rQ37XtekZjXEQpYfrBxVT3QsXx2fjUteHBd3dsSjMnR1AtvG6zvnG9jze"}},"required":["blockId","blockTime","instructionId","stakeAccount","stakeAuthority","withdrawAuthority","balance","transactionId"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"token_swaps":{"type":"object","properties":{"data":{"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 that is used to execute the swap with their provided liquidity.\n > You can also visit https://www.hellomoon.io/id?search=dex to search for a DEX program using a user interface.","example":"SSwpkEEcbUqx4vtoEByFjSkhKdCT862DNVb52nZg1UZ"},"aggregatorName":{"type":"string","enum":["Jupiter v2","Jupiter v3","Jupiter v4"],"description":"The aggregator name references a program that allows the user account to access liquidity from multiple DEXs.\n The name is used to identify the liquidity provider used to execute the swap.","example":"Jupiter v4"},"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 If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","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 base-58 encoded string that is uniquely generated for each transaction.","example":"4uzkMm6PKpZankJMkrTxAsbgKdQGES8rQ37XtekZjXEQpYfrBxVT3QsXx2fjUteHBd3dsSjMnR1AtvG6zvnG9jze"}},"required":["userAccount","sourceMint","destinationMint","programId","aggregatorName","sourceAmount","destinationAmount","blockTime","blockId","transactionId"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"jupiter_current_stats":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"usdVolume24h":{"type":"number","description":"The USD volume swapped on Jupiter in the past 24 hours","example":1000000},"numUsers24h":{"type":"number","description":"Number of unique public keys that have swapped on Jupiter in the past 24 hours","example":1000000},"numTxns24h":{"type":"number","description":"Number of transactions on Jupiter in the past 24 hours","example":1000000},"usdVolume7d":{"type":"number","description":"The USD volume swapped on Jupiter in the past 7 days","example":1000000},"numUsers7d":{"type":"number","description":"Number of unique public keys that have swapped on Jupiter in the past 7 days","example":1000000},"numTxns7d":{"type":"number","description":"Number of transactions on Jupiter in the past 7 days","example":1000000},"usdVolume30d":{"type":"number","description":"The USD volume swapped on Jupiter in the past 30 days","example":1000000},"numUsers30d":{"type":"number","description":"Number of unique public keys that have swapped on Jupiter in the past 30 days","example":1000000},"numTxns30d":{"type":"number","description":"Number of transactions on Jupiter in the past 30 days","example":1000000}},"required":["usdVolume24h","numUsers24h","numTxns24h","usdVolume7d","numUsers7d","numTxns7d","usdVolume30d","numUsers30d","numTxns30d"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"jupiter_historical_trading_stats":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"granularity":{"type":"string","enum":["DAILY","WEEKLY","MONTHLY"],"description":"The granularity of the data","example":"DAILY"},"date":{"type":"string","description":"The date being measured, for month and week if will be first day of that month or week","example":"2021-09-01"},"usdVolume":{"type":"number","description":"The USD volume swapped on Jupiter in the given granularity","example":1000000},"numUsers":{"type":"number","description":"The number of unique public keys that have swapped on Jupiter in the given granularity","example":1000000},"numTxns":{"type":"number","description":"The number of transactions on Jupiter in the given granularity","example":1000000}},"required":["granularity","date","usdVolume","numUsers","numTxns"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"jupiter_swap_stats":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"swapPair":{"type":"string","description":"The Swap Pair is the combination of the source and destination symbol. In the format of \"SOURCE_SYMBOL - DESTINATION_SYMBOL\" \n The order will be in alphabetical order. For example, \"USDC - wSOL\"","example":"USDC - wSOL"},"usdVolume24Hr":{"type":"number","description":"USD value of tokens swapped in the swap pair on Jupiter in the last 24 hours.","example":6894315.83184998},"usdVolume7D":{"type":"number","description":"USD value of tokens swapped in the swap pair on Jupiter in the last 7 days.","example":56856350.59147529},"usdVolume30D":{"type":"number","description":"USD value of tokens swapped in the swap pair on Jupiter in the last 30 days.","example":138308017.41067573}},"required":["swapPair","usdVolume24Hr","usdVolume7D","usdVolume30D"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"top_token_sell_buy_jup":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"buySell":{"type":"string","enum":["SELL","BUY"],"description":"Whether the token volume is for buying or selling","example":"SELL"},"symbol":{"type":"string","description":"Symbol of token per the Metaplex's token metadata standard","example":"METASOL"},"mint":{"type":"string","description":"Mint address per the SPL token program.\n > You can also visit https://www.hellomoon.io/id?search=token to search for mints using a user interface.","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"usdVol24Hr":{"type":"number","description":"The USD value of token being bought or sol in the past 24 hours","example":6252.769753201257},"usdVol7D":{"type":"number","description":"The USD value of token being bought or sol in the past 7 days","example":6252.769753201257},"usdVol30D":{"type":"number","description":"The USD value of token being bought or sol in the past 30 days","example":6252.769753201257}},"required":["buySell","symbol","mint","usdVol24Hr","usdVol7D","usdVol30D"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"jupiter_pairs_broken_down_weekly":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"category":{"type":"string","enum":["Jupiter only","Whole market","Per AMM"],"description":"The category of the swap pair.\n Jupiter only: The swap pair stats on Jupiter.\n Whole market: The swap pair stats on Jupiter + swaps on other AMMs.\n Per AMM: The swap pair stats broken down by AMM.","example":"Whole market"},"subCategory":{"type":"string","description":"If category = 'Per AMM', then this contains the programId of the AMM, otherwise it's NULL","example":"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"},"week":{"type":"string","description":"The week where volume is being recorded for the swap pair.","example":"2023-01-23"},"swapPair":{"type":"string","description":"The swap pair. In the format of tokenA - tokenB where tokenA's symbol is alphabetically before tokenB.","example":"USDC - USDT"},"usdVolume":{"type":"number","description":"The usd volume of the swap pair over the week.","example":1000000}},"required":["category","subCategory","week","swapPair","usdVolume"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"defi_swap_programs":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Name of the program","example":"Orca Whirlpool"},"address":{"type":"string","description":"Address of the program","example":"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"}},"required":["name","address"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"daily_nft_avg_median_sales":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"day":{"type":"string","description":"UTC Day being measured"},"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","example":"040de757c0d2b75dcee999ddd47689c4"},"medianPrice":{"type":"number","description":"Median price of collection sales in SOL during the day"},"avgPrice":{"type":"number","description":"Average price of collection sales in SOL during the day"},"numSales":{"type":"number","description":"Number of collection sales made during the day"},"volumeSOL":{"type":"number","description":"Total volume of collection sales in SOL during the day"}},"required":["day","helloMoonCollectionId","medianPrice","avgPrice","numSales","volumeSOL"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"collection_listing_candlesticks":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","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 time in seconds. You can adjust the startTime to look at Historical Stats and Floor Prices.\n For example, startTime < 1622576000 (June 1, 2021) will return NFT Collection Stats before 1622576000.\n \nIf you want to look at historical data, let's say 7 days in the past.\n> 1. _Change the **operator** to <_\n> 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n> 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the **startTime** time from 7 days ago","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":["helloMoonCollectionId","granularity","lastblockid","startTime","high","low","open","close","volume"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"collection_listing_stats":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","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 If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","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 base-58 encoded 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":["helloMoonCollectionId","price","numListings","blockId","blockTime","transactionId","transactionPosition","instructionOrdinal"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"nft_overlapping_owners_v1":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"helloMoonCollectionOneId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","example":"c193461aa96bbb4fdbea9eeef7c55c56"},"collectionOneNum":{"type":"number","description":"Number of NFTs owned by the owners of the first NFT collection_id","example":10},"helloMoonCollectionTwoId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","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":["helloMoonCollectionOneId","collectionOneNum","helloMoonCollectionTwoId","collectionTwoNum","ownersOverlappings"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"nft_owners_cumulative_v1":{"type":"object","properties":{"data":{"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"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"nft_collection_owners_current_v1":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","example":"040de757c0d2b75dcee999ddd47689c4"},"numOwners":{"type":"number","description":"The number of distinct owners for the collection","example":200}},"required":["helloMoonCollectionId","numOwners"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"nft_distinct_owners_in_time_daily_v1":{"type":"object","properties":{"data":{"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"},"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","example":"040de757c0d2b75dcee999ddd47689c4"},"numDistinct":{"type":"number","description":"The number of distinct owners for the NFT Collection on the day","example":588}},"required":["day","helloMoonCollectionId","numDistinct"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"nft_holding_period_v1":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","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":["helloMoonCollectionId","holdingPeriod","number"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"nft_top_holders":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","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":["helloMoonCollectionId","ownerAccount","amount"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"nft_primary_sale_collection_stats":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","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":["helloMoonCollectionId","mintPrice","numMinters","totalMinted","totalMintedBySmartMinters","mintVolume","latestMintBlockTime"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"washtrading_collection_index_v7":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","example":"040de757c0d2b75dcee999ddd47689c4"},"index":{"type":"number","description":"Hello Moon's ranking index for wash trading ranging from 0 to 100"}},"required":["helloMoonCollectionId","index"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"nft_listing_status":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","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":"CzawPggpF3CG1Cdtn5bsnXk64fJCZWPzRPGaAkNoNQmN"},"marketplace":{"type":"string","enum":["MEv1","MEv2","SMB","Solanart"],"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":"the seller of the nft on the marketplace.","example":"7MTG7HvhPqXqw5fsfG3HaCrPBXV17LqrgQDYd6rRQiN4"},"isListed":{"type":"boolean","description":"if the NFT is listed or not listed on the marketplace","example":true},"blockTime":{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes.\n If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","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 base-58 encoded 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":["helloMoonCollectionId","nftMint","marketplace","price","seller","isListed","blockTime","blockId","transactionId","transactionPosition","instructionOrdinal"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"nft_market_stats":{"type":"object","properties":{"data":{"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"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"sales_per_market_daily":{"type":"object","properties":{"data":{"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"},"day":{"type":"string","format":"date-time","description":"Day in UTC string","example":"2022-05-18 00:00:00.000000"},"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","day","sales","transactions","buyers","sellers","users"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"sharky_loan_events":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"blockTime":{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes.\n If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","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 base-58 encoded string that is uniquely generated for each transaction.","example":"4uzkMm6PKpZankJMkrTxAsbgKdQGES8rQ37XtekZjXEQpYfrBxVT3QsXx2fjUteHBd3dsSjMnR1AtvG6zvnG9jze"},"orderBook":{"type":"string","description":"Order book the loan was taken from","example":"4P164Rc1S45zQktx4DU4GrTKKNtFnRS6jwkqiVqGYN2P"},"loan":{"type":"string","description":"Loan address","example":"mS6HQDEy6rRgzTPGzNvWGdkuowKs3BXBELrrSt7VzCn"},"actionType":{"type":"string","enum":["default","offer","cancel","repay","take"],"description":"Type of action for the loan event: offer, cancel, take, repay, default"},"lender":{"type":"string","description":"Pubkey of the address of the lender","example":"947UUBxULHrMHeVJ75er4JM5HAL1zae76dFnb2QV3zD1"},"borrower":{"type":"string","description":"Pubkey of the address of the borrower","example":"EVPGQAde7DLp4xCfKs7Ewna92TNjJpp816JFoCLtzBmC"},"collateralMint":{"type":"string","description":"nft mint address of the mint that was used as collateral for the loan","example":"4XTN9JT8c559DxZD4yoUv7XuMa7MMiCFWhAKGZuNjsr7"},"tokenMint":{"type":"string","description":"spl token mint of the token that was taken as a loan","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"loanDurationSeconds":{"type":"number","description":"Duration of the loan in seconds","example":12213},"amountOffered":{"type":"number","description":"Amount offered for the loan","example":12.213},"amountCancelled":{"type":"number","description":"Amount offered for the cancelled loan","example":12.213},"amountTaken":{"type":"number","description":"Amount taken in the token mint for the loan","example":12.213},"amountRepayed":{"type":"number","description":"Amount repayed in the token mint for the loan","example":12.213},"isRepayEscrow":{"type":"boolean","description":"If the loan was repayed from the escrow account","example":true},"isDefaultEscrow":{"type":"boolean","description":"If the loan defaulted from the escrow account","example":true}},"required":["blockTime","blockId","transactionPosition","instructionOrdinal","transactionId","orderBook","loan","actionType","lender","borrower","collateralMint","tokenMint","loanDurationSeconds","amountOffered","amountCancelled","amountTaken","amountRepayed","isRepayEscrow","isDefaultEscrow"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"sharky_loan_summary":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"offerBlocktime":{"type":"number","description":"UTC Blocktime of the offer for the loan","example":1630000000},"cancelBlocktime":{"type":"number","description":"UTC Blocktime of when the loan was cancelled null if it was never cancelled ","example":1630000000},"takenBlocktime":{"type":"number","description":"UTC Blocktime when the loan was taken null if it was never taken ","example":1630000000},"repayBlocktime":{"type":"number","description":"UTC Blocktime when the loan was repaid null if it was never repaid ","example":1630000000},"defaultBlocktime":{"type":"number","description":"UTC Blocktime when the loan defaulted \n > If the field returned is **null**, it was never defaulted","example":1630000000},"orderBook":{"type":"string","description":"Order book the loan was taken from","example":"4P164Rc1S45zQktx4DU4GrTKKNtFnRS6jwkqiVqGYN2P"},"loan":{"type":"string","description":"Loan address","example":"mS6HQDEy6rRgzTPGzNvWGdkuowKs3BXBELrrSt7VzCn"},"amountOffered":{"type":"number","description":"Amount offered for the loan","example":12.213},"lender":{"type":"string","description":"Pubkey of the address of the lender","example":"947UUBxULHrMHeVJ75er4JM5HAL1zae76dFnb2QV3zD1"},"borrower":{"type":"string","description":"Pubkey of the address of the borrower","example":"EVPGQAde7DLp4xCfKs7Ewna92TNjJpp816JFoCLtzBmC"},"collateralMint":{"type":"string","description":"nft mint address of the mint that was used as collateral for the loan","example":"4XTN9JT8c559DxZD4yoUv7XuMa7MMiCFWhAKGZuNjsr7"},"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","example":"040de757c0d2b75dcee999ddd47689c4"},"tokenMint":{"type":"string","description":"spl token mint of the token that was taken as a loan","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"amountTaken":{"type":"number","description":"Amount taken in the token mint for the loan","example":12.213},"loanDurationSeconds":{"type":"number","description":"Duration of the loan in seconds","example":12213},"amountRepayed":{"type":"number","description":"Amount repayed in the token mint for the loan","example":12.213},"isRepayEscrow":{"type":"boolean","description":"If the loan was repayed from the escrow account","example":true},"isDefaultEscrow":{"type":"boolean","description":"If the loan defaulted from the escrow account","example":true}},"required":["offerBlocktime","cancelBlocktime","takenBlocktime","repayBlocktime","defaultBlocktime","orderBook","loan","amountOffered","lender","borrower","collateralMint","helloMoonCollectionId","tokenMint","amountTaken","loanDurationSeconds","amountRepayed","isRepayEscrow","isDefaultEscrow"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"stakeactionsv2":{"type":"object","properties":{"data":{"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 base-58 encoded 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 If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","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"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"block_rewards":{"type":"object","properties":{"data":{"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 If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","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"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"staketransfersv2":{"type":"object","properties":{"data":{"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 base-58 encoded 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 If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","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"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"token_price_candlesticks":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"mint":{"type":"string","description":"Mint address per the SPL token program.\n > You can also visit https://www.hellomoon.io/id?search=token to search for mints using a user interface.","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"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 time in seconds. You can adjust the startTime to look at Historical Stats and Floor Prices.\n For example, startTime < 1622576000 (June 1, 2021) will return NFT Collection Stats before 1622576000.\n \nIf you want to look at historical data, let's say 7 days in the past.\n> 1. _Change the **operator** to <_\n> 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n> 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the **startTime** time from 7 days ago","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"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"tokencreationv2":{"type":"object","properties":{"data":{"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 If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","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 address per the SPL token program.\n > You can also visit https://www.hellomoon.io/id?search=token to search for mints using a user interface.","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"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"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"cumulative_token_volume":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"mint":{"type":"string","description":"Mint address per the SPL token program.\n > You can also visit https://www.hellomoon.io/id?search=token to search for mints using a user interface.","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"tokenName":{"type":"string","description":"Name of token per the Metaplex standard","example":"Shibana"},"tokenSymbol":{"type":"string","description":"Symbol of token per the Metaplex's token metadata standard","example":"METASOL"},"cumulativeTokenVolume":{"type":"number","description":"Cumulative volume of token swaps converted for token decimals","example":10362.235},"cumulativeUSDVolume":{"type":"number","description":"Cumulative volume of token swaps in USD","example":10362235}},"required":["mint","tokenName","tokenSymbol","cumulativeTokenVolume","cumulativeUSDVolume"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"defi_token_users_daily":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"mint":{"type":"string","description":"Mint address per the SPL token program.\n > You can also visit https://www.hellomoon.io/id?search=token to search for mints using a user interface.","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"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"defi_token_net_new_purchases":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"mint":{"type":"string","description":"Mint address per the SPL token program.\n > You can also visit https://www.hellomoon.io/id?search=token to search for mints using a user interface.","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"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"spl_token_list":{"type":"object","properties":{"data":{"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.\n > You can also visit https://www.hellomoon.io/id?search=token to search for mints using a user interface.","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"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"defi_token_leaderboard_v3":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"mint":{"type":"string","description":"Mint address per the SPL token program.\n > You can also visit https://www.hellomoon.io/id?search=token to search for mints using a user interface.","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"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"tokensupplyv2":{"type":"object","properties":{"data":{"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 base-58 encoded 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 If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","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.\n > You can also visit https://www.hellomoon.io/id?search=token to search for mints using a user interface.","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"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]},"token_transfers_with_owner":{"type":"object","properties":{"data":{"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 base-58 encoded 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 If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","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.\n > You can also visit https://www.hellomoon.io/id?search=token to search for mints using a user interface.","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"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]}},"parameters":{}},"paths":{"/v0/defi/lending":{"post":{"summary":"Lending","description":"The 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.\n\n _For example, get activity on popular lending protocols like Solend, so you know where and what token to lend._","security":[{"bearerAuth":[]}],"tags":["DeFi"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"programId":{"type":"string","description":"The programId references the lending protocol\n that the user account is borrowing or repaying to.","example":"So1endDq2YkqhipRh3WViPa8hdiSpxWy6z3Z6tMCpAo"},"programName":{"type":"string","description":"The programName references the lending protocol name\n that the user account is borrowing or repaying to.","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 base-58 encoded 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 are 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 are repaid to the user.","example":"borrow"}}]},"userAccount":{"type":"string","description":"The user account is the public key of the wallet that\n is borrowing or repaying from the program.","example":"EkaNLzCbJpBWfkgu3q8uWuMJhfnnjXKzbed69LapSQeG"},"mint":{"type":"string","description":"The mint references the token that the user account is repaid or borrowing from the program.","example":"USDH1SM1ojwWUga67PGrgFWUHibbjqMvuMaDkRJTgkX"},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"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","security":[{"bearerAuth":[]}],"tags":["DeFi"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"poolAddress":{"type":"string","description":"Public key of address holding information about the pool.\n > You can also visit https://www.hellomoon.io/id?search=lp to search for a liquidity pool or provider using a user interface.","example":"HJPjoWUrhoZzkNfRpHuieeFk9WcZWjwy6PBjZ81ngndJ"},"program":{"type":"string","description":"The public key (address) of the account containing the program on chain.\n > You can also visit https://www.hellomoon.io/id?search=program to search for a program using a user interface.","example":"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"},"poolName":{"type":"string","description":"Name of the pool in the format {Symbol A} - {Symbol B}","example":"USDC - wSOL"},"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"},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"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","security":[{"bearerAuth":[]}],"tags":["DeFi"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"poolAddress":{"type":"string","description":"Public key of address holding information about the pool.\n > You can also visit https://www.hellomoon.io/id?search=lp to search for a liquidity pool or provider using a user interface.","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 If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","example":1622576000}},"required":["operator","value"]},{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes.\n If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","example":1622576000}]},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"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 such as pool name and token names","security":[{"bearerAuth":[]}],"tags":["DeFi"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"poolAddress":{"type":"string","description":"Public key of address holding information about the pool.\n > You can also visit https://www.hellomoon.io/id?search=lp to search for a liquidity pool or provider using a user interface.","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"},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"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 account that is removing or adding tokens.","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 base-58 encoded 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"},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/defi_liquidity_pools"}}}}}}},"/v0/defi/program-stats/daily-new-users":{"post":{"summary":"Program New Users","description":"\n Shows new users of a program over time.\nA new user is defined as the first time a publicKey has been a fee payer for this program address.\n ","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"},"programId":{"type":"string","description":"The public key (address) of the account containing the program on chain.\n > You can also visit https://www.hellomoon.io/id?search=program to search for a program using a user interface.","example":"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/defi_program_net_new_users_daily"}}}}}}},"/v0/defi/program-stats":{"post":{"summary":"Program Stats","description":"\r\n Program stats contains descriptive statistics on Solana programs looking back over various granularities such as \r\n- active users \r\n- new users \r\n- deposits / withdrawals \r\n- swaps \r\n ","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.\n > You can also visit https://www.hellomoon.io/id?search=program to search for a program using a user interface.","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},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"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":"\n Program overlap shows the overlap between the users of two protocols. \n The data will show what percentage of 'aProgramIds' users also use 'bProgramId'\n ","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.\n > You can also visit https://www.hellomoon.io/id?search=program to search for a program using a user interface.","example":"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"},"bProgramId":{"type":"string","description":"The public key (address) of the account containing the program on chain.\n > You can also visit https://www.hellomoon.io/id?search=program to search for a program using a user interface.","example":"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/defi_program_overlap"}}}}}}},"/v0/defi/program-stats/top-tokens":{"post":{"summary":"Top tokens per program","description":"\n Shows the top tokens per program as defined by volume in the past 24 hours\n Volume here is defined as USD value of token transfers that occured within the same transaction as a call to this program.\n ","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.\n > You can also visit https://www.hellomoon.io/id?search=program to search for a program using a user interface.","example":"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/top_tokens_per_program_24hr"}}}}}}},"/v0/defi/staking/accounts":{"post":{"summary":"Stake Accounts","description":"Shows all stake account creation on Solana going back 30 days","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 If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","example":1622576000}},"required":["operator","value"]},{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes.\n If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","example":1622576000}]},"stakeAccount":{"type":"string","description":"Public key of the stake account","example":"4GfzvjkmDNgN2hzY1EGgzxk4Y6uMushc9iXXtqg9moGt"},"stakeAuthority":{"type":"string","description":"Public key of a stake authority account","example":"so1b2w9fpMdqgzHR2UvW4iqkkc8nig6xTeBjU5HMbjG"},"withdrawAuthority":{"type":"string","description":"Public key of a withdraw authority account","example":"so1b2w9fpMdqgzHR2UvW4iqkkc8nig6xTeBjU5HMbjG"},"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 base-58 encoded string that is uniquely generated for each transaction.","example":"4uzkMm6PKpZankJMkrTxAsbgKdQGES8rQ37XtekZjXEQpYfrBxVT3QsXx2fjUteHBd3dsSjMnR1AtvG6zvnG9jze"},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"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"},"aggregatorName":{"anyOf":[{"type":"string","enum":["Jupiter v2","Jupiter v3","Jupiter v4"],"description":"The aggregator name references a program that allows the user account to access liquidity from multiple DEXs.\n The name is used to identify the liquidity provider used to execute the swap.","example":"Jupiter v4"},{"type":"array","items":{"type":"string","enum":["Jupiter v2","Jupiter v3","Jupiter v4"],"description":"The aggregator name references a program that allows the user account to access liquidity from multiple DEXs.\n The name is used to identify the liquidity provider used to execute the swap.","example":"Jupiter v4"}}]},"programId":{"type":"string","description":"The program id references the DEX (decentralized exchange) address that is used to execute the swap with their provided liquidity.\n > You can also visit https://www.hellomoon.io/id?search=dex to search for a DEX program using a user interface.","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 If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","example":1622576000}},"required":["operator","value"]},{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes.\n If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","example":1622576000}]},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/token_swaps"}}}}}}},"/v0/defi/swaps/jupiter/current-trading":{"post":{"summary":"Jupiter Current Stats","description":"Shows the volume, number of users, and number of transactions on Jupiter over the past 24 hours, 7 days, and 30 days","security":[{"bearerAuth":[]}],"tags":["DeFi Summary"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/jupiter_current_stats"}}}}}}},"/v0/defi/swaps/jupiter/historical-trading":{"post":{"summary":"Jupiter Historical Stats","description":"Shows the volume, number of users, and number of transactions on Jupiter over time","security":[{"bearerAuth":[]}],"tags":["DeFi Summary"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"granularity":{"anyOf":[{"type":"string","enum":["DAILY","WEEKLY","MONTHLY"],"description":"The granularity of the data","example":"DAILY"},{"type":"array","items":{"type":"string","enum":["DAILY","WEEKLY","MONTHLY"],"description":"The granularity of the data","example":"DAILY"}}]},"date":{"type":"string","description":"The date being measured, for month and week if will be first day of that month or week","example":"2021-09-01"},"usdVolume":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"The USD volume swapped on Jupiter in the given granularity","example":1000000}},"required":["operator","value"]},{"type":"number","description":"The USD volume swapped on Jupiter in the given granularity","example":1000000}]},"numUsers":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"The number of unique public keys that have swapped on Jupiter in the given granularity","example":1000000}},"required":["operator","value"]},{"type":"number","description":"The number of unique public keys that have swapped on Jupiter in the given granularity","example":1000000}]},"numTxns":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"The number of transactions on Jupiter in the given granularity","example":1000000}},"required":["operator","value"]},{"type":"number","description":"The number of transactions on Jupiter in the given granularity","example":1000000}]},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/jupiter_historical_trading_stats"}}}}}}},"/v0/defi/swaps/jupiter/swapping-pairs":{"post":{"summary":"Jupiter Pair Volume","description":"Shows the volume of swaps for token pairs on Jupiter\n That is to say, if you swap from USDC => wSOL on Jupiter and swap through 3 different pools we will count that as a USDC - wSOL swap","security":[{"bearerAuth":[]}],"tags":["DeFi Summary"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"swapPair":{"type":"string","description":"The Swap Pair is the combination of the source and destination symbol. In the format of \"SOURCE_SYMBOL - DESTINATION_SYMBOL\" \n The order will be in alphabetical order. For example, \"USDC - wSOL\"","example":"USDC - wSOL"},"usdVolume24Hr":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"USD value of tokens swapped in the swap pair on Jupiter in the last 24 hours.","example":6894315.83184998}},"required":["operator","value"]},{"type":"number","description":"USD value of tokens swapped in the swap pair on Jupiter in the last 24 hours.","example":6894315.83184998}]},"usdVolume7D":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"USD value of tokens swapped in the swap pair on Jupiter in the last 7 days.","example":56856350.59147529}},"required":["operator","value"]},{"type":"number","description":"USD value of tokens swapped in the swap pair on Jupiter in the last 7 days.","example":56856350.59147529}]},"usdVolume30D":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"USD value of tokens swapped in the swap pair on Jupiter in the last 30 days.","example":138308017.41067573}},"required":["operator","value"]},{"type":"number","description":"USD value of tokens swapped in the swap pair on Jupiter in the last 30 days.","example":138308017.41067573}]},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/jupiter_swap_stats"}}}}}}},"/v0/defi/swaps/jupiter/token-stats":{"post":{"summary":"Jupiter Token Volume","description":"\n Shows the volume of Jupiter tokens delinated by buying and swapping.\n We count a buy as a user recieving a token in a swaps, we count a sale as a user sending a token in a swap.\n We count a swap in this table as the final result of a Jupiter transaction.\n That is to say, if you swap from USDC => wSOL on Jupiter and swap through 3 different pools we will count that as a USDC - wSOL swap","security":[{"bearerAuth":[]}],"tags":["DeFi Summary"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"buySell":{"anyOf":[{"type":"string","enum":["SELL","BUY"],"description":"Whether the token volume is for buying or selling","example":"SELL"},{"type":"array","items":{"type":"string","enum":["SELL","BUY"],"description":"Whether the token volume is for buying or selling","example":"SELL"}}]},"symbol":{"type":"string","description":"Symbol of token per the Metaplex's token metadata standard","example":"METASOL"},"mint":{"type":"string","description":"Mint address per the SPL token program.\n > You can also visit https://www.hellomoon.io/id?search=token to search for mints using a user interface.","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"usdVol24Hr":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"The USD value of token being bought or sol in the past 24 hours","example":6252.769753201257}},"required":["operator","value"]},{"type":"number","description":"The USD value of token being bought or sol in the past 24 hours","example":6252.769753201257}]},"usdVol7D":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"The USD value of token being bought or sol in the past 7 days","example":6252.769753201257}},"required":["operator","value"]},{"type":"number","description":"The USD value of token being bought or sol in the past 7 days","example":6252.769753201257}]},"usdVol30D":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"The USD value of token being bought or sol in the past 30 days","example":6252.769753201257}},"required":["operator","value"]},{"type":"number","description":"The USD value of token being bought or sol in the past 30 days","example":6252.769753201257}]},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/top_token_sell_buy_jup"}}}}}}},"/v0/defi/swaps/weekly-pairs":{"post":{"summary":"Swapping Pairs Weekly","description":"Breakdown of swapping pair volume weekly on and off of Jupiter weekly going back 90 days","security":[{"bearerAuth":[]}],"tags":["DeFi Summary"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"category":{"anyOf":[{"type":"string","enum":["Jupiter only","Whole market","Per AMM"],"description":"The category of the swap pair.\n Jupiter only: The swap pair stats on Jupiter.\n Whole market: The swap pair stats on Jupiter + swaps on other AMMs.\n Per AMM: The swap pair stats broken down by AMM.","example":"Whole market"},{"type":"array","items":{"type":"string","enum":["Jupiter only","Whole market","Per AMM"],"description":"The category of the swap pair.\n Jupiter only: The swap pair stats on Jupiter.\n Whole market: The swap pair stats on Jupiter + swaps on other AMMs.\n Per AMM: The swap pair stats broken down by AMM.","example":"Whole market"}}]},"subCategory":{"type":"string","description":"If category = 'Per AMM', then this contains the programId of the AMM, otherwise it's NULL","example":"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"},"swapPair":{"type":"string","description":"The swap pair. In the format of tokenA - tokenB where tokenA's symbol is alphabetically before tokenB.","example":"USDC - USDT"},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/jupiter_pairs_broken_down_weekly"}}}}}}},"/v0/hello-moon/parsed-swaps":{"post":{"summary":"Parsed Dexes","description":"This endpoint returns a list of all the DEXs' that Hello Moon tracks and monitors.\n> You can also visit https://www.hellomoon.io/id?search=dex to search using a user interface.","security":[{"bearerAuth":[]}],"tags":["Hello Moon"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/defi_swap_programs"}}}}}}},"/v0/nft/collection/daily-sales-stats":{"post":{"summary":"Collection Daily Sales Stats","description":"\n Receive daily NFT Collection sales stats. Including:\n - Number of sales made\n - Average sale price\n - Median sale price\n - Total sales volume moved\n > prices of sales are in Solana for each NFT Collection\n ","security":[{"bearerAuth":[]}],"tags":["NFT Summary"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","example":"040de757c0d2b75dcee999ddd47689c4"},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/daily_nft_avg_median_sales"}}}}}}},"/v0/nft/collection/floorprice/candlesticks":{"post":{"summary":"NFT Collection Floor Price Candlesticks","description":"The **NFT Collection Floor Price Candlesticks** endpoint provides the **Floor Prices** - **open**, **high**, **low** and **close** within a trading period (granularity) for a NFT Collection. The **Floor Price** of the trading period (granularity) is represented as the candlestick (open, high, low and close).\n\n Hello Moon offers **ONE_MIN**, **FIVE_MIN**, **ONE_HOUR**, **ONE_DAY**, **ONE_WEEK** granularities to choose from!\n \n **What values represent a candlestick?**\n > **open**, the floor price at which the period opened\n > **high**, the highest floor price reached during the period\n > **low**, the lowest floor price reached during the period\n > **close**, the floor price at which the period closed\n > **volume**, the sum of nft sales that occured within the trading period (granularity).\n ","security":[{"bearerAuth":[]}],"tags":["NFT"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","example":"040de757c0d2b75dcee999ddd47689c4"},"startTime":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"Epoch time in seconds. You can adjust the startTime to look at Historical Stats and Floor Prices.\n For example, startTime < 1622576000 (June 1, 2021) will return NFT Collection Stats before 1622576000.\n \nIf you want to look at historical data, let's say 7 days in the past.\n> 1. _Change the **operator** to <_\n> 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n> 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the **startTime** time from 7 days ago","example":1663747620}},"required":["operator","value"]},{"type":"number","description":"Epoch time in seconds. You can adjust the startTime to look at Historical Stats and Floor Prices.\n For example, startTime < 1622576000 (June 1, 2021) will return NFT Collection Stats before 1622576000.\n \nIf you want to look at historical data, let's say 7 days in the past.\n> 1. _Change the **operator** to <_\n> 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n> 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the **startTime** time from 7 days ago","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"}}]},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/collection_listing_candlesticks"}}}}}}},"/v0/nft/collection/floorprice":{"post":{"summary":"NFT Latest Floor Price","description":"\n The **NFT Latest Floor Price** endpoint provides the latest floor price and volume for a NFT Collection. \n\n > To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.\n ","security":[{"bearerAuth":[]}],"tags":["NFT"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","example":"040de757c0d2b75dcee999ddd47689c4"},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","example":"040de757c0d2b75dcee999ddd47689c4"},"floorPriceLamports":{"type":"string","description":"The floor price of the collection in Lamports","example":"517999800000"},"volumeLamports":{"type":"string","description":"The current volume (the sum of nft sales) of the collection in the last minute.","example":"502000000000"},"startTime":{"type":"number","description":"Epoch time in seconds. You can adjust the startTime to look at Historical Stats and Floor Prices.\n For example, startTime < 1622576000 (June 1, 2021) will return NFT Collection Stats before 1622576000.\n \nIf you want to look at historical data, let's say 7 days in the past.\n> 1. _Change the **operator** to <_\n> 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n> 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the **startTime** time from 7 days ago","example":1663747620}},"required":["helloMoonCollectionId","floorPriceLamports","volumeLamports","startTime"]}}},"required":["data"]}}}}}}},"/v0/nft/collection/listing":{"post":{"summary":"Collection Listing Stats","description":"Descriptive statistics for collection listings\r\n ","security":[{"bearerAuth":[]}],"tags":["NFT Summary"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","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}]},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/collection_listing_stats"}}}}}}},"/v0/nft/collection/mints":{"post":{"summary":"Collection Mint Mapping","description":"The **Collection Mint Mapping** endpoint maps a unique Hello Moon **helloMoonCollectionId** to a list of on-chain mint addresses.\n\n _helloMoonCollectionId or nftMint is required to receive a successful query response._\n ","security":[{"bearerAuth":[]}],"tags":["NFT"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","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":"CzawPggpF3CG1Cdtn5bsnXk64fJCZWPzRPGaAkNoNQmN"},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","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":"CzawPggpF3CG1Cdtn5bsnXk64fJCZWPzRPGaAkNoNQmN"}},"required":["helloMoonCollectionId","nftMint"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]}}}}}}},"/v0/nft/collection/name":{"post":{"summary":"Collection Name Mapping","description":"The **Collection Name Mapping** endpoint maps a unique Hello Moon **helloMoonCollectionId** to an unique NFT Collection Name.\n\n _helloMoonCollectionId or collectionName is required to receive a successful query response._\n ","security":[{"bearerAuth":[]}],"tags":["NFT"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","example":"040de757c0d2b75dcee999ddd47689c4"},"collectionName":{"type":"string","description":"The name of the collection","example":"DeGods"},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"collectionName":{"type":"string","description":"The name of the collection","example":"DeGods"},"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","example":"040de757c0d2b75dcee999ddd47689c4"},"currentVolumeSOL":{"type":"string","description":"Current volume of the collection in SOL (lamports) looking back 24 hours","example":"1000000"}},"required":["collectionName","helloMoonCollectionId","currentVolumeSOL"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]}}}}}}},"/v0/nft/collection/overlap":{"post":{"summary":"Collection Overlap","description":"\n Shows the current overlap between the owners of two different collections. \n That is to say, it will show you what percent of degods holders also own SMB\n ","security":[{"bearerAuth":[]}],"tags":["NFT Summary"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"helloMoonCollectionOneId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","example":"c193461aa96bbb4fdbea9eeef7c55c56"},"helloMoonCollectionTwoId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","example":"56aad5347a896dec02eae18af52c81b3"},"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}]},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/nft_overlapping_owners_v1"}}}}}}},"/v0/nft/collection/ownership/cumulative":{"post":{"summary":"Cumulative NFT owners over time","description":"\n Shows the number of cumulative NFT owners among all collections on Solana over time.","security":[{"bearerAuth":[]}],"tags":["NFT 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":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/nft_owners_cumulative_v1"}}}}}}},"/v0/nft/collection/ownership/current":{"post":{"summary":"Collection Current Owners","description":"Shows number of distinct wallets that currently own an NFT in a collection\n ","security":[{"bearerAuth":[]}],"tags":["NFT Summary"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","example":"040de757c0d2b75dcee999ddd47689c4"},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/nft_collection_owners_current_v1"}}}}}}},"/v0/nft/collection/ownership/historical":{"post":{"summary":"Collection distinct owners over time","description":"Distinct wallets that own one or more NFTs in a collection over time\n ","security":[{"bearerAuth":[]}],"tags":["NFT Summary"],"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}]},"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","example":"040de757c0d2b75dcee999ddd47689c4"},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/nft_distinct_owners_in_time_daily_v1"}}}}}}},"/v0/nft/collection/ownership/holding-period":{"post":{"summary":"Collection Holding Period","description":"Shows count of unique wallets bucketed by how long they have held an NFT in a collection.\r\n ","security":[{"bearerAuth":[]}],"tags":["NFT Summary"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","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"}}]},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/nft_holding_period_v1"}}}}}}},"/v0/nft/collection/ownership/top-holders":{"post":{"summary":"Collection Top Holders","description":"Shows the wallets that currently own NFTs in a collection and the amount of NFTs in a collection that they own\r\n ","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"},"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","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":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/nft_top_holders"}}}}}}},"/v0/nft/collection/program-usage":{"post":{"summary":"Collection Program Usage","description":"\n Shows the amount of mints in a collection that have interacted with a given program. \n __Data goes back 30 days__","security":[{"bearerAuth":[]}],"tags":["NFT Summary"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","example":"040de757c0d2b75dcee999ddd47689c4"},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","example":"040de757c0d2b75dcee999ddd47689c4"},"totalMints":{"type":"number","description":"Total number of mints in the nft collection","example":10000},"interactedWProgram":{"type":"number","description":"Number of mints that have interacted with the given program in the past 30 days","example":315},"nameOrId":{"type":"string","description":"Either human readable program name or on chain programid","example":"ME V2"},"programId":{"type":"string","description":"The public key (address) of the account containing the program on chain.\n > You can also visit https://www.hellomoon.io/id?search=program to search for a program using a user interface.","example":"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"}},"required":["helloMoonCollectionId","totalMints","interactedWProgram","nameOrId","programId"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]}}}}}}},"/v0/nft/collection/stats":{"post":{"summary":"Collection Stats With Floor Price","description":"The **Collection Stats With Floor Price** endpoint provides descriptive statistics for each NFT Collection. Including\n - total supply\n - market cap in solana\n - average wash trading score\n - listing count\n - NFT narrative\n - sample image url\n - magic eden holdings\n \n This endpoint also offers **Floor Price**(s) - **open**, **high**, **low** and **close** within a trading period (granularity). You can choose between granularities of **ONE_MIN**, **FIVE_MIN**, **ONE_HOUR**, **ONE_DAY**, **ONE_WEEK**.\n \n**What values represent a NFT Floor Price Candlestick?**\n> **open**, the floor price at which the period opened\n> **high**, the highest floor price reached during the period\n> **low**, the lowest floor price reached during the period\n> **close**, the floor price at which the period closed\n> **volume**, the total number of transactions occured within the trading period (granularity).","security":[{"bearerAuth":[]}],"tags":["NFT Summary"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","example":"040de757c0d2b75dcee999ddd47689c4"},"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"}}]},"startTime":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"Epoch time in seconds. You can adjust the startTime to look at Historical Stats and Floor Prices.\n For example, startTime < 1622576000 (June 1, 2021) will return NFT Collection Stats before 1622576000.\n \nIf you want to look at historical data, let's say 7 days in the past.\n> 1. _Change the **operator** to <_\n> 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n> 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the **startTime** time from 7 days ago","example":1663747620}},"required":["operator","value"]},{"type":"number","description":"Epoch time in seconds. You can adjust the startTime to look at Historical Stats and Floor Prices.\n For example, startTime < 1622576000 (June 1, 2021) will return NFT Collection Stats before 1622576000.\n \nIf you want to look at historical data, let's say 7 days in the past.\n> 1. _Change the **operator** to <_\n> 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n> 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the **startTime** time from 7 days ago","example":1663747620}]},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The name of the NFT Collection","example":"DeGods"},"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"},"startTime":{"type":"number","description":"Epoch time in seconds. You can adjust the startTime to look at Historical Stats and Floor Prices.\n For example, startTime < 1622576000 (June 1, 2021) will return NFT Collection Stats before 1622576000.\n \nIf you want to look at historical data, let's say 7 days in the past.\n> 1. _Change the **operator** to <_\n> 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n> 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the **startTime** time from 7 days ago","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},"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","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},"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},"narrative":{"type":"string","description":"A description of the NFT collection","example":"A collection of 10,000 of the most degenerate gods in the universe."},"magic_eden_holding_proportion":{"type":"number","description":"proportion of the NFT collection held by Magic Eden","example":0.0682643427741467},"sample_image":{"type":"string","description":"A sample image of the NFT collection","example":"https://creator-hub-prod.s3.us-east-2.amazonaws.com/thedawgs_pfp_1656966160328.png"},"external_url":{"type":"string","description":"The external url of the NFT collection","example":"https://thedawgs.art/"}},"required":["name","granularity","startTime","high","low","open","close","volume","helloMoonCollectionId","slug","supply","currentOwnerCount","marketCapSol","averageWashScore","listingCount","mintPriceMode","narrative","magic_eden_holding_proportion","sample_image","external_url"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]}}}}}}},"/v0/nft/collection/stats/primary-sales":{"post":{"summary":"Collection Mint Stats","description":"Descriptive statistics for the minting sales in a collection such as the mint price, number of minters, and total minted\r\n ","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}]},"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","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}]},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/nft_primary_sale_collection_stats"}}}}}}},"/v0/nft/collection/volatility":{"post":{"summary":"Collection Volatility","description":"Descriptive statistics for collection volatility. \n Includes the minimum and maximum floor price of a collection looking back 30, 14 and 7 days.\n ","security":[{"bearerAuth":[]}],"tags":["NFT"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","example":"040de757c0d2b75dcee999ddd47689c4"},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","example":"040de757c0d2b75dcee999ddd47689c4"},"volatility":{"type":"object","properties":{"30d":{"type":"object","properties":{"max":{"type":"number","description":"The maximum floor price of the collection during the time period (30d, 7d, 14d)"},"min":{"type":"number","description":"The minimum floor price of the collection during the time period (30d, 7d, 14d)"}},"required":["max","min"],"description":"The maximum and minimum floor price of the collection during the last 30 days (in lamports)"},"7d":{"type":"object","properties":{"max":{"type":"number","description":"The maximum floor price of the collection during the time period (30d, 7d, 14d)"},"min":{"type":"number"}},"required":["max","min"],"description":"The maximum and minimum floor price of the collection during the last 7 days (in lamports)"},"14d":{"type":"object","properties":{"max":{"type":"number","description":"The maximum floor price of the collection during the time period (30d, 7d, 14d)"},"min":{"type":"number","description":"The minimum floor price of the collection during the time period (30d, 7d, 14d)"}},"required":["max","min"],"description":"The maximum and minimum floor price of the collection during the last 14 days (in lamports)"}},"required":["30d","7d","14d"]}},"required":["helloMoonCollectionId","volatility"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]}}}}}}},"/v0/nft/collection/washtrading":{"post":{"summary":"Collection washtrading index","description":"Washtrading score between 0 and 100 for this collection using Hello Moon's algorithm\n ","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"}]},"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","example":"040de757c0d2b75dcee999ddd47689c4"},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/washtrading_collection_index_v7"}}}}}}},"/v0/nft/listing-status":{"post":{"summary":"Listing Status","description":"Track and verify the NFT **Listing Status** by the NFT collection, NFT marketplace, or a single NFT. \r\n\r\n > If the **Listing Status** is true, buyers can purchase the NFT at the asking price.\r\n > If the **Listing Status** is false, buyers have to place a bid on a marketplace for the NFT.\r\n \r\n Our supported NFT marketplaces are:\r\n > SMB (Solana Monkey Business) \r\n > Solanart \r\n > MEv1 (Magic Eden v1)\r\n > MEv2 (Magic Eden v2)\r\n ","security":[{"bearerAuth":[]}],"tags":["NFT"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","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":"CzawPggpF3CG1Cdtn5bsnXk64fJCZWPzRPGaAkNoNQmN"},"isListed":{"type":"boolean","description":"if the NFT is listed or not listed on the marketplace","example":true},"marketplace":{"anyOf":[{"type":"string","enum":["MEv1","MEv2","SMB","Solanart"],"description":"A list of marketplaces and their data supported by HelloMoon","example":"MEv1"},{"type":"array","items":{"type":"string","enum":["MEv1","MEv2","SMB","Solanart"],"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 If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","example":1622576000}},"required":["operator","value"]},{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes.\n If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","example":1622576000}]},"seller":{"type":"string","description":"the seller of the nft on the marketplace.","example":"7MTG7HvhPqXqw5fsfG3HaCrPBXV17LqrgQDYd6rRQiN4"},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"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._\n ","security":[{"bearerAuth":[]}],"tags":["NFT"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","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 base-58 encoded 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":"CzawPggpF3CG1Cdtn5bsnXk64fJCZWPzRPGaAkNoNQmN"},"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 If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","example":1622576000}},"required":["operator","value"]},{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes.\n If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","example":1622576000}]},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","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":"CzawPggpF3CG1Cdtn5bsnXk64fJCZWPzRPGaAkNoNQmN"},"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 If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","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 base-58 encoded string that is uniquely generated for each transaction.","example":"4uzkMm6PKpZankJMkrTxAsbgKdQGES8rQ37XtekZjXEQpYfrBxVT3QsXx2fjUteHBd3dsSjMnR1AtvG6zvnG9jze"}},"required":["helloMoonCollectionId","instructionName","nftMint","market","price","blockTime","blockId","transactionPosition","instructionOrdinal","transactionId"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]}}}}}}},"/v0/nft/market-stats":{"post":{"summary":"Marketplace Stats","description":"\n Descriptive statistics for marketplace activity amongst different granularities including \n - volume \n - number of buyers \n - number of sellers \n - number of transactions","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":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"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":"CzawPggpF3CG1Cdtn5bsnXk64fJCZWPzRPGaAkNoNQmN"},"nftCollectionMint":{"type":"string","description":"The public key of the Collection NFT's Mint Account","example":"3N1ppz96gi2PsnuAMxSLnYMPcjeqHk7tkCuKpPDbJfdk"},"verifiedCreator":{"type":"string","description":"The public key of the address that has signed the nft metadata as a creator","example":"AxFuniPo7RaDgPH6Gizf4GZmLQFc4M5ipckeeZfkrPNn"},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"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":"CzawPggpF3CG1Cdtn5bsnXk64fJCZWPzRPGaAkNoNQmN"},"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"]},"verifiedCreator":{"type":"string","description":"The public key of the address that has signed the nft metadata as a creator","example":"AxFuniPo7RaDgPH6Gizf4GZmLQFc4M5ipckeeZfkrPNn"}},"required":["nftMint","nftMetadataAdress","nftMetadataJson","nftCollectionMint","nftVerifiedCreatorsArray","verifiedCreator"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]}}}}}}},"/v0/nft/mints-by-owner":{"post":{"summary":"Mints By Owner","description":"All NFT Mints owned by a wallet with on chain attached","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":"CzawPggpF3CG1Cdtn5bsnXk64fJCZWPzRPGaAkNoNQmN"},"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","example":"040de757c0d2b75dcee999ddd47689c4"},"ownerAccount":{"type":"string","description":"The owner account of the NFT per the SPL token program","example":"H7FSYqdzdRcwDH4Vqfry8ASqCCFG1dRQVyp51AZwkwn2"},"nftCollectionMint":{"type":"string","description":"The public key of the Collection NFT's Mint Account","example":"3N1ppz96gi2PsnuAMxSLnYMPcjeqHk7tkCuKpPDbJfdk"},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"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":"CzawPggpF3CG1Cdtn5bsnXk64fJCZWPzRPGaAkNoNQmN"},"tokenAccount":{"type":"string","description":"The token account of the NFT per the SPL token program","example":"2AXt9HixbLchyw1MRzbtQV11LKapZ9gKybejcWorPdpK"},"ownerAccount":{"type":"string","description":"The owner account of the NFT per the SPL token program","example":"H7FSYqdzdRcwDH4Vqfry8ASqCCFG1dRQVyp51AZwkwn2"},"metadataAddress":{"type":"string","description":"Public key of address holding NFT metadata","example":"7fy4LH9pzduF7mwDbmMNuuoKHBuDrbEvDeZzibbGrxys"},"metadataJson":{"type":"object","properties":{"name":{"type":"string","description":"The on-chain name of the token, limited to 32 bytes","example":"Wolves of Meta Street"},"symbol":{"type":"string","description":"The on-chain symbol of the token, limited to 10 bytes","example":"WOMS"},"uri":{"type":"string","description":"The URI of the token, limited to 200 bytes. This URI points to an off-chain JSON file that contains additional data following a certain standard.","example":"https://arweave.net/cj3beKnkwo04skkDLkOVFCIAqeHcQQxH1fc_09vZJVE"},"sellerFeeBasisPoints":{"type":"number","description":"The royalties shared by the creators in basis points — i.e. 550 means 5.5%. Whilst this field is used by virtually all NFT marketplaces, it is not enforced by the Token Metadata program itself.","example":969},"creators":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string","description":"The publicKey of the creator","example":"wydb7AxKsizuyaVpK3LteD6xipKzc4xZM3DqyuZijnQ"},"verified":{"type":"boolean","description":"A boolean indicating if the creator signed the NFT. It is important to check this field to ensure the authenticity of the creator.","example":true},"share":{"type":"number","description":"The share of the royalties that the creator gets. This is a number between 0 and 100. The sum of all shares must be 100.","example":0}},"required":["address","verified","share"]},"description":"An array of creators and their share of the royalties. This array is limited to 5 creators.","example":[{"address":"wydb7AxKsizuyaVpK3LteD6xipKzc4xZM3DqyuZijnQ","verified":true,"share":0},{"address":"nm9KXDP5x5fLawYiZ5pyHbR2WeFRS5xDvypFMGHqNQ4","verified":false,"share":95},{"address":"mnKzuL9RMtR6GeSHBfDpnQaefcMsiw7waoTSduKNiXM","verified":false,"share":5}]},"collection":{"type":"object","properties":{"verified":{"type":"boolean","description":"A boolean indicating if the owner of the Collection NFT signed this NFT. It is important to check this field to ensure the authenticity of the collection.","example":true},"key":{"type":"string","description":"The public key of the Collection NFT's Mint Account","example":"3N1ppz96gi2PsnuAMxSLnYMPcjeqHk7tkCuKpPDbJfdk"}},"required":["verified","key"],"description":"This field optionally links to the Mint address of another NFT that acts as a Collection NFT. ","example":{"verified":true,"key":"3N1ppz96gi2PsnuAMxSLnYMPcjeqHk7tkCuKpPDbJfdk"}}},"required":["name","symbol","uri","sellerFeeBasisPoints","creators","collection"],"description":"The NFT on chain metadata","example":{"name":"The Wolves of Meta Street #124","symbol":"WOMS","uri":"https://arweave.net/cj3beKnkwo04skkDLkOVFCIAqeHcQQxH1fc_09vZJVE","sellerFeeBasisPoints":969,"creators":[{"address":"wydb7AxKsizuyaVpK3LteD6xipKzc4xZM3DqyuZijnQ","verified":true,"share":0},{"address":"nm9KXDP5x5fLawYiZ5pyHbR2WeFRS5xDvypFMGHqNQ4","verified":false,"share":95},{"address":"mnKzuL9RMtR6GeSHBfDpnQaefcMsiw7waoTSduKNiXM","verified":false,"share":5}],"collection":{"verified":true,"key":"3N1ppz96gi2PsnuAMxSLnYMPcjeqHk7tkCuKpPDbJfdk"}}},"nftCollectionMint":{"type":"string","description":"The public key of the Collection NFT's Mint Account","example":"3N1ppz96gi2PsnuAMxSLnYMPcjeqHk7tkCuKpPDbJfdk"},"verifiedCreators":{"type":"array","items":{"type":"string"},"description":"Array of verified creators","example":["wydb7AxKsizuyaVpK3LteD6xipKzc4xZM3DqyuZijnQ"]},"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","example":"040de757c0d2b75dcee999ddd47689c4"}},"required":["nftMint","tokenAccount","ownerAccount","metadataAddress","metadataJson","nftCollectionMint","verifiedCreators","helloMoonCollectionId"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]}}}}}}},"/v0/nft/sales/primary":{"post":{"summary":"Primary Sales","description":"The NFT **Primary Sales** endpoint captures the moment that the NFT was minted for a collection. \n View key data fields such as what NFT was minted, the mintProgram or launchpad, who minted the NFT, and the amount it cost to mint.\n \n _Data goes back 30 days for supported launchpads and mint programs._\n ","security":[{"bearerAuth":[]}],"tags":["NFT"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"nftMint":{"type":"string","description":"The mint address of the NFT that was minted and received by the payer.","example":"JDGri1sv7bHA9D9iQfrUnsSzB6Hp9Uq1Y8Sx9kxYceZV"},"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","example":"040de757c0d2b75dcee999ddd47689c4"},"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 base-58 encoded string that is uniquely generated for each transaction.","example":"4uzkMm6PKpZankJMkrTxAsbgKdQGES8rQ37XtekZjXEQpYfrBxVT3QsXx2fjUteHBd3dsSjMnR1AtvG6zvnG9jze"},"mintProgram":{"anyOf":[{"type":"string","enum":["cndy3Z4yapfJBmL3ShUp5exZKqR3z33thTzeNMm2gRZ","ArAA6CZC123yMJLUe4uisBEgvfuw2WEvex9iFmFCYiXv","CMZYPASGWeTz7RNGHaRJfCq2XQ5pYK6nDvVQxzkH51zb","cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ"],"description":"The program that minted this NFT.\n For example, the Candy Machine v2 program helps creators launch their NFT collections and brings their metadata on the Solana blockchain.\n\n **Choose a program address below to query by, each address is mapped to it's program name.**\n > cndy3Z4yapfJBmL3ShUp5exZKqR3z33thTzeNMm2gRZ = Metaplex NFT Candy Machine v2\n > ArAA6CZC123yMJLUe4uisBEgvfuw2WEvex9iFmFCYiXv = nft_candy_machine\n > CMZYPASGWeTz7RNGHaRJfCq2XQ5pYK6nDvVQxzkH51zb = Nft Candy Machine\n > cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ = Metaplex NFT Candy Machine v1","example":"cndy3Z4yapfJBmL3ShUp5exZKqR3z33thTzeNMm2gRZ"},{"type":"array","items":{"type":"string","enum":["cndy3Z4yapfJBmL3ShUp5exZKqR3z33thTzeNMm2gRZ","ArAA6CZC123yMJLUe4uisBEgvfuw2WEvex9iFmFCYiXv","CMZYPASGWeTz7RNGHaRJfCq2XQ5pYK6nDvVQxzkH51zb","cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ"],"description":"The program that minted this NFT.\n For example, the Candy Machine v2 program helps creators launch their NFT collections and brings their metadata on the Solana blockchain.\n\n **Choose a program address below to query by, each address is mapped to it's program name.**\n > cndy3Z4yapfJBmL3ShUp5exZKqR3z33thTzeNMm2gRZ = Metaplex NFT Candy Machine v2\n > ArAA6CZC123yMJLUe4uisBEgvfuw2WEvex9iFmFCYiXv = nft_candy_machine\n > CMZYPASGWeTz7RNGHaRJfCq2XQ5pYK6nDvVQxzkH51zb = Nft Candy Machine\n > cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ = Metaplex NFT Candy Machine v1","example":"cndy3Z4yapfJBmL3ShUp5exZKqR3z33thTzeNMm2gRZ"}}]},"payer":{"type":"string","description":"The user account that paid for the NFT to be minted on the mintProgram.\n The account will be the owner at the time of the mint, unless it was transferred to another account afterwards.","example":"FQTr1V9AphVa3euru8VLH1GyutgVsjTuhTNi6vLpySDJ"},"paymentMint":{"type":"string","description":"The mint address of the token that is received by the payee in exchange for the mint of the NFT.","example":"9nhuxLhaMGwUdAcnn53vJeXBt3qtjycSFqGefYGA829n"},"wallet":{"type":"string","description":"**The associated token account**. This program defined the mapping between the payer and the token accounts that they own.\n A user may own many token accounts belonging to the same mint address. \n The associated token account introduces a way to deterministically map a user to a token account then to the unique mint address.","example":"FjQcBCDTMPyo9mA2VvJS7rRzRz1B67mkYdzfJrA781zh"},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"mintProgram":{"type":"string","enum":["cndy3Z4yapfJBmL3ShUp5exZKqR3z33thTzeNMm2gRZ","ArAA6CZC123yMJLUe4uisBEgvfuw2WEvex9iFmFCYiXv","CMZYPASGWeTz7RNGHaRJfCq2XQ5pYK6nDvVQxzkH51zb","cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ"],"description":"The program that minted this NFT.\n For example, the Candy Machine v2 program helps creators launch their NFT collections and brings their metadata on the Solana blockchain.\n\n **Choose a program address below to query by, each address is mapped to it's program name.**\n > cndy3Z4yapfJBmL3ShUp5exZKqR3z33thTzeNMm2gRZ = Metaplex NFT Candy Machine v2\n > ArAA6CZC123yMJLUe4uisBEgvfuw2WEvex9iFmFCYiXv = nft_candy_machine\n > CMZYPASGWeTz7RNGHaRJfCq2XQ5pYK6nDvVQxzkH51zb = Nft Candy Machine\n > cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ = Metaplex NFT Candy Machine v1","example":"cndy3Z4yapfJBmL3ShUp5exZKqR3z33thTzeNMm2gRZ"},"nftMint":{"type":"string","description":"The mint address of the NFT that was minted and received by the payer.","example":"JDGri1sv7bHA9D9iQfrUnsSzB6Hp9Uq1Y8Sx9kxYceZV"},"payer":{"type":"string","description":"The user account that paid for the NFT to be minted on the mintProgram.\n The account will be the owner at the time of the mint, unless it was transferred to another account afterwards.","example":"FQTr1V9AphVa3euru8VLH1GyutgVsjTuhTNi6vLpySDJ"},"payee":{"type":"string","description":"The token account that created the NFT, before it was minted to the payer.\n The payer will pay this account an amount of tokens, NFTs or SOL in exchange for the NFT mint.","example":"H7bPu7MF1acaPStNV1uHKkXDETVbYo6hdUZcwWBebzHo"},"paymentMint":{"type":"string","description":"The mint address of the token that is received by the payee in exchange for the mint of the NFT.","example":"9nhuxLhaMGwUdAcnn53vJeXBt3qtjycSFqGefYGA829n"},"amount":{"type":"number","description":"Amount paid in paymentMint's native tokens, unconverted for decimals.\n > If Amount = 1, it means the payer exchanged a claim token that is related to the creators of the NFT collection for the mint. For example, 1 Trippin' Ape Tribe Mushroom Claim Token was used in exchange for the mint of a MUSHROOM NFT.\n \n > If Amount > 1, 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":1},"wallet":{"type":"string","description":"**The associated token account**. This program defined the mapping between the payer and the token accounts that they own.\n A user may own many token accounts belonging to the same mint address. \n The associated token account introduces a way to deterministically map a user to a token account then to the unique mint address.","example":"FjQcBCDTMPyo9mA2VvJS7rRzRz1B67mkYdzfJrA781zh"},"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","example":"040de757c0d2b75dcee999ddd47689c4"},"blockTime":{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes.\n If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","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 base-58 encoded 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}},"required":["mintProgram","nftMint","payer","payee","paymentMint","amount","wallet","helloMoonCollectionId","blockTime","blockId","transactionId","transactionPosition","instructionposition"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]}}}}}}},"/v0/nft/sales/secondary":{"post":{"summary":"Secondary Sales","description":"The NFT **Secondary Sales** endpoint captures transactions that occured after the minting of a NFT. \n\n > For example, the **Primary Sales** endpoint visualizes who minted the NFT and the program that was used. While the **Secondary Sales** endpoint visualizes who the minter sold the NFT to and the price it was transacted at.\n \n _Data goes back 30 days for supported launchpads and mint programs._\n ","security":[{"bearerAuth":[]}],"tags":["NFT"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","example":"040de757c0d2b75dcee999ddd47689c4"},"nftMint":{"type":"string","description":"The mint address of the NFT that was sold to the buyer by the seller.","example":"JDGri1sv7bHA9D9iQfrUnsSzB6Hp9Uq1Y8Sx9kxYceZV"},"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"},"marketplace":{"anyOf":[{"type":"string","enum":["SMB","ME_V1","ME_V2","YAWWW","Elixir","SolSea","OpenSea","Solanart","Hadeswap","CoralCube","Coral Cube","Exchange.Art"],"description":"A list of marketplaces and their data supported by HelloMoon","example":"SMB"},{"type":"array","items":{"type":"string","enum":["SMB","ME_V1","ME_V2","YAWWW","Elixir","SolSea","OpenSea","Solanart","Hadeswap","CoralCube","Coral Cube","Exchange.Art"],"description":"A list of marketplaces and their data supported by HelloMoon","example":"SMB"}}]},"price":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"The price of the NFT that was sold to the buyer.\n _price is denoted in Solana_","example":3.28}},"required":["operator","value"]},{"type":"number","description":"The price of the NFT that was sold to the buyer.\n _price is denoted in Solana_","example":3.28}]},"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 If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","example":1622576000}},"required":["operator","value"]},{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes.\n If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","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}]},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"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},"marketplace":{"type":"string","enum":["SMB","ME_V1","ME_V2","YAWWW","Elixir","SolSea","OpenSea","Solanart","Hadeswap","CoralCube","Coral Cube","Exchange.Art"],"description":"A list of marketplaces and their data supported by HelloMoon","example":"SMB"},"blockTime":{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes.\n If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","example":1622576000},"nftMint":{"type":"string","description":"The mint address of the NFT that was sold to the buyer by the seller.","example":"JDGri1sv7bHA9D9iQfrUnsSzB6Hp9Uq1Y8Sx9kxYceZV"},"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":"The price of the NFT that was sold to the buyer.\n _price is denoted in Solana_","example":3.28},"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 base-58 encoded string that is uniquely generated for each transaction.","example":"4uzkMm6PKpZankJMkrTxAsbgKdQGES8rQ37XtekZjXEQpYfrBxVT3QsXx2fjUteHBd3dsSjMnR1AtvG6zvnG9jze"},"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","example":"040de757c0d2b75dcee999ddd47689c4"}},"required":["blockId","marketplace","blockTime","nftMint","seller","buyer","price","transactionId","helloMoonCollectionId"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]}}}}}}},"/v0/nft/sales_per_market_daily":{"post":{"summary":"Market Sales Over Time","description":"Daily sales for NFT markets","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"}}]},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/sales_per_market_daily"}}}}}}},"/v0/sharky/default-stats":{"post":{"summary":"Sharky Default Stats","description":"Shows all default rates for a collection looking back 30, 14, 7 and 1 days\n > a default is when a loan is liquidated and not repaid","security":[{"bearerAuth":[]}],"tags":["NFT Summary"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","example":"040de757c0d2b75dcee999ddd47689c4"},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","example":"040de757c0d2b75dcee999ddd47689c4"},"granularity":{"type":"string","enum":["1d","7d","14d","30d"],"description":"Granularity of the data. This is to say, this data is looking back 1, 7, 14 or 30 days. ","example":"1d"},"numDefaults":{"type":"number","description":"Number of loans that have defaulted in the given granularity","example":10},"numRepaid":{"type":"number","description":"Number of loans that have been repaid within the given granularity","example":20},"defaultRate":{"type":"number","description":"The default rate of loans within the given granularity. Defined as (num_defaults / (num_defaults + num_repaid))","example":0.333}},"required":["helloMoonCollectionId","granularity","numDefaults","numRepaid","defaultRate"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]}}}}}}},"/v0/sharky/historical-defaults":{"post":{"summary":"Sharky Historical Defaults","description":"Shows all defaults for a collection ordered by blocktime with the floorprice at time of default\n > a default is when a loan is liquidated and not repaid","security":[{"bearerAuth":[]}],"tags":["NFT Summary"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","example":"040de757c0d2b75dcee999ddd47689c4"},"defaultBlocktime":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"UTC Blocktime when the loan defaulted \n > If the field returned is **null**, it was never defaulted","example":1630000000}},"required":["operator","value"]},{"type":"number","description":"UTC Blocktime when the loan defaulted \n > If the field returned is **null**, it was never defaulted","example":1630000000}]},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"offerBlocktime":{"type":"number","description":"UTC Blocktime of the offer for the loan","example":1630000000},"cancelBlocktime":{"type":"number","description":"UTC Blocktime of when the loan was cancelled null if it was never cancelled ","example":1630000000},"takenBlocktime":{"type":"number","description":"UTC Blocktime when the loan was taken null if it was never taken ","example":1630000000},"repayBlocktime":{"type":"number","description":"UTC Blocktime when the loan was repaid null if it was never repaid ","example":1630000000},"defaultBlocktime":{"type":"number","description":"UTC Blocktime when the loan defaulted \n > If the field returned is **null**, it was never defaulted","example":1630000000},"orderBook":{"type":"string","description":"Order book the loan was taken from","example":"4P164Rc1S45zQktx4DU4GrTKKNtFnRS6jwkqiVqGYN2P"},"loan":{"type":"string","description":"Loan address","example":"mS6HQDEy6rRgzTPGzNvWGdkuowKs3BXBELrrSt7VzCn"},"amountOffered":{"type":"number","description":"Amount offered for the loan","example":12.213},"lender":{"type":"string","description":"Pubkey of the address of the lender","example":"947UUBxULHrMHeVJ75er4JM5HAL1zae76dFnb2QV3zD1"},"borrower":{"type":"string","description":"Pubkey of the address of the borrower","example":"EVPGQAde7DLp4xCfKs7Ewna92TNjJpp816JFoCLtzBmC"},"collateralMint":{"type":"string","description":"nft mint address of the mint that was used as collateral for the loan","example":"4XTN9JT8c559DxZD4yoUv7XuMa7MMiCFWhAKGZuNjsr7"},"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","example":"040de757c0d2b75dcee999ddd47689c4"},"tokenMint":{"type":"string","description":"spl token mint of the token that was taken as a loan","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"amountTaken":{"type":"number","description":"Amount taken in the token mint for the loan","example":12.213},"loanDurationSeconds":{"type":"number","description":"Duration of the loan in seconds","example":12213},"amountRepayed":{"type":"number","description":"Amount repayed in the token mint for the loan","example":12.213},"isRepayEscrow":{"type":"boolean","description":"If the loan was repayed from the escrow account","example":true},"isDefaultEscrow":{"type":"boolean","description":"If the loan defaulted from the escrow account","example":true},"floorPriceAtDefault":{"type":"number","description":"Floor price of the collection at the time of default in lamports","example":12213}},"required":["offerBlocktime","cancelBlocktime","takenBlocktime","repayBlocktime","defaultBlocktime","orderBook","loan","amountOffered","lender","borrower","collateralMint","helloMoonCollectionId","tokenMint","amountTaken","loanDurationSeconds","amountRepayed","isRepayEscrow","isDefaultEscrow","floorPriceAtDefault"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]}}}}}}},"/v0/sharky/loan-events":{"post":{"summary":"Sharky Loan Events","description":"Shows all loan events on Sharky. \n The events are segmented by actionType.\n actionType can be one of the following:\n > offer\n > cancel \n > take\n > repay\n > default\n ","security":[{"bearerAuth":[]}],"tags":["NFT"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"orderBook":{"type":"string","description":"Order book the loan was taken from","example":"4P164Rc1S45zQktx4DU4GrTKKNtFnRS6jwkqiVqGYN2P"},"lender":{"type":"string","description":"Pubkey of the address of the lender","example":"947UUBxULHrMHeVJ75er4JM5HAL1zae76dFnb2QV3zD1"},"borrower":{"type":"string","description":"Pubkey of the address of the borrower","example":"EVPGQAde7DLp4xCfKs7Ewna92TNjJpp816JFoCLtzBmC"},"loan":{"type":"string","description":"Loan address","example":"mS6HQDEy6rRgzTPGzNvWGdkuowKs3BXBELrrSt7VzCn"},"actionType":{"anyOf":[{"type":"string","enum":["default","offer","cancel","repay","take"],"description":"Type of action for the loan event: offer, cancel, take, repay, default"},{"type":"array","items":{"type":"string","enum":["default","offer","cancel","repay","take"],"description":"Type of action for the loan event: offer, cancel, take, repay, default"}}]},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/sharky_loan_events"}}}}}}},"/v0/sharky/loan-summary":{"post":{"summary":"Sharky Loan Summary","description":"Summary details of loans on sharky","security":[{"bearerAuth":[]}],"tags":["NFT"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"helloMoonCollectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","example":"040de757c0d2b75dcee999ddd47689c4"},"defaultBlocktime":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"UTC Blocktime when the loan defaulted \n > If the field returned is **null**, it was never defaulted","example":1630000000}},"required":["operator","value"]},{"type":"number","description":"UTC Blocktime when the loan defaulted \n > If the field returned is **null**, it was never defaulted","example":1630000000}]},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/sharky_loan_summary"}}}}}}},"/v0/solana/txns-by-user":{"post":{"summary":"Transactions by User","description":"\n Get all transactions for a given user with parsed information about the transaction.\n Supported transaction types right now are:\n - **Transfer**: A transfer of SOL or SPL tokens\n - **Swaps**: A swap of SPL tokens on a DEX\n - **NFT Secondary Sales**: A sale of an NFT on the secondary market (like Magic Eden or OpenSea)\n - **NFT Primary Sales**: A sale of an NFT on the primary market (like Candymachine or a launchpad)\n - **Liquidity Pool Actions**: Withdrawing or depositing liquidity to a liquidity pool\n - **Lending Actions**: Borrowing, repaying, depositing or withdrawing on lending protocols\n ","security":[{"bearerAuth":[]}],"tags":["DeFi"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"userAccount":{"type":"string","description":"public key of the account that received the reward (i.e, staking account)","example":"E4vbW55NDqJgLyGmE7Y1xSNrXqgHZ328Pfzwcm5nMPzN"},"type":{"anyOf":[{"type":"string","enum":["NFT_SALE","NFT_LISTING/DELISTING","TOKEN_SWAP","WITHDRAWAL/DEPOSITS","BORROWING/LENDING","NFT_MINT","TOKEN_TRANSFERS"],"description":"The type of transaction. Possible values are: \n > NFT_SALE ~ NFT sales on various marketplaces __data goes back 30 days__\n > NFT_MINT ~ Minting NFTs on various launchpads __data goes back 30 days__\n > NFT_LISTING ~ NFT listings on various marketplaces\n > DEFI_SWAPS ~ Swaps on various DeFi protocols __data goes back 30 days__\n > DEFI_LIQUIDITY_POOLS ~ Adding or removing liquidity on various DeFi protocols __data goes back 30 days__\n > DEFI_LENDING ~ Repaying, borrowing, lending and withdrawing on various DeFi protocols \n > TOKEN_TRANSFER ~ Transfers of SPL tokens between two accounts __data goes back 24 hrs__","example":"NFT_SALE"},{"type":"array","items":{"type":"string","enum":["NFT_SALE","NFT_LISTING/DELISTING","TOKEN_SWAP","WITHDRAWAL/DEPOSITS","BORROWING/LENDING","NFT_MINT","TOKEN_TRANSFERS"],"description":"The type of transaction. Possible values are: \n > NFT_SALE ~ NFT sales on various marketplaces __data goes back 30 days__\n > NFT_MINT ~ Minting NFTs on various launchpads __data goes back 30 days__\n > NFT_LISTING ~ NFT listings on various marketplaces\n > DEFI_SWAPS ~ Swaps on various DeFi protocols __data goes back 30 days__\n > DEFI_LIQUIDITY_POOLS ~ Adding or removing liquidity on various DeFi protocols __data goes back 30 days__\n > DEFI_LENDING ~ Repaying, borrowing, lending and withdrawing on various DeFi protocols \n > TOKEN_TRANSFER ~ Transfers of SPL tokens between two accounts __data goes back 24 hrs__","example":"NFT_SALE"}}]},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"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 If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","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 base-58 encoded string that is uniquely generated for each transaction.","example":"4uzkMm6PKpZankJMkrTxAsbgKdQGES8rQ37XtekZjXEQpYfrBxVT3QsXx2fjUteHBd3dsSjMnR1AtvG6zvnG9jze"},"userAccount":{"type":"string","description":"public key of the account that received the reward (i.e, staking account)","example":"E4vbW55NDqJgLyGmE7Y1xSNrXqgHZ328Pfzwcm5nMPzN"},"type":{"type":"string","enum":["NFT_SALE","NFT_LISTING/DELISTING","TOKEN_SWAP","WITHDRAWAL/DEPOSITS","BORROWING/LENDING","NFT_MINT","TOKEN_TRANSFERS"],"description":"The type of transaction. Possible values are: \n > NFT_SALE ~ NFT sales on various marketplaces __data goes back 30 days__\n > NFT_MINT ~ Minting NFTs on various launchpads __data goes back 30 days__\n > NFT_LISTING ~ NFT listings on various marketplaces\n > DEFI_SWAPS ~ Swaps on various DeFi protocols __data goes back 30 days__\n > DEFI_LIQUIDITY_POOLS ~ Adding or removing liquidity on various DeFi protocols __data goes back 30 days__\n > DEFI_LENDING ~ Repaying, borrowing, lending and withdrawing on various DeFi protocols \n > TOKEN_TRANSFER ~ Transfers of SPL tokens between two accounts __data goes back 24 hrs__","example":"NFT_SALE"},"data":{"anyOf":[{"type":"object","properties":{"market":{"type":"string","enum":["SMB","ME_V1","ME_V2","YAWWW","Elixir","SolSea","OpenSea","Solanart","Hadeswap","CoralCube","Coral Cube","Exchange.Art"],"description":"A list of marketplaces and their data supported by HelloMoon","example":"SMB"},"mint":{"type":"string","description":"The mint address of the NFT that was sold to the buyer by the seller.","example":"JDGri1sv7bHA9D9iQfrUnsSzB6Hp9Uq1Y8Sx9kxYceZV"},"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"},"price":{"type":"number","description":"The price of the NFT that was sold to the buyer.\n _price is denoted in Solana_","example":3.28},"collection_id":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","example":"040de757c0d2b75dcee999ddd47689c4"}},"required":["market","mint","buyer","seller","price","collection_id"]},{"type":"object","properties":{"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},"mint":{"type":"string","description":"Mint address of nft per the spl token program.\n Each NFT has a unique mint address within the collection.","example":"CzawPggpF3CG1Cdtn5bsnXk64fJCZWPzRPGaAkNoNQmN"},"seller":{"type":"string","description":"The publickey of the wallet listing an NFT for sale or canceling their listing","example":"BPiunxZKqnVjfyGwxEGDJ8fo2Anc9KZW2w81gpbPRJV3"},"isListing":{"type":"boolean","description":"Whether the listing is being created or canceled","example":true},"market":{"type":"string","enum":["MEv1","Solanart","SMB","MEv2","Yawww"],"description":"A list of marketplaces and their data supported by HelloMoon","example":"MEv1"}},"required":["price","mint","seller","isListing","market"]},{"type":"object","properties":{"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."},"programId":{"type":"string","description":"The program id references the DEX (decentralized exchange) address that is used to execute the swap with their provided liquidity.\n > You can also visit https://www.hellomoon.io/id?search=dex to search for a DEX program using a user interface.","example":"SSwpkEEcbUqx4vtoEByFjSkhKdCT862DNVb52nZg1UZ"},"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"},"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}},"required":["aggregatorId","programId","sourceMint","destinationMint","sourceAmount","destinationAmount"]},{"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."},"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}},"required":["programId","actionType","tokenMintA","tokenMintB","amountTokenA","amountTokenB"]},{"type":"object","properties":{"programName":{"type":"string","description":"The programName references the lending protocol name\n that the user account is borrowing or repaying to.","example":"Solend"},"programId":{"type":"string","description":"The programId references the lending protocol\n that the user account is borrowing or repaying to.","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 are repaid to the user.","example":"borrow"},"instructionName":{"type":"string","description":"Name of this instruction"},"amount":{"type":"number","description":"The amount of tokens that the user account is repaying 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},"mint":{"type":"string","description":"The mint references the token that the user account is repaid or borrowing from the program.","example":"USDH1SM1ojwWUga67PGrgFWUHibbjqMvuMaDkRJTgkX"}},"required":["programName","programId","actionType","instructionName","amount","mint"]},{"type":"object","properties":{"mintProgram":{"type":"string","enum":["cndy3Z4yapfJBmL3ShUp5exZKqR3z33thTzeNMm2gRZ","ArAA6CZC123yMJLUe4uisBEgvfuw2WEvex9iFmFCYiXv","CMZYPASGWeTz7RNGHaRJfCq2XQ5pYK6nDvVQxzkH51zb","cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ"],"description":"The program that minted this NFT.\n For example, the Candy Machine v2 program helps creators launch their NFT collections and brings their metadata on the Solana blockchain.\n\n **Choose a program address below to query by, each address is mapped to it's program name.**\n > cndy3Z4yapfJBmL3ShUp5exZKqR3z33thTzeNMm2gRZ = Metaplex NFT Candy Machine v2\n > ArAA6CZC123yMJLUe4uisBEgvfuw2WEvex9iFmFCYiXv = nft_candy_machine\n > CMZYPASGWeTz7RNGHaRJfCq2XQ5pYK6nDvVQxzkH51zb = Nft Candy Machine\n > cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ = Metaplex NFT Candy Machine v1","example":"cndy3Z4yapfJBmL3ShUp5exZKqR3z33thTzeNMm2gRZ"},"payer":{"type":"string","description":"The user account that paid for the NFT to be minted on the mintProgram.\n The account will be the owner at the time of the mint, unless it was transferred to another account afterwards.","example":"FQTr1V9AphVa3euru8VLH1GyutgVsjTuhTNi6vLpySDJ"},"payee":{"type":"string","description":"The token account that created the NFT, before it was minted to the payer.\n The payer will pay this account an amount of tokens, NFTs or SOL in exchange for the NFT mint.","example":"H7bPu7MF1acaPStNV1uHKkXDETVbYo6hdUZcwWBebzHo"},"amount":{"type":"number","description":"Amount paid in paymentMint's native tokens, unconverted for decimals.\n > If Amount = 1, it means the payer exchanged a claim token that is related to the creators of the NFT collection for the mint. For example, 1 Trippin' Ape Tribe Mushroom Claim Token was used in exchange for the mint of a MUSHROOM NFT.\n \n > If Amount > 1, 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":1},"paymentMint":{"type":"string","description":"The mint address of the token that is received by the payee in exchange for the mint of the NFT.","example":"9nhuxLhaMGwUdAcnn53vJeXBt3qtjycSFqGefYGA829n"},"wallet":{"type":"string","description":"**The associated token account**. This program defined the mapping between the payer and the token accounts that they own.\n A user may own many token accounts belonging to the same mint address. \n The associated token account introduces a way to deterministically map a user to a token account then to the unique mint address.","example":"FjQcBCDTMPyo9mA2VvJS7rRzRz1B67mkYdzfJrA781zh"},"mint":{"type":"string","description":"The mint address of the NFT that was minted and received by the payer.","example":"JDGri1sv7bHA9D9iQfrUnsSzB6Hp9Uq1Y8Sx9kxYceZV"},"collectionId":{"type":"string","description":"> To find the correct helloMoonCollectionId, **[click here](https://www.hellomoon.io/id?search=collection)** and search a collection name. This list is continuously updated.","example":"040de757c0d2b75dcee999ddd47689c4"}},"required":["mintProgram","payer","payee","amount","paymentMint","wallet","mint","collectionId"]},{"type":"object","properties":{"sourceOwner":{"type":"string","description":"source owner is the per owner of the source (token account), each token account will refer to a distinct token mint","example":"8vXJyKBjkA4Es4cHBmXyqGq1iLu3BnfPQL36GWr2AB3"},"source":{"type":"string","description":"Token account of a mint owned by the token program (Spl Token Program). It holds information about the tokens owned by a public key","example":"3tToSVLBjhHLtw1AFarPk4xpKuUpM9r6siNL6hUuJjQC"},"destinationOwner":{"type":"string","description":"destination owner is the per owner of the destination (token account), each token account will refer to a distinct token mint","example":"CS8mZeh885Uo8GMTzDgUhbRPduJVFL2dbZF3mRif3ASm"},"destination":{"type":"string","description":"Token account of a mint owned by the token program (Spl Token Program). It holds information about the tokens owned by a public key","example":"3tToSVLBjhHLtw1AFarPk4xpKuUpM9r6siNL6hUuJjQC"},"type":{"type":"string","enum":["closeAccount","createAccount","createAccountWithSeed","transferChecked","transfer"]},"amount":{"type":"number","description":"amount (in native token units) transferred between source owner and destination owner","example":4500},"mint":{"type":"string","description":"Mint address per the SPL token program.\n > You can also visit https://www.hellomoon.io/id?search=token to search for mints using a user interface.","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":["sourceOwner","source","destinationOwner","destination","type","amount","mint","newDestinationBalance","newSourceBalance","oldDestinationBalance","oldSourceBalance"]}]}},"required":["blockId","blockTime","transactionId","userAccount","type","data"]}},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}},"required":["data"]}}}}}}},"/v0/staking/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 If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","example":1622576000}},"required":["operator","value"]},{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes.\n If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","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 base-58 encoded string that is uniquely generated for each transaction.","example":"4uzkMm6PKpZankJMkrTxAsbgKdQGES8rQ37XtekZjXEQpYfrBxVT3QsXx2fjUteHBd3dsSjMnR1AtvG6zvnG9jze"},"stakeAccount":{"type":"string","description":"The public key of the stake account","example":"98CwUi4SqDuSJoXRStFdk7wontYi7jmDghCRHSbTpj6u"},"voteAccount":{"type":"string","description":"When someone wants to delegate tokens in a stake account, the delegation command is pointed at the vote account address of the validator to whom the token-holder wants to delegate.","example":"2Y2opv8Kq8zFATg6ipqb2AjgCf18tkv1CLMLXQGif2NH"},"stakeAuthority":{"type":"string","description":"account owner (public key), given authority to stake tokens","example":"CxPy4tBstjyzavaoFnPs5FYM36jXQLyBTFZKUdGusL88"},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/stakeactionsv2"}}}}}}},"/v0/staking/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 If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","example":1622576000}},"required":["operator","value"]},{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes.\n If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","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"}}]},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/block_rewards"}}}}}}},"/v0/staking/transfers":{"post":{"summary":"Account Transfers","description":"Data on SOL being transferred to and from stake accounts. \n Funding and withdrawing SOL from stake accounts occours through the stake program Stake11111111111111111111111111111111111111 which we consider to be distinct from spl-token transfers or system transfers.","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 If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","example":1622576000}},"required":["operator","value"]},{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes.\n If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","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 base-58 encoded string that is uniquely generated for each transaction.","example":"4uzkMm6PKpZankJMkrTxAsbgKdQGES8rQ37XtekZjXEQpYfrBxVT3QsXx2fjUteHBd3dsSjMnR1AtvG6zvnG9jze"},"sourceStakeAccount":{"type":"string","description":"stake account that is transferring lamports to the destination stake account","example":"728vS47vUmD6Z2wBqew38fy4b85C5KB77tLVRMnQLpTa"},"destinationAccount":{"type":"string","description":"stake account that is receiving lamports from the source stake account","example":"4HWXz3X8vwEifBHjxcdLjBdB3Ujs24uqQKDW1AMCKqjr"},"authority":{"type":"string","description":"account owner (public key), given authority to stake tokens","example":"CxPy4tBstjyzavaoFnPs5FYM36jXQLyBTFZKUdGusL88"},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/staketransfersv2"}}}}}}},"/v0/subscriptions/create":{"post":{"summary":"Create a new subscription","description":"Create a new subscription to a stream","security":[{"bearerAuth":[]}],"tags":["Hello Moon"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"The name given to the subscription for easier identification","example":"Untitled"},"targetType":{"type":"string","enum":["WEBHOOK","WEBSOCKET"],"description":"How the stream information is delivered","example":"WEBHOOK"},"targetValue":{"type":"string","nullable":true,"description":"Only used when targetType === WEBHOOK. This is the endpoint the results will be delivered to via a POST request","example":"https://example.com"},"filter":{"anyOf":[{"type":"object","properties":{"BalanceChange":{"type":"object","properties":{"amount":{"anyOf":[{"type":"object","properties":{"comparator":{"type":"object","properties":{"values":{"type":"string"},"operator":{"type":"string","enum":["==","!=","<","<=",">",">="],"default":"=="}}}}},{"type":"object","properties":{"bound":{"type":"object","properties":{"values":{"type":"string"},"operator":{"type":"string","enum":["between"],"default":"between"}}}}}]},"mint":{"type":"object","properties":{"TEXT":{"type":"array","items":{"type":"object","properties":{"values":{"type":"string"},"operator":{"type":"string","enum":["==","!="],"default":"=="}},"required":["values","operator"]}}}},"isSmartMinter":{"type":"object","properties":{"BOOLEAN":{"type":"array","items":{"type":"object","properties":{"values":{"type":"boolean"}},"required":["values"]}}}}}}}},{"type":"object","properties":{"TokenPrice":{"type":"object","properties":{"mint":{"type":"object","properties":{"values":{"type":"array","items":{"type":"number"}},"operator":{"type":"string","enum":["==","!="],"default":"=="}},"required":["values","operator"]},"price":{"type":"object","properties":{"values":{"type":"array","items":{"type":"number"}},"operator":{"type":"string","enum":["==","!="]}},"required":["values","operator"]}}}},"required":["TokenPrice"]}]},"dataStream":{"type":"string","enum":["BalanceChange","NftCollectionListingStats","NftPrimarySaleWithCollection","NftPrimarySaleWithoutCollection","TokenPrice","TokenSwap","TokenTransfer"],"description":"The stream that the subscription is receiving data from","example":"TokenSwap"}},"required":["name","targetType","dataStream"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The unique identifier for the subscription","example":"ee03ebfa-7477-457c-b5e8-46203fabeeb5"},"name":{"type":"string","description":"The name given to the subscription for easier identification","example":"Untitled"},"dataStream":{"type":"string","enum":["BalanceChange","NftCollectionListingStats","NftPrimarySaleWithCollection","NftPrimarySaleWithoutCollection","TokenPrice","TokenSwap","TokenTransfer"],"description":"The stream that the subscription is receiving data from","example":"TokenSwap"},"filter":{"anyOf":[{"type":"object","properties":{"BalanceChange":{"type":"object","properties":{"amount":{"anyOf":[{"type":"object","properties":{"comparator":{"type":"object","properties":{"values":{"type":"string"},"operator":{"type":"string","enum":["==","!=","<","<=",">",">="],"default":"=="}}}}},{"type":"object","properties":{"bound":{"type":"object","properties":{"values":{"type":"string"},"operator":{"type":"string","enum":["between"],"default":"between"}}}}}]},"mint":{"type":"object","properties":{"TEXT":{"type":"array","items":{"type":"object","properties":{"values":{"type":"string"},"operator":{"type":"string","enum":["==","!="],"default":"=="}},"required":["values","operator"]}}}},"isSmartMinter":{"type":"object","properties":{"BOOLEAN":{"type":"array","items":{"type":"object","properties":{"values":{"type":"boolean"}},"required":["values"]}}}}}}}},{"type":"object","properties":{"TokenPrice":{"type":"object","properties":{"mint":{"type":"object","properties":{"values":{"type":"array","items":{"type":"number"}},"operator":{"type":"string","enum":["==","!="],"default":"=="}},"required":["values","operator"]},"price":{"type":"object","properties":{"values":{"type":"array","items":{"type":"number"}},"operator":{"type":"string","enum":["==","!="]}},"required":["values","operator"]}}}},"required":["TokenPrice"]}]},"dateCreated":{"type":"string","description":"The date that this subscription was created"},"dateLastUpdated":{"type":"string","description":"The date that this subscription was last updated"},"targetType":{"type":"string","enum":["WEBHOOK","WEBSOCKET"],"description":"How the stream information is delivered","example":"WEBHOOK"},"targetValue":{"type":"string","nullable":true,"description":"Only used when targetType === WEBHOOK. This is the endpoint the results will be delivered to via a POST request","example":"https://example.com"}},"required":["id","name","dataStream","dateCreated","dateLastUpdated","targetType","targetValue"]}}}}}}},"/v0/subscriptions/list":{"get":{"summary":"Retrieve the list of streams in your account","description":"Retrieve all the streaming subscriptions associated that have been created in the account","security":[{"bearerAuth":[]}],"tags":["Hello Moon"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The unique identifier for the subscription","example":"ee03ebfa-7477-457c-b5e8-46203fabeeb5"},"name":{"type":"string","description":"The name given to the subscription for easier identification","example":"Untitled"},"dataStream":{"type":"string","enum":["BalanceChange","NftCollectionListingStats","NftPrimarySaleWithCollection","NftPrimarySaleWithoutCollection","TokenPrice","TokenSwap","TokenTransfer"],"description":"The stream that the subscription is receiving data from","example":"TokenSwap"},"filter":{"anyOf":[{"type":"object","properties":{"BalanceChange":{"type":"object","properties":{"amount":{"anyOf":[{"type":"object","properties":{"comparator":{"type":"object","properties":{"values":{"type":"string"},"operator":{"type":"string","enum":["==","!=","<","<=",">",">="],"default":"=="}}}}},{"type":"object","properties":{"bound":{"type":"object","properties":{"values":{"type":"string"},"operator":{"type":"string","enum":["between"],"default":"between"}}}}}]},"mint":{"type":"object","properties":{"TEXT":{"type":"array","items":{"type":"object","properties":{"values":{"type":"string"},"operator":{"type":"string","enum":["==","!="],"default":"=="}},"required":["values","operator"]}}}},"isSmartMinter":{"type":"object","properties":{"BOOLEAN":{"type":"array","items":{"type":"object","properties":{"values":{"type":"boolean"}},"required":["values"]}}}}}}}},{"type":"object","properties":{"TokenPrice":{"type":"object","properties":{"mint":{"type":"object","properties":{"values":{"type":"array","items":{"type":"number"}},"operator":{"type":"string","enum":["==","!="],"default":"=="}},"required":["values","operator"]},"price":{"type":"object","properties":{"values":{"type":"array","items":{"type":"number"}},"operator":{"type":"string","enum":["==","!="]}},"required":["values","operator"]}}}},"required":["TokenPrice"]}]},"dateCreated":{"type":"string","description":"The date that this subscription was created"},"dateLastUpdated":{"type":"string","description":"The date that this subscription was last updated"},"targetType":{"type":"string","enum":["WEBHOOK","WEBSOCKET"],"description":"How the stream information is delivered","example":"WEBHOOK"},"targetValue":{"type":"string","nullable":true,"description":"Only used when targetType === WEBHOOK. This is the endpoint the results will be delivered to via a POST request","example":"https://example.com"}},"required":["id","name","dataStream","dateCreated","dateLastUpdated","targetType","targetValue"]}}}}}}}},"/v0/subscriptions/remove/{id}":{"delete":{"summary":"Delate a subscription","description":"Delete a subscription in your account by id","security":[{"bearerAuth":[]}],"tags":["Hello Moon"],"parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid","description":"The unique identifier for the subscription","example":"ee03ebfa-7477-457c-b5e8-46203fabeeb5"},"required":true}],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"responses":{"204":{"description":"Success"}}}},"/v0/subscriptions/update":{"put":{"summary":"Update a subscription","description":"Update a subscription in your account","security":[{"bearerAuth":[]}],"tags":["Hello Moon"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The unique identifier for the subscription","example":"ee03ebfa-7477-457c-b5e8-46203fabeeb5"},"name":{"type":"string","description":"The name given to the subscription for easier identification","example":"Untitled"},"targetType":{"type":"string","enum":["WEBHOOK","WEBSOCKET"],"description":"How the stream information is delivered","example":"WEBHOOK"},"targetValue":{"type":"string","nullable":true,"description":"Only used when targetType === WEBHOOK. This is the endpoint the results will be delivered to via a POST request","example":"https://example.com"},"filter":{"anyOf":[{"type":"object","properties":{"BalanceChange":{"type":"object","properties":{"amount":{"anyOf":[{"type":"object","properties":{"comparator":{"type":"object","properties":{"values":{"type":"string"},"operator":{"type":"string","enum":["==","!=","<","<=",">",">="],"default":"=="}}}}},{"type":"object","properties":{"bound":{"type":"object","properties":{"values":{"type":"string"},"operator":{"type":"string","enum":["between"],"default":"between"}}}}}]},"mint":{"type":"object","properties":{"TEXT":{"type":"array","items":{"type":"object","properties":{"values":{"type":"string"},"operator":{"type":"string","enum":["==","!="],"default":"=="}},"required":["values","operator"]}}}},"isSmartMinter":{"type":"object","properties":{"BOOLEAN":{"type":"array","items":{"type":"object","properties":{"values":{"type":"boolean"}},"required":["values"]}}}}}}}},{"type":"object","properties":{"TokenPrice":{"type":"object","properties":{"mint":{"type":"object","properties":{"values":{"type":"array","items":{"type":"number"}},"operator":{"type":"string","enum":["==","!="],"default":"=="}},"required":["values","operator"]},"price":{"type":"object","properties":{"values":{"type":"array","items":{"type":"number"}},"operator":{"type":"string","enum":["==","!="]}},"required":["values","operator"]}}}},"required":["TokenPrice"]}]},"dataStream":{"type":"string","enum":["BalanceChange","NftCollectionListingStats","NftPrimarySaleWithCollection","NftPrimarySaleWithoutCollection","TokenPrice","TokenSwap","TokenTransfer"],"description":"The stream that the subscription is receiving data from","example":"TokenSwap"}},"required":["id","name","targetType","dataStream"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The unique identifier for the subscription","example":"ee03ebfa-7477-457c-b5e8-46203fabeeb5"},"name":{"type":"string","description":"The name given to the subscription for easier identification","example":"Untitled"},"dataStream":{"type":"string","enum":["BalanceChange","NftCollectionListingStats","NftPrimarySaleWithCollection","NftPrimarySaleWithoutCollection","TokenPrice","TokenSwap","TokenTransfer"],"description":"The stream that the subscription is receiving data from","example":"TokenSwap"},"filter":{"anyOf":[{"type":"object","properties":{"BalanceChange":{"type":"object","properties":{"amount":{"anyOf":[{"type":"object","properties":{"comparator":{"type":"object","properties":{"values":{"type":"string"},"operator":{"type":"string","enum":["==","!=","<","<=",">",">="],"default":"=="}}}}},{"type":"object","properties":{"bound":{"type":"object","properties":{"values":{"type":"string"},"operator":{"type":"string","enum":["between"],"default":"between"}}}}}]},"mint":{"type":"object","properties":{"TEXT":{"type":"array","items":{"type":"object","properties":{"values":{"type":"string"},"operator":{"type":"string","enum":["==","!="],"default":"=="}},"required":["values","operator"]}}}},"isSmartMinter":{"type":"object","properties":{"BOOLEAN":{"type":"array","items":{"type":"object","properties":{"values":{"type":"boolean"}},"required":["values"]}}}}}}}},{"type":"object","properties":{"TokenPrice":{"type":"object","properties":{"mint":{"type":"object","properties":{"values":{"type":"array","items":{"type":"number"}},"operator":{"type":"string","enum":["==","!="],"default":"=="}},"required":["values","operator"]},"price":{"type":"object","properties":{"values":{"type":"array","items":{"type":"number"}},"operator":{"type":"string","enum":["==","!="]}},"required":["values","operator"]}}}},"required":["TokenPrice"]}]},"dateCreated":{"type":"string","description":"The date that this subscription was created"},"dateLastUpdated":{"type":"string","description":"The date that this subscription was last updated"},"targetType":{"type":"string","enum":["WEBHOOK","WEBSOCKET"],"description":"How the stream information is delivered","example":"WEBHOOK"},"targetValue":{"type":"string","nullable":true,"description":"Only used when targetType === WEBHOOK. This is the endpoint the results will be delivered to via a POST request","example":"https://example.com"}},"required":["id","name","dataStream","dateCreated","dateLastUpdated","targetType","targetValue"]}}}}}}},"/v0/token/balances-by-owner":{"post":{"summary":"Token Balances By Owner","description":"Shows all token balances per owneraccount","security":[{"bearerAuth":[]}],"tags":["DeFi"],"requestBody":{"description":"body","content":{"application/json":{"schema":{"type":"object","properties":{"ownerAccount":{"type":"string","description":"The owner of the token account","example":"bNSBRjWygPzosPrNsw4mbExFyMcxxBY431dz7AXJUb4"}},"required":["ownerAccount"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"mint":{"type":"string","description":"Mint address per the SPL token program.\n > You can also visit https://www.hellomoon.io/id?search=token to search for mints using a user interface.","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"owner":{"type":"string","description":"The owner of the token account","example":"bNSBRjWygPzosPrNsw4mbExFyMcxxBY431dz7AXJUb4"},"amount":{"type":"number","description":"The amount of tokens owned by the ownerAccount for this mint, in native units","example":1000000000}},"required":["mint","owner","amount"]}}}}}}}},"/v0/token/candlesticks":{"post":{"summary":"SPL Token Candlesticks","description":"The **Token Candlesticks** endpoint allows you to choose the candlestick period with the provided granularities of **ONE_MIN**, **FIVE_MIN**, **ONE_HOUR**, **ONE_DAY**, **ONE_WEEK**.\n \n **What values represent a candlestick?**\n > **open**, the floor price at which the period opened\n > **high**, the highest floor price reached during the period\n > **low**, the lowest floor price reached during the period\n > **close**, the floor price at which the period closed\n > **volume**, the sum of defi swaps that occured within the trading period (granularity).","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.\n > You can also visit https://www.hellomoon.io/id?search=token to search for mints using a user interface.","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"startTime":{"anyOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["=","!=",">","<",">=","!="]},"value":{"type":"number","description":"Epoch time in seconds. You can adjust the startTime to look at Historical Stats and Floor Prices.\n For example, startTime < 1622576000 (June 1, 2021) will return NFT Collection Stats before 1622576000.\n \nIf you want to look at historical data, let's say 7 days in the past.\n> 1. _Change the **operator** to <_\n> 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n> 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the **startTime** time from 7 days ago","example":1663747620}},"required":["operator","value"]},{"type":"number","description":"Epoch time in seconds. You can adjust the startTime to look at Historical Stats and Floor Prices.\n For example, startTime < 1622576000 (June 1, 2021) will return NFT Collection Stats before 1622576000.\n \nIf you want to look at historical data, let's say 7 days in the past.\n> 1. _Change the **operator** to <_\n> 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n> 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the **startTime** time from 7 days ago","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"}}]},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/token_price_candlesticks"}}}}}}},"/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 If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","example":1622576000}},"required":["operator","value"]},{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes.\n If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","example":1622576000}]},"mintAuthority":{"type":"string","description":"account owner (public key), given authority to mint new tokens","example":"6Yt334Mfb58ciFAWwQnKW68mGCVTVTn4ZPgjxr4SyZPv"},"mint":{"type":"string","description":"Mint address per the SPL token program.\n > You can also visit https://www.hellomoon.io/id?search=token to search for mints using a user interface.","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"freezeAuthority":{"type":"string","description":"account owner (public key), given authority to freeze token accounts - rendering an Account unusable","example":"6Yt334Mfb58ciFAWwQnKW68mGCVTVTn4ZPgjxr4SyZPv"},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/tokencreationv2"}}}}}}},"/v0/token/cumulative-volume":{"post":{"summary":"Cumulative Token Volume","description":"Cumulative swap volume for a specific token mint","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.\n > You can also visit https://www.hellomoon.io/id?search=token to search for mints using a user interface.","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/cumulative_token_volume"}}}}}}},"/v0/token/daily_active_users":{"post":{"summary":"Token Users Over Time","description":"\n Shows the number of users of a token over time.\n - a user is defined as having sent or received this token on the day specified.\n ","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"},"mint":{"type":"string","description":"Mint address per the SPL token program.\n > You can also visit https://www.hellomoon.io/id?search=token to search for mints using a user interface.","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/defi_token_users_daily"}}}}}}},"/v0/token/daily_new_purchases":{"post":{"summary":"Token New Users Over Time","description":"Shows count of new publickeys either sending or recieiving a token mint over time per day.","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"},"mint":{"type":"string","description":"Mint address per the SPL token program.\n > You can also visit https://www.hellomoon.io/id?search=token to search for mints using a user interface.","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/defi_token_net_new_purchases"}}}}}}},"/v0/token/list":{"post":{"summary":"SPL Token List","description":"List of SPL tokens on Solana with on-chain metadata such as name, symbol, and decimals","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.\n > You can also visit https://www.hellomoon.io/id?search=token to search for mints using a user interface.","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"},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/spl_token_list"}}}}}}},"/v0/token/price":{"post":{"summary":"Latest Token Price","description":"\n The **Latest Token Price** endpoint provides the latest token price and volume for a SPL Token. \n\n > To find the correct mint, **[click here](https://www.hellomoon.io/id?search=token)** and search for a token name. This list is continuously updated.\n ","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.\n > You can also visit https://www.hellomoon.io/id?search=token to search for mints using a user interface.","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"mint":{"type":"string","description":"Mint address per the SPL token program.\n > You can also visit https://www.hellomoon.io/id?search=token to search for mints using a user interface.","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"price":{"type":"number","description":"The token price of the mint in its native units.\n > To convert to USDC ( stablecoin pegged to the US Dollar ), price * (10 ^ 6).","example":23506133},"volume":{"type":"number","description":"The current volume, **sum of transactions** moved in the last minute by the token price.","example":1225891986493},"startTime":{"type":"number","description":"Epoch time in seconds. You can adjust the startTime to look at Historical Stats and Floor Prices.\n For example, startTime < 1622576000 (June 1, 2021) will return NFT Collection Stats before 1622576000.\n \nIf you want to look at historical data, let's say 7 days in the past.\n> 1. _Change the **operator** to <_\n> 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n> 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the **startTime** time from 7 days ago","example":1663747620}},"required":["mint","price","volume","startTime"]}}},"required":["data"]}}}}}}},"/v0/token/stats":{"post":{"summary":"SPL Token Stats","description":"\r\n SPL Token stats contains descriptive statistics on SPL tokens and metadata such as decimals and symbol looking back over various granularities such as\r\n- active users\r\n- new users\r\n- deposits / withdrawals\r\n- sellers \r\n- buyers\r\n- volume\r\n- volumeChange\r\n ","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.\n > You can also visit https://www.hellomoon.io/id?search=token to search for mints using a user interface.","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},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/defi_token_leaderboard_v3"}}}}}}},"/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 base-58 encoded 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 If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","example":1622576000}},"required":["operator","value"]},{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes.\n If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","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.\n > You can also visit https://www.hellomoon.io/id?search=token to search for mints using a user interface.","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}]},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"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 base-58 encoded 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 If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","example":1622576000}},"required":["operator","value"]},{"type":"number","description":"Unix epoch time (in seconds) of a block as calculated from validator votes.\n If you want to look at historical data, let's say 7 days in the past.\n 1. _Change the **operator** to <_\n 2. Get the **current epochtime** i.e, 1673831466 -> Jan 15, 2023\n 3. Subtract the current epochtime from **( 86400 * 7 )**. Place the result of 1673831466 - ( 86400 * 7 ) = **1673226666** in the value input - this returns the epochtime time from 7 days ago","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.\n > You can also visit https://www.hellomoon.io/id?search=token to search for mints using a user interface.","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"limit":{"type":"number","minimum":1,"maximum":1000,"description":"The number of results to return per page","example":50},"page":{"type":"number","minimum":1,"description":"The page number to return","example":1},"paginationToken":{"type":"string","description":"The pagination token to use to keep your position in the results","example":"eyJibG9ja0lkIjoiMTczNDU3NzU5IiwidHJhbnNhY3Rpb25JZCI6IjRZM3NpR0U4WER0cmFaTWtuR1d2cnZvdlJCSFFWQnpmaWtnN3ZuTExOZlNmSmROalpDMmllM2V1OHI0M1pmdTlhM1l3bWtLVExRaGNqZkczdmZnWjlEOGcifQ="}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/token_transfers_with_owner"}}}}}}}}}
@shackra
Copy link

shackra commented Jan 7, 2024

Why don't you guys offer this OpenAPI data on https://docs.hellomoon.io/? It would make building clients for the API in other programming languages easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment