All URIs are relative to https://testnet.mvcapi.com
Method | HTTP request | Description |
---|---|---|
tx_broadcast_batch_post | POST /tx/broadcast/batch | Broadcast a batch of tx to MvcApi fullnode. This endpoint use rpc sendrawtransactions. |
tx_broadcast_post | POST /tx/broadcast | Broadcast tx to MvcApi fullnode. |
tx_txid_get | GET /tx/{txid} | Get transaction detail by specific txid. |
tx_txid_raw_get | GET /tx/{txid}/raw | Get transaction raw hex by specific txid. |
tx_txid_seen_get | GET /tx/{txid}/seen | Whether MvcApi have seen this tx before. This is a fast approach to know if the tx exist or not. |
vin_txid_detail_get | GET /vin/{txid}/detail | Get all output point of vins in the tx with detailed output script. |
crate::models::BatchBroadcastResult tx_broadcast_batch_post(tx_raw) Broadcast a batch of tx to MvcApi fullnode. This endpoint use rpc sendrawtransactions.
This api will broadcast to MvcApi fullnode directly.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
tx_raw | Option<Veccrate::models::TxRaw> |
crate::models::BatchBroadcastResult
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::BroadcastResult tx_broadcast_post(tx_raw) Broadcast tx to MvcApi fullnode.
This api will broadcast to MvcApi fullnode directly. This endpoint use rpc sendrawtransaction.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
tx_raw | Option<TxRaw> |
crate::models::BroadcastResult
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::TxDetail tx_txid_get(txid, show_script) Get transaction detail by specific txid.
This api is parsed from raw hex, you can use /tx/{txid}/raw to parse tx by yourself, If you want detail input info, use '/vin/{txid}' to get detailed input info including address and value.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
txid | String | the request ID to search, txhash | [required] | |
show_script | Option<bool> | Return source script code or not (default false). |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::TxRaw tx_txid_raw_get(txid) Get transaction raw hex by specific txid.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
txid | String | the request ID to search, txhash | [required] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
bool tx_txid_seen_get(txid) Whether MvcApi have seen this tx before. This is a fast approach to know if the tx exist or not.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
txid | String | the request ID to search, txhash | [required] |
bool
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Veccrate::models::OutputInfoDetail vin_txid_detail_get(txid) Get all output point of vins in the tx with detailed output script.
Search output points by spent txid. Use this api to get detailed inputs for the tx.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
txid | String | The txid of the vins | [required] |
Veccrate::models::OutputInfoDetail
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]