Skip to content

/prepare/lsig

GET
/prepare/lsig

Opt escrow into asset so can collect fees for given asset.

Parameters

Query Parameters

network
required
string

Algorand “mainnet” or “testnet”.

senderAddr
required
string

The Algorand address to send the min balance from.

ownerAddr
required
string

The Algorand address which can collect the fees. Use Q5Q5FC5PTYQIUX5PGNTEW22UJHJHVVUEMMWV2LSG6MGT33YQ54ST7FEIGA for Folks Router treasury.

assetId
required
integer

The asset id to opt into.

Responses

200

OK.

Array of object containing unsigned transaction and optional logic signatura account if being signed by escrow. The transactions are grouped together.

Array<object>
object
unsignedTxn

Base64 encoded unsigned transaction for minimum balance payment or asset opt in.

string
lsig

Base64 encoded logic signature account.

string

400

Request validation error.

object
errors

Missing or malformed query params.

object

404

Request cannot be satisfied.

string