> For the complete documentation index, see [llms.txt](https://docs.stacks.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stacks.co/reference/api/usdcx-bridge/internal.md).

# Internal

## POST /{networkStr}/withdrawals

> Create a withdrawal

```json
{"openapi":"3.0.3","info":{"title":"USDCx API","version":"1.0.0"},"tags":[],"servers":[{"url":"https://api.usdc-on-stacks.com","description":"USDCx API Server"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}}},"paths":{"/{networkStr}/withdrawals":{"post":{"tags":["Internal"],"summary":"Create a withdrawal","parameters":[{"name":"networkStr","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"burnEventData":{"type":"object","properties":{"amount":{"type":"string"},"nativeDomain":{"type":"string"},"nativeRecipient":{"type":"string"},"sender":{"type":"string"},"topic":{"const":"burn"}},"required":["amount","nativeDomain","nativeRecipient","sender","topic"]},"burnIntent":{"type":"object","properties":{"maxBlockHeight":{"type":"string"},"maxFee":{"type":"string"},"spec":{"type":"object","properties":{"destinationCaller":{"type":"string"},"destinationContract":{"type":"string"},"destinationDomain":{"type":"number"},"destinationRecipient":{"type":"string"},"destinationToken":{"type":"string"},"hookData":{"type":"object","properties":{"forwardingCalldata":{"type":"string"},"forwardingContractAddress":{"type":"string"},"remoteDepositor":{"type":"string"},"remoteDomain":{"type":"number"},"remoteToken":{"type":"string"}},"required":["forwardingCalldata","forwardingContractAddress","remoteDepositor","remoteDomain","remoteToken"]},"salt":{"type":"string"},"sourceContract":{"type":"string"},"sourceDepositor":{"type":"string"},"sourceDomain":{"type":"number"},"sourceSigner":{"type":"string"},"sourceToken":{"type":"string"},"value":{"type":"string"},"version":{"type":"number"}},"required":["destinationCaller","destinationContract","destinationDomain","destinationRecipient","destinationToken","hookData","salt","sourceContract","sourceDepositor","sourceDomain","sourceSigner","sourceToken","value","version"]}},"required":["maxBlockHeight","maxFee","spec"]},"burnTxid":{"type":"string","pattern":"^0x[0-9a-fA-F]*$"},"circleResponse":{"type":"object","properties":{"burnTxId":{"type":"string","description":"The transaction hash of the burn on the remote network"},"status":{"anyOf":[{"const":"confirmed","description":"The status of the withdrawal.\n'created': Withdrawal created but burn transaction on the remote network not yet verified.\n'verified': Burn transaction on the remote network verified successfully, attestation available but not yet submitted on chain.\n'confirmed': Attestation submitted on-chain but transaction not yet finalized.\n'finalized': Transaction finalized successfully (terminal state).\n'expired': Attestation expired before being used (terminal state, retryable in most cases).\n'failed': Verification failed, withdrawal cannot proceed (terminal state, non-retryable in most cases)."},{"const":"created","description":"The status of the withdrawal.\n'created': Withdrawal created but burn transaction on the remote network not yet verified.\n'verified': Burn transaction on the remote network verified successfully, attestation available but not yet submitted on chain.\n'confirmed': Attestation submitted on-chain but transaction not yet finalized.\n'finalized': Transaction finalized successfully (terminal state).\n'expired': Attestation expired before being used (terminal state, retryable in most cases).\n'failed': Verification failed, withdrawal cannot proceed (terminal state, non-retryable in most cases)."},{"const":"expired","description":"The status of the withdrawal.\n'created': Withdrawal created but burn transaction on the remote network not yet verified.\n'verified': Burn transaction on the remote network verified successfully, attestation available but not yet submitted on chain.\n'confirmed': Attestation submitted on-chain but transaction not yet finalized.\n'finalized': Transaction finalized successfully (terminal state).\n'expired': Attestation expired before being used (terminal state, retryable in most cases).\n'failed': Verification failed, withdrawal cannot proceed (terminal state, non-retryable in most cases)."},{"const":"failed","description":"The status of the withdrawal.\n'created': Withdrawal created but burn transaction on the remote network not yet verified.\n'verified': Burn transaction on the remote network verified successfully, attestation available but not yet submitted on chain.\n'confirmed': Attestation submitted on-chain but transaction not yet finalized.\n'finalized': Transaction finalized successfully (terminal state).\n'expired': Attestation expired before being used (terminal state, retryable in most cases).\n'failed': Verification failed, withdrawal cannot proceed (terminal state, non-retryable in most cases)."},{"const":"finalized","description":"The status of the withdrawal.\n'created': Withdrawal created but burn transaction on the remote network not yet verified.\n'verified': Burn transaction on the remote network verified successfully, attestation available but not yet submitted on chain.\n'confirmed': Attestation submitted on-chain but transaction not yet finalized.\n'finalized': Transaction finalized successfully (terminal state).\n'expired': Attestation expired before being used (terminal state, retryable in most cases).\n'failed': Verification failed, withdrawal cannot proceed (terminal state, non-retryable in most cases)."},{"const":"verified","description":"The status of the withdrawal.\n'created': Withdrawal created but burn transaction on the remote network not yet verified.\n'verified': Burn transaction on the remote network verified successfully, attestation available but not yet submitted on chain.\n'confirmed': Attestation submitted on-chain but transaction not yet finalized.\n'finalized': Transaction finalized successfully (terminal state).\n'expired': Attestation expired before being used (terminal state, retryable in most cases).\n'failed': Verification failed, withdrawal cannot proceed (terminal state, non-retryable in most cases)."}],"description":"The status of the withdrawal.\n'created': Withdrawal created but burn transaction on the remote network not yet verified.\n'verified': Burn transaction on the remote network verified successfully, attestation available but not yet submitted on chain.\n'confirmed': Attestation submitted on-chain but transaction not yet finalized.\n'finalized': Transaction finalized successfully (terminal state).\n'expired': Attestation expired before being used (terminal state, retryable in most cases).\n'failed': Verification failed, withdrawal cannot proceed (terminal state, non-retryable in most cases)."},"transferSpecHashes":{"type":"array","description":"List of transfer spec hashes for all withdraw intents in the group","items":{"type":"string"}},"useCircleForwarding":{"type":"boolean","description":"Whether Circle should submit the transaction to release funds on the destination"},"withdrawalId":{"type":"string","description":"The unique identifier of the withdrawal group"},"attestation":{"type":"string","description":"The Circle attestation signature"},"attestationPayload":{"type":"string","description":"The full attestation encoding/payload"},"failureReason":{"type":"string","description":"The reason for failure when status is 'failed'. Currently only 'verification_failed' is returned when burn transaction verification fails."},"transactionHash":{"type":"string","description":"The hash of the forwarding transaction"}},"required":["burnTxId","status","transferSpecHashes","useCircleForwarding","withdrawalId"]},"eventIndex":{"type":"number"},"withdrawalId":{"type":"string"}},"required":["burnEventData","burnIntent","burnTxid","circleResponse","eventIndex","withdrawalId"]}},"application/x-www-form-urlencoded":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"burnEventData":{"type":"object","properties":{"amount":{"type":"string"},"nativeDomain":{"type":"string"},"nativeRecipient":{"type":"string"},"sender":{"type":"string"},"topic":{"const":"burn"}},"required":["amount","nativeDomain","nativeRecipient","sender","topic"]},"burnIntent":{"type":"object","properties":{"maxBlockHeight":{"type":"string"},"maxFee":{"type":"string"},"spec":{"type":"object","properties":{"destinationCaller":{"type":"string"},"destinationContract":{"type":"string"},"destinationDomain":{"type":"number"},"destinationRecipient":{"type":"string"},"destinationToken":{"type":"string"},"hookData":{"type":"object","properties":{"forwardingCalldata":{"type":"string"},"forwardingContractAddress":{"type":"string"},"remoteDepositor":{"type":"string"},"remoteDomain":{"type":"number"},"remoteToken":{"type":"string"}},"required":["forwardingCalldata","forwardingContractAddress","remoteDepositor","remoteDomain","remoteToken"]},"salt":{"type":"string"},"sourceContract":{"type":"string"},"sourceDepositor":{"type":"string"},"sourceDomain":{"type":"number"},"sourceSigner":{"type":"string"},"sourceToken":{"type":"string"},"value":{"type":"string"},"version":{"type":"number"}},"required":["destinationCaller","destinationContract","destinationDomain","destinationRecipient","destinationToken","hookData","salt","sourceContract","sourceDepositor","sourceDomain","sourceSigner","sourceToken","value","version"]}},"required":["maxBlockHeight","maxFee","spec"]},"burnTxid":{"type":"string","pattern":"^0x[0-9a-fA-F]*$"},"circleResponse":{"type":"object","properties":{"burnTxId":{"type":"string","description":"The transaction hash of the burn on the remote network"},"status":{"anyOf":[{"const":"confirmed","description":"The status of the withdrawal.\n'created': Withdrawal created but burn transaction on the remote network not yet verified.\n'verified': Burn transaction on the remote network verified successfully, attestation available but not yet submitted on chain.\n'confirmed': Attestation submitted on-chain but transaction not yet finalized.\n'finalized': Transaction finalized successfully (terminal state).\n'expired': Attestation expired before being used (terminal state, retryable in most cases).\n'failed': Verification failed, withdrawal cannot proceed (terminal state, non-retryable in most cases)."},{"const":"created","description":"The status of the withdrawal.\n'created': Withdrawal created but burn transaction on the remote network not yet verified.\n'verified': Burn transaction on the remote network verified successfully, attestation available but not yet submitted on chain.\n'confirmed': Attestation submitted on-chain but transaction not yet finalized.\n'finalized': Transaction finalized successfully (terminal state).\n'expired': Attestation expired before being used (terminal state, retryable in most cases).\n'failed': Verification failed, withdrawal cannot proceed (terminal state, non-retryable in most cases)."},{"const":"expired","description":"The status of the withdrawal.\n'created': Withdrawal created but burn transaction on the remote network not yet verified.\n'verified': Burn transaction on the remote network verified successfully, attestation available but not yet submitted on chain.\n'confirmed': Attestation submitted on-chain but transaction not yet finalized.\n'finalized': Transaction finalized successfully (terminal state).\n'expired': Attestation expired before being used (terminal state, retryable in most cases).\n'failed': Verification failed, withdrawal cannot proceed (terminal state, non-retryable in most cases)."},{"const":"failed","description":"The status of the withdrawal.\n'created': Withdrawal created but burn transaction on the remote network not yet verified.\n'verified': Burn transaction on the remote network verified successfully, attestation available but not yet submitted on chain.\n'confirmed': Attestation submitted on-chain but transaction not yet finalized.\n'finalized': Transaction finalized successfully (terminal state).\n'expired': Attestation expired before being used (terminal state, retryable in most cases).\n'failed': Verification failed, withdrawal cannot proceed (terminal state, non-retryable in most cases)."},{"const":"finalized","description":"The status of the withdrawal.\n'created': Withdrawal created but burn transaction on the remote network not yet verified.\n'verified': Burn transaction on the remote network verified successfully, attestation available but not yet submitted on chain.\n'confirmed': Attestation submitted on-chain but transaction not yet finalized.\n'finalized': Transaction finalized successfully (terminal state).\n'expired': Attestation expired before being used (terminal state, retryable in most cases).\n'failed': Verification failed, withdrawal cannot proceed (terminal state, non-retryable in most cases)."},{"const":"verified","description":"The status of the withdrawal.\n'created': Withdrawal created but burn transaction on the remote network not yet verified.\n'verified': Burn transaction on the remote network verified successfully, attestation available but not yet submitted on chain.\n'confirmed': Attestation submitted on-chain but transaction not yet finalized.\n'finalized': Transaction finalized successfully (terminal state).\n'expired': Attestation expired before being used (terminal state, retryable in most cases).\n'failed': Verification failed, withdrawal cannot proceed (terminal state, non-retryable in most cases)."}],"description":"The status of the withdrawal.\n'created': Withdrawal created but burn transaction on the remote network not yet verified.\n'verified': Burn transaction on the remote network verified successfully, attestation available but not yet submitted on chain.\n'confirmed': Attestation submitted on-chain but transaction not yet finalized.\n'finalized': Transaction finalized successfully (terminal state).\n'expired': Attestation expired before being used (terminal state, retryable in most cases).\n'failed': Verification failed, withdrawal cannot proceed (terminal state, non-retryable in most cases)."},"transferSpecHashes":{"type":"array","description":"List of transfer spec hashes for all withdraw intents in the group","items":{"type":"string"}},"useCircleForwarding":{"type":"boolean","description":"Whether Circle should submit the transaction to release funds on the destination"},"withdrawalId":{"type":"string","description":"The unique identifier of the withdrawal group"},"attestation":{"type":"string","description":"The Circle attestation signature"},"attestationPayload":{"type":"string","description":"The full attestation encoding/payload"},"failureReason":{"type":"string","description":"The reason for failure when status is 'failed'. Currently only 'verification_failed' is returned when burn transaction verification fails."},"transactionHash":{"type":"string","description":"The hash of the forwarding transaction"}},"required":["burnTxId","status","transferSpecHashes","useCircleForwarding","withdrawalId"]},"eventIndex":{"type":"number"},"withdrawalId":{"type":"string"}},"required":["burnEventData","burnIntent","burnTxid","circleResponse","eventIndex","withdrawalId"]}},"multipart/form-data":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"burnEventData":{"type":"object","properties":{"amount":{"type":"string"},"nativeDomain":{"type":"string"},"nativeRecipient":{"type":"string"},"sender":{"type":"string"},"topic":{"const":"burn"}},"required":["amount","nativeDomain","nativeRecipient","sender","topic"]},"burnIntent":{"type":"object","properties":{"maxBlockHeight":{"type":"string"},"maxFee":{"type":"string"},"spec":{"type":"object","properties":{"destinationCaller":{"type":"string"},"destinationContract":{"type":"string"},"destinationDomain":{"type":"number"},"destinationRecipient":{"type":"string"},"destinationToken":{"type":"string"},"hookData":{"type":"object","properties":{"forwardingCalldata":{"type":"string"},"forwardingContractAddress":{"type":"string"},"remoteDepositor":{"type":"string"},"remoteDomain":{"type":"number"},"remoteToken":{"type":"string"}},"required":["forwardingCalldata","forwardingContractAddress","remoteDepositor","remoteDomain","remoteToken"]},"salt":{"type":"string"},"sourceContract":{"type":"string"},"sourceDepositor":{"type":"string"},"sourceDomain":{"type":"number"},"sourceSigner":{"type":"string"},"sourceToken":{"type":"string"},"value":{"type":"string"},"version":{"type":"number"}},"required":["destinationCaller","destinationContract","destinationDomain","destinationRecipient","destinationToken","hookData","salt","sourceContract","sourceDepositor","sourceDomain","sourceSigner","sourceToken","value","version"]}},"required":["maxBlockHeight","maxFee","spec"]},"burnTxid":{"type":"string","pattern":"^0x[0-9a-fA-F]*$"},"circleResponse":{"type":"object","properties":{"burnTxId":{"type":"string","description":"The transaction hash of the burn on the remote network"},"status":{"anyOf":[{"const":"confirmed","description":"The status of the withdrawal.\n'created': Withdrawal created but burn transaction on the remote network not yet verified.\n'verified': Burn transaction on the remote network verified successfully, attestation available but not yet submitted on chain.\n'confirmed': Attestation submitted on-chain but transaction not yet finalized.\n'finalized': Transaction finalized successfully (terminal state).\n'expired': Attestation expired before being used (terminal state, retryable in most cases).\n'failed': Verification failed, withdrawal cannot proceed (terminal state, non-retryable in most cases)."},{"const":"created","description":"The status of the withdrawal.\n'created': Withdrawal created but burn transaction on the remote network not yet verified.\n'verified': Burn transaction on the remote network verified successfully, attestation available but not yet submitted on chain.\n'confirmed': Attestation submitted on-chain but transaction not yet finalized.\n'finalized': Transaction finalized successfully (terminal state).\n'expired': Attestation expired before being used (terminal state, retryable in most cases).\n'failed': Verification failed, withdrawal cannot proceed (terminal state, non-retryable in most cases)."},{"const":"expired","description":"The status of the withdrawal.\n'created': Withdrawal created but burn transaction on the remote network not yet verified.\n'verified': Burn transaction on the remote network verified successfully, attestation available but not yet submitted on chain.\n'confirmed': Attestation submitted on-chain but transaction not yet finalized.\n'finalized': Transaction finalized successfully (terminal state).\n'expired': Attestation expired before being used (terminal state, retryable in most cases).\n'failed': Verification failed, withdrawal cannot proceed (terminal state, non-retryable in most cases)."},{"const":"failed","description":"The status of the withdrawal.\n'created': Withdrawal created but burn transaction on the remote network not yet verified.\n'verified': Burn transaction on the remote network verified successfully, attestation available but not yet submitted on chain.\n'confirmed': Attestation submitted on-chain but transaction not yet finalized.\n'finalized': Transaction finalized successfully (terminal state).\n'expired': Attestation expired before being used (terminal state, retryable in most cases).\n'failed': Verification failed, withdrawal cannot proceed (terminal state, non-retryable in most cases)."},{"const":"finalized","description":"The status of the withdrawal.\n'created': Withdrawal created but burn transaction on the remote network not yet verified.\n'verified': Burn transaction on the remote network verified successfully, attestation available but not yet submitted on chain.\n'confirmed': Attestation submitted on-chain but transaction not yet finalized.\n'finalized': Transaction finalized successfully (terminal state).\n'expired': Attestation expired before being used (terminal state, retryable in most cases).\n'failed': Verification failed, withdrawal cannot proceed (terminal state, non-retryable in most cases)."},{"const":"verified","description":"The status of the withdrawal.\n'created': Withdrawal created but burn transaction on the remote network not yet verified.\n'verified': Burn transaction on the remote network verified successfully, attestation available but not yet submitted on chain.\n'confirmed': Attestation submitted on-chain but transaction not yet finalized.\n'finalized': Transaction finalized successfully (terminal state).\n'expired': Attestation expired before being used (terminal state, retryable in most cases).\n'failed': Verification failed, withdrawal cannot proceed (terminal state, non-retryable in most cases)."}],"description":"The status of the withdrawal.\n'created': Withdrawal created but burn transaction on the remote network not yet verified.\n'verified': Burn transaction on the remote network verified successfully, attestation available but not yet submitted on chain.\n'confirmed': Attestation submitted on-chain but transaction not yet finalized.\n'finalized': Transaction finalized successfully (terminal state).\n'expired': Attestation expired before being used (terminal state, retryable in most cases).\n'failed': Verification failed, withdrawal cannot proceed (terminal state, non-retryable in most cases)."},"transferSpecHashes":{"type":"array","description":"List of transfer spec hashes for all withdraw intents in the group","items":{"type":"string"}},"useCircleForwarding":{"type":"boolean","description":"Whether Circle should submit the transaction to release funds on the destination"},"withdrawalId":{"type":"string","description":"The unique identifier of the withdrawal group"},"attestation":{"type":"string","description":"The Circle attestation signature"},"attestationPayload":{"type":"string","description":"The full attestation encoding/payload"},"failureReason":{"type":"string","description":"The reason for failure when status is 'failed'. Currently only 'verification_failed' is returned when burn transaction verification fails."},"transactionHash":{"type":"string","description":"The hash of the forwarding transaction"}},"required":["burnTxId","status","transferSpecHashes","useCircleForwarding","withdrawalId"]},"eventIndex":{"type":"number"},"withdrawalId":{"type":"string"}},"required":["burnEventData","burnIntent","burnTxid","circleResponse","eventIndex","withdrawalId"]}}}},"responses":{"200":{"description":"Response for status 200","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"withdrawalId":{"type":"string","description":"The UUID of the withdrawal"}},"required":["withdrawalId"]}}}},"400":{"description":"Response for status 400","content":{"text/plain":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}}}},"401":{"description":"Response for status 401","content":{"text/plain":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}}}}},"operationId":"postByNetworkStrWithdrawals"}}}}
```

## POST /{networkStr}/withdrawals/test-authentication

>

```json
{"openapi":"3.0.3","info":{"title":"USDCx API","version":"1.0.0"},"tags":[],"servers":[{"url":"https://api.usdc-on-stacks.com","description":"USDCx API Server"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}}},"paths":{"/{networkStr}/withdrawals/test-authentication":{"post":{"tags":["Internal"],"parameters":[{"name":"networkStr","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response for status 200","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]}}}},"400":{"description":"Response for status 400","content":{"text/plain":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}}}},"401":{"description":"Response for status 401","content":{"text/plain":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}}}}},"operationId":"postByNetworkStrWithdrawalsTest-authentication"}}}}
```

## Record a deposit's mint transaction ID

> Called by the attestor after relaying a deposit, so the mint txid can be looked up by message hash.

```json
{"openapi":"3.0.3","info":{"title":"USDCx API","version":"1.0.0"},"tags":[],"servers":[{"url":"https://api.usdc-on-stacks.com","description":"USDCx API Server"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}}},"paths":{"/{networkStr}/deposits/mint-txid":{"post":{"tags":["Internal"],"summary":"Record a deposit's mint transaction ID","description":"Called by the attestor after relaying a deposit, so the mint txid can be looked up by message hash.","parameters":[{"name":"networkStr","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"messageHash":{"type":"string","description":"A 32-byte deposit message hash, 0x-prefixed hex.","pattern":"^0x[a-fA-F0-9]{64}$"},"mintTxid":{"type":"string","description":"The Stacks mint transaction ID, 0x-prefixed hex.","pattern":"^0x[a-fA-F0-9]{64}$"}},"required":["messageHash","mintTxid"]}},"application/x-www-form-urlencoded":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"messageHash":{"type":"string","description":"A 32-byte deposit message hash, 0x-prefixed hex.","pattern":"^0x[a-fA-F0-9]{64}$"},"mintTxid":{"type":"string","description":"The Stacks mint transaction ID, 0x-prefixed hex.","pattern":"^0x[a-fA-F0-9]{64}$"}},"required":["messageHash","mintTxid"]}},"multipart/form-data":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"messageHash":{"type":"string","description":"A 32-byte deposit message hash, 0x-prefixed hex.","pattern":"^0x[a-fA-F0-9]{64}$"},"mintTxid":{"type":"string","description":"The Stacks mint transaction ID, 0x-prefixed hex.","pattern":"^0x[a-fA-F0-9]{64}$"}},"required":["messageHash","mintTxid"]}}}},"responses":{"200":{"description":"Response for status 200","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"messageHash":{"type":"string"}},"required":["messageHash"]}}}},"400":{"description":"Response for status 400","content":{"text/plain":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}}}},"401":{"description":"Response for status 401","content":{"text/plain":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string"}}}}},"operationId":"postByNetworkStrDepositsMint-txid"}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.stacks.co/reference/api/usdcx-bridge/internal.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
