payout: TxDescriptor<{
    index: number;
}>

Claim a spend.

Must be signed

Spends must be claimed within some temporal bounds. A spend may be claimed within one [Config::PayoutPeriod] from the valid_from block. In case of a payout failure, the spend status must be updated with the check_status dispatchable before retrying with the current function.

  • index: The spend index.

Emits [Event::Paid] if successful.

Type declaration

  • index: number

    Index of the referendum.