Skip to main content

Registers a proposal for the Headless Wallet to listen to and interact with the Atomic Swap Service

POST 

https://localhost:8000/wallet/atomic-swap/tx-proposal/register/:proposalId

Registers a proposal for the Headless Wallet to listen to and interact with the Atomic Swap Service

Request

Path Parameters

    proposalId stringrequired

    Proposal identifier on the Atomic Swap Service

Header Parameters

    x-wallet-id stringrequired

    Defines the key of the wallet on which the request will be executed.

Body

required

Request the registration of a proposal id with the service.

    password stringrequired

    Proposal password on the Atomic Swap Service.

Responses

Successful proposal registration.

Schema

    any

curl -L 'https://localhost:8000/wallet/atomic-swap/tx-proposal/register/:proposalId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"password": "string"
}'
Request Collapse all
Base URL
https://localhost:8000
Parameters
— pathrequired
— headerrequired
Body required
{
  "password": "string"
}
ResponseClear

Click the Send API Request button above and see the response here!