Skip to content

Instantly share code, notes, and snippets.

View hankc97's full-sized avatar
🤓

Hank hankc97

🤓
View GitHub Profile
{"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
{"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
{"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
{"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
{"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
{"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
{"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
{"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
{"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
{"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