Consortium#

class defichain.ocean.Consortium(ocean)#
getAssetBreakdown()#

Gets the asset breakdown information of consortium members

Returns:

Json String

{
    tokenId: string
    id: string
    name: string
    backingAddresses: string[]
    minted: string
    burned: string
}

Example:

>>> ocean.consortium.getAssetBreakdown()
getMemberStats(memberId: str)#

Gets the stats information of a specific consortium member

Parameters:

memberId (str) – (required) member id of the consortium member

Returns:

Json String

{
    memberId: string
    memberName: string
    mintTokens:
    [
        {
        tokenSymbol: string
        tokenDisplaySymbol: string
        tokenId: string
        member:
            {
                minted: string
                mintedDaily: string
                mintLimit: string
                mintDailyLimit: string
            }
        token:
            {
                minted: string
                mintedDaily: string
                mintLimit: string
                mintDailyLimit: string
            }
        }
    ]
}

Example:

>>> ocean.consortium.getMemberStats("memberId")