Skip to main content
POST
/
markets
/
strategy
/
close
/
{strategy}
Close strategy
curl --request POST \
  --url https://tars.loopscale.com/v1/markets/strategy/close/{strategy} \
  --header 'payer: <payer>'
{
  "message": "<string>",
  "signatures": [
    {
      "publicKey": "<string>",
      "signature": "<string>"
    }
  ]
}

Headers

payer
string
required

Wallet that pays transaction fees for the close transaction.

Path Parameters

strategy
string
required

Onchain address of the strategy to close.

Response

Serialized transaction for closing the strategy.

message
string
required

Base64-encoded versioned transaction message.

signatures
object[]
required