- Kotlin 1.4.30
- Gradle 6.8.3
First, create the gradle wrapper script:
gradle wrapper
Then, run:
./gradlew check assemble
This runs all tests and packages the library.
- Supports JSON inputs/outputs, File inputs, and Form inputs.
- Supports collection formats for query parameters: csv, tsv, ssv, pipes.
- Some Kotlin and Java types are fully qualified to avoid conflicts with types defined in OpenAPI definitions.
- Implementation of ApiClient is intended to reduce method counts, specifically to benefit Android targets.
All URIs are relative to https://api.blockchainapi.com/v1
Class | Method | HTTP request | Description |
---|---|---|---|
CCPaymentApi | getCCPayment | GET /checkout/v1/project/{project_id}/payment/{payment_identifier} | Get a payment |
CCPaymentApi | listAllCCPayments | GET /checkout/v1/payments | List all payments |
CCPaymentApi | listCCProjectPayments | GET /checkout/v1/project/{project_id}/payments | List a project's payments |
CCProjectApi | createCCProject | POST /checkout/v1/project | Create a project |
CCProjectApi | deleteCCProject | DELETE /checkout/v1/project/{project_id} | Delete a project |
CCProjectApi | getCCProject | GET /checkout/v1/project/{project_id} | Get a project |
CCProjectApi | listCCProjects | GET /checkout/v1/projects | List projects |
CCProjectApi | updateCCProject | PUT /checkout/v1/project/{project_id} | Update a project |
CCWebhookApi | getCCWebhook | POST /webhook/v1/project/{project_id}/webhook/{webhook_identifier} | Get a webhook |
CCWebhookApi | listCCProjectWebhooks | POST /webhook/v1/project/{project_id}/webhooks | List project's webhooks |
CCWebhookApi | validateCCWebhook | POST /webhook/v1/project/{project_id}/webhook/{webhook_identifier}/validate | Validate a webhook |
NameServiceApi | getBlockchainIdentifierFromName | POST /{blockchain}/{network}/name_service/name_to_blockchain_identifier | Get the identifier |
NameServiceApi | getNameForBlockchainIdentifier | POST /{blockchain}/{network}/name_service/blockchain_identifier_to_name | Get the name |
SolanaAccountApi | solanaGetAccount | GET /solana/account/{network}/{public_key} | Get the details of an account on Solana |
SolanaAccountApi | solanaGetAccountIsCandyMachine | GET /solana/account/{network}/{public_key}/is_candy_machine | Get if account is candy machine |
SolanaAccountApi | solanaGetAccountIsNFT | GET /solana/account/{network}/{public_key}/is_nft | Get if account is NFT |
SolanaCandyMachineApi | solanaGetAllNFTsFromCandyMachine | GET /solana/nft/candy_machine/{network}/{candy_machine_id}/nfts | Get CM's NFTs |
SolanaCandyMachineApi | solanaGetCandyMachineMetadata | POST /solana/nft/candy_machine/metadata | Get a CM's metadata |
SolanaCandyMachineApi | solanaListAllCandyMachines | GET /solana/nft/candy_machine/list | List all CMs |
SolanaCandyMachineApi | solanaSearchCandyMachines | POST /solana/nft/candy_machine/search | Search CMs |
SolanaNFTApi | solanaCreateNFT | POST /solana/nft | Create an NFT on Solana |
SolanaNFTApi | solanaGetNFT | GET /solana/nft/{network}/{mint_address} | Get an NFT's metadata |
SolanaNFTApi | solanaGetNFTMintFee | GET /solana/nft/mint/fee | Get the NFT mint fee |
SolanaNFTApi | solanaGetNFTOwner | GET /solana/nft/{network}/{mint_address}/owner | Get owner of an NFT |
SolanaNFTApi | solanaGetNFTOwnerAdvanced | GET /solana/nft/{network}/{mint_address}/owner_advanced | Get owner of an NFT (advanced) |
SolanaNFTApi | solanaGetNFTsCandyMachineId | POST /solana/nft/candy_machine_id | Get the ID of the candy machine of an NFT |
SolanaNFTApi | solanaSearchNFTs | POST /solana/nft/search | Search NFTs on Solana |
SolanaSPLTokenApi | solanaGetSPLToken | GET /solana/spl-token/{network}/{public_key} | Get SPL token metadata |
SolanaTransactionApi | solanaGetTransaction | GET /solana/transaction/{network}/{tx_signature} | Get the details of a transaction made on Solana |
SolanaWalletApi | solanaDeriveAssociatedTokenAccountAddress | GET /solana/wallet/{public_key}/associated_token_account/{mint_address} | Derive an associated token account address |
SolanaWalletApi | solanaDerivePrivateKey | POST /solana/wallet/private_key | Derive private key |
SolanaWalletApi | solanaDerivePublicKey | POST /solana/wallet/public_key | Derive public key |
SolanaWalletApi | solanaGeneratePrivateKey | POST /solana/wallet/generate/private_key | Generate private key |
SolanaWalletApi | solanaGenerateSecretRecoveryPhrase | POST /solana/wallet/generate/secret_recovery_phrase | Generate secret phrase |
SolanaWalletApi | solanaGetAirdrop | POST /solana/wallet/airdrop | Get an airdrop on devnet |
SolanaWalletApi | solanaGetBalance | POST /solana/wallet/balance | Get wallet's balance in SOL or any SPL |
SolanaWalletApi | solanaGetNFTsBelongingToWallet | GET /solana/wallet/{network}/{public_key}/nfts | Get address's NFTs |
SolanaWalletApi | solanaGetTokensBelongingToWallet | GET /solana/wallet/{network}/{public_key}/tokens | Get address's tokens and respective balances |
SolanaWalletApi | solanaGetWalletTransactions | GET /solana/wallet/{network}/{public_key}/transactions | Get address's associated transaction signatures |
SolanaWalletApi | solanaTransfer | POST /solana/wallet/transfer | Transfer SOL, a token, or an NFT to another address |
TokenApi | getTokenMetadata | GET /{blockchain}/{network}/token/{token_blockchain_identifier} | Get a token's metadata |
TokenApi | listAllTokens | GET /{blockchain}/{network}/all_tokens | List all tokens |
TransactionApi | getTransaction | GET /{blockchain}/transaction/{network}/{transaction_blockchain_identifier} | Get the details of a transaction made on a blockchain |
WalletApi | derivePrivateKey | POST /{blockchain}/wallet/private_key | Derive private key |
WalletApi | deriveWalletIdentifier | POST /{blockchain}/wallet/identifier | Derive wallet identifier |
WalletApi | generatePrivateKey | POST /{blockchain}/wallet/generate/private_key | Generate private key |
WalletApi | generateSeedPhrase | POST /{blockchain}/wallet/generate/secret_recovery_phrase | Generate seed phrase |
WalletApi | getAirdrop | POST /{blockchain}/wallet/airdrop | Get an airdrop |
WalletApi | getBalance | POST /{blockchain}/wallet/balance | Get wallet's balance of X |
WalletApi | transfer | POST /{blockchain}/wallet/transfer | Transfer crypto, a token, or an NFT to another wallet |
- org.openapitools.client.models.ATAResponse
- org.openapitools.client.models.Account
- org.openapitools.client.models.AccountContext
- org.openapitools.client.models.AccountIsCandyMachine
- org.openapitools.client.models.AccountIsNFT
- org.openapitools.client.models.AccountValue
- org.openapitools.client.models.AirdropRequest
- org.openapitools.client.models.AvalancheCChainPublicAddress
- org.openapitools.client.models.AvalancheXPChainPublicAddress
- org.openapitools.client.models.B58PrivateKey
- org.openapitools.client.models.BSCPublicAddress
- org.openapitools.client.models.BalanceRequest
- org.openapitools.client.models.BalanceResponse
- org.openapitools.client.models.CCPayment
- org.openapitools.client.models.CCPaymentBlockchainPaymentDetails
- org.openapitools.client.models.CCProject
- org.openapitools.client.models.CCProjectCreateRequest
- org.openapitools.client.models.CCProjectCreateRequestCustomerIdToCollect
- org.openapitools.client.models.CCProjectCreateRequestPayoutMethod
- org.openapitools.client.models.CCWebhook
- org.openapitools.client.models.CCWebhookValidateRequest
- org.openapitools.client.models.CandyMachineSearchRequest
- org.openapitools.client.models.DoubleTransferResponse
- org.openapitools.client.models.EthereumPublicAddress
- org.openapitools.client.models.EthereumTransaction
- org.openapitools.client.models.EthereumTransactionCompiledResponse
- org.openapitools.client.models.EthereumTransactionMadeResponse
- org.openapitools.client.models.FeePayerWallet
- org.openapitools.client.models.GeneralAirdropRequest
- org.openapitools.client.models.GeneralB58PrivateKey
- org.openapitools.client.models.GeneralBalanceRequest
- org.openapitools.client.models.GeneralBalanceResponse
- org.openapitools.client.models.GeneralFeePayerWallet
- org.openapitools.client.models.GeneralGeneratePrivateKeyResponse
- org.openapitools.client.models.GeneralPrivateKey
- org.openapitools.client.models.GeneralSecretPhrase
- org.openapitools.client.models.GeneralSecretRecoveryPhrase
- org.openapitools.client.models.GeneralTransaction
- org.openapitools.client.models.GeneralTransactionMadeResponse
- org.openapitools.client.models.GeneralTransactionResponse
- org.openapitools.client.models.GeneralTransferRequest
- org.openapitools.client.models.GeneralWallet
- org.openapitools.client.models.GeneratePrivateKey
- org.openapitools.client.models.GenerateSeedPhraseRequest
- org.openapitools.client.models.GetAllNFTsResponse
- org.openapitools.client.models.GetAllNFTsResponseMintedNfts
- org.openapitools.client.models.GetAllNFTsResponseUnmintedNfts
- org.openapitools.client.models.GetCandyMachineIDRequest
- org.openapitools.client.models.GetCandyMachineIDResponse
- org.openapitools.client.models.GetCandyMetadataErrorResponse
- org.openapitools.client.models.GetCandyMetadataRequest
- org.openapitools.client.models.GetCandyMetadataResponse
- org.openapitools.client.models.GetCandyMetadataResponseCreators
- org.openapitools.client.models.GetPublicKeyRequest
- org.openapitools.client.models.GetSPLTokenResponse
- org.openapitools.client.models.HexPrivateKey
- org.openapitools.client.models.InputBlockchainIdentifier
- org.openapitools.client.models.InputName
- org.openapitools.client.models.ListNFTsResponse
- org.openapitools.client.models.NFT
- org.openapitools.client.models.NFTCollection
- org.openapitools.client.models.NFTData
- org.openapitools.client.models.NFTMintErrorResponse
- org.openapitools.client.models.NFTMintFee
- org.openapitools.client.models.NFTMintRequest
- org.openapitools.client.models.NFTOwnerAdvancedResponse
- org.openapitools.client.models.NFTOwnerAdvancedResponseContract
- org.openapitools.client.models.NFTOwnerResponse
- org.openapitools.client.models.NFTSearchRequest
- org.openapitools.client.models.NFTSearchResponse
- org.openapitools.client.models.NearPublicKey
- org.openapitools.client.models.PrivateKey
- org.openapitools.client.models.PublicKey
- org.openapitools.client.models.SecretPhrase
- org.openapitools.client.models.SecretRecoveryPhrase
- org.openapitools.client.models.SolanaPublicKey
- org.openapitools.client.models.SolanaTransaction
- org.openapitools.client.models.SolanaTransactionCompiledResponse
- org.openapitools.client.models.SolanaTransactionMadeResponse
- org.openapitools.client.models.SupplyWalletRequest
- org.openapitools.client.models.TokenMetadataResponse
- org.openapitools.client.models.Transaction
- org.openapitools.client.models.TransactionResult
- org.openapitools.client.models.TransferRequest
- org.openapitools.client.models.TransferResponse
- org.openapitools.client.models.TransferResponseCompiled
- org.openapitools.client.models.Wallet
- org.openapitools.client.models.WalletIdentifiers
- Type: API key
- API key parameter name: APIKeyID
- Location: HTTP header
- Type: API key
- API key parameter name: APISecretKey
- Location: HTTP header