Hierarchy

  • PayoutsAPI

Methods

  • Provide All the availaible payouts for the connected Wallet

    Parameters

    • Optional filters: Filters

      provide filtering capabilities on the available payouts returned

    Returns Promise<{
        assets: ({ tokens: { quantity: bigint; assetId: { policyId: Branded<string, PolicyIdBrand>; assetName: string; }; }[]; }) & {
            lovelaces?: bigint;
        };
        contractId: Branded<string, ContractIdBrand>;
        payoutId: PayoutId;
        role: { policyId: Branded<string, PolicyIdBrand>; assetName: string; };
    }[]>

    Throws

    DecodingError

  • Provide All the withdrawn payouts for the connected Wallet

    Parameters

    • Optional filters: Filters

      provide filtering capabilities on the withdrawn payouts returned

    Returns Promise<{
        assets: ({ tokens: { quantity: bigint; assetId: { policyId: Branded<string, PolicyIdBrand>; assetName: string; }; }[]; }) & {
            lovelaces?: bigint;
        };
        contractId: Branded<string, ContractIdBrand>;
        payoutId: PayoutId;
        role: { policyId: Branded<string, PolicyIdBrand>; assetName: string; };
        withdrawalId: WithdrawalId;
    }[]>

    Throws

    DecodingError