Prepare Source Transaction
This endpoint return all the neccessary information to execute source transaction.
GET
https://api.layerswap.io/api/swaps/{id}/prepare_src_transaction
Prepare swap deposit for execution
Path Parameters
Name | Type | Description |
---|---|---|
id* | String | The Swap response data.id received in the create swap endpoint |
Query Parameters
Name | Type | Description |
---|---|---|
from_address | String | Address from which the transaction is going to be executed |
Headers
Name | Type | Description |
---|---|---|
X-LS-APIKEY* | API Key retrieved from Partner Setup |
Raw Request
Raw Response
Note that you should execute this transaction manually. You should compose it based on the response and send to your wallet for execution. (Ex. User's Metamask, wallet managed by Fireblocks)
Last updated