> 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/web-api/bridgetransaction.md).

# BridgeTransaction

## Get the bridging transaction details

> Returns information about bridging transaction based on the given ID.

```json
{"openapi":"3.0.0","info":{"title":"Web API","version":"1.0"},"paths":{"/bridgeTransaction/{id}":{"get":{"operationId":"BridgeTransactionController_get","summary":"Get the bridging transaction details","description":"Returns information about bridging transaction based on the given ID.","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"OK - Returns bridging transaction.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BridgeTransactionDto"}}}},"404":{"description":"Not Found - Bridging transaction not found."}},"tags":["BridgeTransaction"]}}},"components":{"schemas":{"BridgeTransactionDto":{"type":"object","properties":{"id":{"type":"number","description":"Bridging transaction ID"},"senderAddress":{"type":"string","description":"Address that initiated the bridging transaction on the source chain"},"receiverAddresses":{"type":"string","description":"Recipient addresses on the destination chain"},"amount":{"type":"string","description":"Bridged amount"},"nativeTokenAmount":{"type":"string","description":"Bridged native token amount"},"originChain":{"type":"string","description":"Source chain ID","enum":["cardano","prime"]},"destinationChain":{"type":"string","description":"Destination chain ID","enum":["cardano","prime"]},"sourceTxHash":{"type":"string","description":"Transaction hash on source chain"},"destinationTxHash":{"type":"string","description":"Transaction hash on destination chain","nullable":true},"status":{"type":"string","description":"Status of bridging request","enum":["Pending","DiscoveredOnSource","InvalidRequest","SubmittedToBridge","IncludedInBatch","SubmittedToDestination","FailedToExecuteOnDestination","ExecutedOnDestination"]},"createdAt":{"format":"date-time","type":"string","description":"Transaction creation date"},"finishedAt":{"format":"date-time","type":"string","description":"Transaction finalization date","nullable":true}},"required":["id","senderAddress","receiverAddresses","amount","nativeTokenAmount","originChain","destinationChain","sourceTxHash","status","createdAt"]}}}}
```

## Get multiple bridging transactions with filtering and pagination

> Returns a paginated list of bridging transactions based on specified filters. Results are sorted by transaction creation date in descending order by default.

```json
{"openapi":"3.0.0","info":{"title":"Web API","version":"1.0"},"paths":{"/bridgeTransaction/filter":{"post":{"operationId":"BridgeTransactionController_getAllFiltered","summary":"Get multiple bridging transactions with filtering and pagination","description":"Returns a paginated list of bridging transactions based on specified filters. Results are sorted by transaction creation date in descending order by default.","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BridgeTransactionFilterDto"}}}},"responses":{"200":{"description":"OK - Returns bridging transactions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BridgeTransactionResponseDto"}}}}},"tags":["BridgeTransaction"]}}},"components":{"schemas":{"BridgeTransactionFilterDto":{"type":"object","properties":{"page":{"type":"number","description":"Page number to retrieve","nullable":true},"perPage":{"type":"number","description":"Number of items per page","nullable":true},"senderAddress":{"type":"string","description":"Address that initiated the bridging transaction on the source chain"},"originChain":{"type":"string","description":"Source chain ID","enum":["cardano","prime"]},"destinationChain":{"type":"string","description":"Destination chain ID","nullable":true,"enum":["cardano","prime"]},"amountFrom":{"type":"string","description":"Minimum amount of currency","nullable":true},"amountTo":{"type":"string","description":"Maximum amount of currency","nullable":true},"nativeTokenAmountFrom":{"type":"string","description":"Minimum amount of native token","nullable":true},"nativeTokenAmountTo":{"type":"string","description":"Maximum amount of native token","nullable":true},"orderBy":{"type":"string","description":"Field by which the results should be sorted","nullable":true},"order":{"type":"string","description":"Sort direction","nullable":true},"receiverAddress":{"type":"string","description":"Receiver address on destination chain","nullable":true}},"required":["senderAddress","originChain"]},"BridgeTransactionResponseDto":{"type":"object","properties":{"items":{"description":"Array of bridging transactions","type":"array","items":{"$ref":"#/components/schemas/BridgeTransactionDto"}},"page":{"type":"number","description":"Current page number"},"perPage":{"type":"number","description":"Number of items returned per page"},"total":{"type":"number","description":"Total number of items"}},"required":["items","page","perPage","total"]},"BridgeTransactionDto":{"type":"object","properties":{"id":{"type":"number","description":"Bridging transaction ID"},"senderAddress":{"type":"string","description":"Address that initiated the bridging transaction on the source chain"},"receiverAddresses":{"type":"string","description":"Recipient addresses on the destination chain"},"amount":{"type":"string","description":"Bridged amount"},"nativeTokenAmount":{"type":"string","description":"Bridged native token amount"},"originChain":{"type":"string","description":"Source chain ID","enum":["cardano","prime"]},"destinationChain":{"type":"string","description":"Destination chain ID","enum":["cardano","prime"]},"sourceTxHash":{"type":"string","description":"Transaction hash on source chain"},"destinationTxHash":{"type":"string","description":"Transaction hash on destination chain","nullable":true},"status":{"type":"string","description":"Status of bridging request","enum":["Pending","DiscoveredOnSource","InvalidRequest","SubmittedToBridge","IncludedInBatch","SubmittedToDestination","FailedToExecuteOnDestination","ExecutedOnDestination"]},"createdAt":{"format":"date-time","type":"string","description":"Transaction creation date"},"finishedAt":{"format":"date-time","type":"string","description":"Transaction finalization date","nullable":true}},"required":["id","senderAddress","receiverAddresses","amount","nativeTokenAmount","originChain","destinationChain","sourceTxHash","status","createdAt"]}}}}
```
