Creator Strategies

Returns a list of strategies for a single creator, based on their creating wallet address and the connected wallet permissions.

// Initialize the SDK
const activ = await getActiv();

// Set the creator's wallet address
const creatorWallet = '0x2767441E044aCd9bbC21a759fB0517494875092d';
const page = 1;
const limit = 5;

// Request strategy details
const strategies = await activ.query.listCreatorStrategies(creatorWallet, page, limit);

// Alternative method
const sType = 'accessible';
const strategiesVar = await activ.query.listStrategiesByCreator(creatorWallet, sType, page, limit);

Last updated