Class DelegationTransactionsFactory
Constructors
Methods
createTransactionForAddingNodes
- createTransactionForAddingNodes(
options: {
delegationContract: IAddress;
publicKeys: IValidatorPublicKey[];
sender: IAddress;
signedMessages: Uint8Array<ArrayBufferLike>[];
},
): Transaction Parameters
- options: {
delegationContract: IAddress;
publicKeys: IValidatorPublicKey[];
sender: IAddress;
signedMessages: Uint8Array<ArrayBufferLike>[];
}
createTransactionForChangingServiceFee
- createTransactionForChangingServiceFee(
options: {
delegationContract: IAddress;
sender: IAddress;
serviceFee: bigint;
},
): Transaction
createTransactionForModifyingDelegationCap
- createTransactionForModifyingDelegationCap(
options: {
delegationCap: bigint;
delegationContract: IAddress;
sender: IAddress;
},
): Transaction Parameters
- options: { delegationCap: bigint; delegationContract: IAddress; sender: IAddress }
createTransactionForNewDelegationContract
- createTransactionForNewDelegationContract(
options: {
amount: bigint;
sender: IAddress;
serviceFee: bigint;
totalDelegationCap: bigint;
},
): Transaction Parameters
- options: {
amount: bigint;
sender: IAddress;
serviceFee: bigint;
totalDelegationCap: bigint;
}
createTransactionForRemovingNodes
- createTransactionForRemovingNodes(
options: {
delegationContract: IAddress;
publicKeys: IValidatorPublicKey[];
sender: IAddress;
},
): Transaction Parameters
- options: {
delegationContract: IAddress;
publicKeys: IValidatorPublicKey[];
sender: IAddress;
}
createTransactionForSettingAutomaticActivation
createTransactionForSettingCapCheckOnRedelegateRewards
createTransactionForSettingMetadata
- createTransactionForSettingMetadata(
options: {
delegationContract: IAddress;
identifier: string;
name: string;
sender: IAddress;
website: string;
},
): Transaction Parameters
- options: {
delegationContract: IAddress;
identifier: string;
name: string;
sender: IAddress;
website: string;
}
createTransactionForStakingNodes
- createTransactionForStakingNodes(
options: {
delegationContract: IAddress;
publicKeys: IValidatorPublicKey[];
sender: IAddress;
},
): Transaction Parameters
- options: {
delegationContract: IAddress;
publicKeys: IValidatorPublicKey[];
sender: IAddress;
}
createTransactionForUnbondingNodes
- createTransactionForUnbondingNodes(
options: {
delegationContract: IAddress;
publicKeys: IValidatorPublicKey[];
sender: IAddress;
},
): Transaction Parameters
- options: {
delegationContract: IAddress;
publicKeys: IValidatorPublicKey[];
sender: IAddress;
}
createTransactionForUnjailingNodes
- createTransactionForUnjailingNodes(
options: {
amount: bigint;
delegationContract: IAddress;
publicKeys: IValidatorPublicKey[];
sender: IAddress;
},
): Transaction Parameters
- options: {
amount: bigint;
delegationContract: IAddress;
publicKeys: IValidatorPublicKey[];
sender: IAddress;
}
createTransactionForUnsettingAutomaticActivation
createTransactionForUnsettingCapCheckOnRedelegateRewards
createTransactionForUnstakingNodes
- createTransactionForUnstakingNodes(
options: {
delegationContract: IAddress;
publicKeys: IValidatorPublicKey[];
sender: IAddress;
},
): Transaction Parameters
- options: {
delegationContract: IAddress;
publicKeys: IValidatorPublicKey[];
sender: IAddress;
}
Use this class to create delegation related transactions like creating a new delegation contract or adding nodes.