API definition for MicrovisionChain provided apis
This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.
- API version: 3.0.8
- Package version:
- Build package: org.openapitools.codegen.languages.Swift5ClientCodegen
Run carthage update
Run pod install
All URIs are relative to https://testnet.mvcapi.com
Class | Method | HTTP request | Description |
---|---|---|---|
AddressAPI | addressAddressBalanceGet | GET /address/{address}/balance | Get address balance by specific address. |
AddressAPI | addressAddressTxGet | GET /address/{address}/tx | Get address history by specific address(recent 10 days available). |
AddressAPI | addressAddressUtxoGet | GET /address/{address}/utxo | Get address utxos by specific address(100 per page). |
BlockAPI | blockBlockIdGet | GET /block/{blockId} | Get block request by height or hash |
BlockAPI | blockGet | GET /block | Get recent block list by paging. 30 items per page. |
BlockAPI | blockInfoGet | GET /block/info | Get current blockchain info from full node. |
ContractAPI | contractFtAddressAddressBalanceConfirmedGet | GET /contract/ft/address/{address}/balance/confirmed | Get all contract token balances for specific address ignoring all unconfirmed txs. |
ContractAPI | contractFtAddressAddressBalanceGet | GET /contract/ft/address/{address}/balance | Get all contract token balances for specific address. |
ContractAPI | contractFtAddressAddressCodeHashGenesisTxGet | GET /contract/ft/address/{address}/{codeHash}/{genesis}/tx | Get all contract token balances for specific address. |
ContractAPI | contractFtAddressAddressUtxoGet | GET /contract/ft/address/{address}/utxo | Get all contract token utxos for specific address. |
ContractAPI | contractNftAddressAddressCountConfirmedGet | GET /contract/nft/address/{address}/count/confirmed | Get confirmed utxo count for specific nft(ignore all unconfirmed txs). |
ContractAPI | contractNftAddressAddressSummaryGet | GET /contract/nft/address/{address}/summary | Get nft summary(NFT count group by genesis) for address. |
ContractAPI | contractNftAddressAddressUtxoGet | GET /contract/nft/address/{address}/utxo | Get all contract nft token utxos for specific address. |
ContractAPI | contractNftGenesisCodeHashGenesisSummaryGet | GET /contract/nft/genesis/{codeHash}/{genesis}/summary | Get nft summary(count group by address) for specific codeHash and genesisId(result cached for 60s). |
ContractAPI | contractNftGenesisCodeHashGenesisUtxoGet | GET /contract/nft/genesis/{codeHash}/{genesis}/utxo | Get all contract nft token utxos by codeHash and genesisId. |
ContractAPI | contractNftSellAddressAddressUtxoGet | GET /contract/nft/sell/address/{address}/utxo | Get all contract sell sell utxos for specific address. |
ContractAPI | contractNftSellGenesisCodeHashGenesisUtxoGet | GET /contract/nft/sell/genesis/{codeHash}/{genesis}/utxo | Get all contract nft token utxos by codeHash and genesisId. |
ContractAPI | contractUniqueGenesisCodeHashGenesisUtxoGet | GET /contract/unique/genesis/{codeHash}/{genesis}/utxo | Get contract unique utxos by codeHash and genesisId. |
MerchantAPI | merchantUtxoPost | POST /merchant/utxo | Pick utxos by addresses and amount. |
OutpointAPI | outpointTxidIndexGet | GET /outpoint/{txid}/{index} | Get tx output(outpoint for vin) spent status. |
TreasuryAPI | treasuryGet | GET /treasury | Get current treasury info. |
TreasuryAPI | treasuryHistoryGet | GET /treasury/history | Get all treasury history. |
TxAPI | txBroadcastBatchPost | POST /tx/broadcast/batch | Broadcast a batch of tx to MvcApi fullnode. This endpoint use rpc sendrawtransactions. |
TxAPI | txBroadcastPost | POST /tx/broadcast | Broadcast tx to MvcApi fullnode. |
TxAPI | txTxidGet | GET /tx/{txid} | Get transaction detail by specific txid. |
TxAPI | txTxidRawGet | GET /tx/{txid}/raw | Get transaction raw hex by specific txid. |
TxAPI | txTxidSeenGet | GET /tx/{txid}/seen | Whether MvcApi have seen this tx before. This is a fast approach to know if the tx exist or not. |
TxAPI | vinTxidDetailGet | GET /vin/{txid}/detail | Get all output point of vins in the tx with detailed output script. |
XpubAPI | xpubLiteXpubAddressAddressGet | GET /xpubLite/{xpub}/address/{address} | Get xpub address type and index. Only index under /0/70 /1/30 is valid. Otherwise not found. |
XpubAPI | xpubLiteXpubBalanceGet | GET /xpubLite/{xpub}/balance | Get xpub balances including confirmed and unconfirmed. |
XpubAPI | xpubLiteXpubUtxoGet | GET /xpubLite/{xpub}/utxo | Get xpub utxos by specific xpub(300 per page). |
- AddressBalance
- AddressTx
- AddressUtxo
- AsyncBroadcastResult
- BatchBroadcastResult
- BlockHeaderIndex
- BlockHeaderPage
- BlockTx
- BlockchainInfo
- BroadcastResult
- ClientPubkeyRequest
- ClientPubkeyResult
- ContractFtAddressTx
- ContractFtBalance
- ContractFtUtxo
- ContractNftAddressSummary
- ContractNftAuctionUtxo
- ContractNftGenesisSummary
- ContractNftSellUtxo
- ContractNftSellV2Utxo
- ContractNftUtxo
- ContractUniqueUtxo
- InvalidBroadCast
- InvalidBroadcastCollide
- ModelErrorResponse
- OutputInfo
- OutputInfoDetail
- TreasuryHistory
- TreasuryInfo
- TxDetail
- TxInput
- TxOutput
- TxRaw
- UtxoPickRequest
- XPubTransaction
- XpubAddress
- XpubBalance
- XpubDetail
- XpubLiteBalance
- XpubRequest
- XpubResult
- XpubUtxo
- Type: HTTP basic authentication