Asset Limits
How to configure an asset total BTC amount limiter:
const headers = { Authorization: MY_COMPANY_API_KEY };
const data = {
type: "max-amount-per-asset"
limitItems: [{ value: { amount: 1000000 } }]
};
const { data: escrow } = await axios.post(
`${DEEP_LAKE_REST_API_URL}/limits`,
data,
{ headers}
);Last updated