Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🚀 Preview Deployment✅ Deployment Ready 🔗 Preview URL: https://pr-626-midnight-docs.vercel.app 📝 Latest commit: This preview updates automatically when you push new commits to this PR. |
|
@DianaHackmamba Thanks for the feedback. Changes have been implemented. Ps: I replaced the v1 schema file in the static folder on the docs repo with the latest v3 schema |
|
|
||
| Subscribes to unshielded transaction events for a specific address. Emits events whenever transactions involve unshielded UTXOs for the given address. | ||
|
|
||
| **Parameters**: |
There was a problem hiding this comment.
Do not use bold text as headings. Apply throughout.
| ### Regenerating the Schema | ||
| ## Regenerate the schema | ||
|
|
||
| If you're using the Indexer API and modify the code defining the GraphQL schema, you'll need to regenerate the schema file. |
There was a problem hiding this comment.
| If you're using the Indexer API and modify the code defining the GraphQL schema, you'll need to regenerate the schema file. | |
| If you're using the Indexer API and modify the code defining the GraphQL schema, then you'll need to regenerate the schema file. |
| ## Example queries and mutations | ||
|
|
||
| :::note | ||
| These are examples only. Refer to the [schema file](https://github.com/midnightntwrk/midnight-indexer/blob/release/3.0.0/indexer-api/graphql/schema-v3.graphql) to confirm exact field names and structures. |
| ::: | ||
|
|
||
| **Example:** | ||
| **Example (by hash)**: |
There was a problem hiding this comment.
Do not use bold text as headings. Apply throughout.
| ``` | ||
|
|
||
| **Example (by block height):** | ||
| **Example (by block height)**: |
There was a problem hiding this comment.
Rewrite these without parentheses.
|
|
||
| The `currentCapacity` field represents the maximum DUST generation capacity based on the Night UTXO balance and elapsed time. This value: | ||
| - Is accurate until the first DUST fee payment. | ||
| - May be higher than actual balance after fee payments. |
There was a problem hiding this comment.
| - May be higher than actual balance after fee payments. | |
| - Might be higher than actual balance after fee payments. |
There was a problem hiding this comment.
Periods are not needed in this list.
|
|
||
| All contract action types include an `unshieldedBalances` field that returns the token balances held by the contract: | ||
|
|
||
| - **ContractDeploy**: Always returns empty balances (contracts are deployed with zero balance). |
There was a problem hiding this comment.
Rewrite the list without parentheses.
| All contract action types include an `unshieldedBalances` field that returns the token balances held by the contract: | ||
|
|
||
| - **ContractDeploy**: Always returns empty balances (contracts are deployed with zero balance). | ||
| - **ContractCall**: Returns balances after the call execution (may be modified by `unshielded_inputs`/`unshielded_outputs`). |
There was a problem hiding this comment.
| - **ContractCall**: Returns balances after the call execution (may be modified by `unshielded_inputs`/`unshielded_outputs`). | |
| - **ContractCall**: Returns balances after the call execution (might be modified by `unshielded_inputs`/`unshielded_outputs`). |
| ### DustGenerationStatus | ||
|
|
||
| DUST generation status for a Cardano stake key: | ||
| - `cardanoRewardAddress`: The Bech32-encoded Cardano stake address (e.g., stake_test1... or stake1...) |
There was a problem hiding this comment.
Do not use e.g. Rewrite.
Reference: https://github.com/midnightntwrk/midnight-indexer/blob/release/3.0.0/docs/api/v3/api-documentation.md