method Tx.prototype.delegateToimport { Tx } from "https://deno.land/x/lucid@0.10.10/src/lucid/tx.ts"; delegateTo(rewardAddress: RewardAddress,poolId: PoolId,redeemer?: Redeemer,): TxDelegate to a stake pool. ParametersrewardAddress: RewardAddresspoolId: PoolIdoptionalredeemer: RedeemerReturnsTx