> For the complete documentation index, see [llms.txt](https://docs.skylinebridge.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.skylinebridge.tech/oracle-api/models.md).

# Models

## The BridgingRequestStateResponse object

```json
{"openapi":"3.1.1","info":{"title":"Oracle API","version":"1.0"},"components":{"schemas":{"BridgingRequestStateResponse":{"properties":{"destinationChainId":{"description":"Destination chain ID","type":"string"},"destinationTxHash":{"description":"Destination transaction hash","type":"string"},"sourceChainId":{"description":"Source chain ID","type":"string"},"sourceTxHash":{"description":"Source transaction hash","type":"string"},"status":{"allOf":[{"$ref":"#/components/schemas/BridgingRequestStatus"}],"description":"Status of bridging request"}},"type":"object"},"BridgingRequestStatus":{"enum":["DiscoveredOnSource","InvalidRequest","SubmittedToBridge","IncludedInBatch","SubmittedToDestination","FailedToExecuteOnDestination","ExecutedOnDestination"],"type":"string"}}}}
```

## The BridgingRequestStatus object

```json
{"openapi":"3.1.1","info":{"title":"Oracle API","version":"1.0"},"components":{"schemas":{"BridgingRequestStatus":{"enum":["DiscoveredOnSource","InvalidRequest","SubmittedToBridge","IncludedInBatch","SubmittedToDestination","FailedToExecuteOnDestination","ExecutedOnDestination"],"type":"string"}}}}
```

## The CardanoChainConfigUtxo object

```json
{"openapi":"3.1.1","info":{"title":"Oracle API","version":"1.0"},"components":{"schemas":{"CardanoChainConfigUtxo":{"properties":{"address":{"description":"Output address","type":"string"},"amount":{"description":"Amount of currency","type":"integer"},"id":{"description":"Transaction hash","items":{"type":"integer"},"type":"array"},"index":{"description":"Output index","type":"integer"},"slot":{"description":"Output slot","type":"integer"},"tokens":{"description":"List of tokens including their name, policy ID, and amount","items":{"$ref":"#/components/schemas/wallet.TokenAmount"},"type":"array"}},"type":"object"},"wallet.TokenAmount":{"properties":{"nam":{"description":"Human-readable name of the token","type":"string"},"pid":{"description":"Hexadecimal hash of the monetary policy script","type":"string"},"val":{"description":"Quantity of the token","type":"integer"}},"type":"object"}}}}
```

## The ErrorResponse object

```json
{"openapi":"3.1.1","info":{"title":"Oracle API","version":"1.0"},"components":{"schemas":{"ErrorResponse":{"properties":{"err":{"type":"string"}},"type":"object"}}}}
```

## The HasTxFailedResponse object

```json
{"openapi":"3.1.1","info":{"title":"Oracle API","version":"1.0"},"components":{"schemas":{"HasTxFailedResponse":{"properties":{"failed":{"description":"true if the transaction failed, false otherwise","type":"boolean"}},"type":"object"}}}}
```

## The OracleStateResponse object

```json
{"openapi":"3.1.1","info":{"title":"Oracle API","version":"1.0"},"components":{"schemas":{"OracleStateResponse":{"properties":{"chainID":{"description":"Chain ID","type":"string"},"hash":{"description":"Latest block hash","type":"string"},"slot":{"description":"Latest block slot","type":"integer"},"utxos":{"description":"Unspent transaction outputs","items":{"$ref":"#/components/schemas/CardanoChainConfigUtxo"},"type":"array"}},"type":"object"},"CardanoChainConfigUtxo":{"properties":{"address":{"description":"Output address","type":"string"},"amount":{"description":"Amount of currency","type":"integer"},"id":{"description":"Transaction hash","items":{"type":"integer"},"type":"array"},"index":{"description":"Output index","type":"integer"},"slot":{"description":"Output slot","type":"integer"},"tokens":{"description":"List of tokens including their name, policy ID, and amount","items":{"$ref":"#/components/schemas/wallet.TokenAmount"},"type":"array"}},"type":"object"},"wallet.TokenAmount":{"properties":{"nam":{"description":"Human-readable name of the token","type":"string"},"pid":{"description":"Hexadecimal hash of the monetary policy script","type":"string"},"val":{"description":"Quantity of the token","type":"integer"}},"type":"object"}}}}
```

## The SettingsResponse object

```json
{"openapi":"3.1.1","info":{"title":"Oracle API","version":"1.0"},"components":{"schemas":{"SettingsResponse":{"properties":{"maxAmountAllowedToBridge":{"description":"Maximum amount of currency allowed to be bridged","type":"string"},"maxReceiversPerBridgingRequest":{"description":"Maximum number of receivers allowed in a bridging request","type":"integer"},"maxTokenAmountAllowedToBridge":{"description":"Maximum amount of native tokens allowed to be bridged","type":"string"},"minChainFeeForBridging":{"additionalProperties":{"type":"integer"},"description":"For each chain, the minimum fee required to cover the submission of the transaction on the destination chain","type":"object"},"minOperationFee":{"additionalProperties":{"type":"integer"},"description":"For each chain, the minimum fee required to cover operational costs","type":"object"},"minUtxoChainValue":{"additionalProperties":{"type":"integer"},"description":"For each chain, the minimum allowed UTXO value","type":"object"},"minValueToBridge":{"description":"Minimum value allowed to be bridged","type":"integer"}},"type":"object"}}}}
```
