WithdrawalDetails: TypeC<{
    block: OptionFromNullableC<TypeC<{
        blockHeaderHash: StringC;
        blockNo: Type<bigint, bigint, unknown>;
        slotNo: Type<bigint, bigint, unknown>;
    }>>;
    payouts: ArrayC<TypeC<{
        contractId: BrandP<string, ContractIdBrand, unknown>;
        payoutId: Type<PayoutId, string, unknown>;
        role: TypeC<{
            assetName: StringC;
            policyId: BrandP<string, PolicyIdBrand, unknown>;
        }>;
        status: UnionC<[LiteralC<"available">, LiteralC<"withdrawn">]>;
        withdrawalId: OptionFromNullableC<Type<WithdrawalId, string, unknown>>;
    }>>;
    status: UnionC<[LiteralC<"unsigned">, LiteralC<"submitted">, LiteralC<"confirmed">]>;
    withdrawalId: Type<WithdrawalId, string, unknown>;
}>

Type declaration

  • block: OptionFromNullableC<TypeC<{
        blockHeaderHash: StringC;
        blockNo: Type<bigint, bigint, unknown>;
        slotNo: Type<bigint, bigint, unknown>;
    }>>
  • payouts: ArrayC<TypeC<{
        contractId: BrandP<string, ContractIdBrand, unknown>;
        payoutId: Type<PayoutId, string, unknown>;
        role: TypeC<{
            assetName: StringC;
            policyId: BrandP<string, PolicyIdBrand, unknown>;
        }>;
        status: UnionC<[LiteralC<"available">, LiteralC<"withdrawn">]>;
        withdrawalId: OptionFromNullableC<Type<WithdrawalId, string, unknown>>;
    }>>
  • status: UnionC<[LiteralC<"unsigned">, LiteralC<"submitted">, LiteralC<"confirmed">]>
  • withdrawalId: Type<WithdrawalId, string, unknown>