diff --git a/bindings/nodejs/lib/types/models/api/mana-rewards-response.ts b/bindings/nodejs/lib/types/models/api/mana-rewards-response.ts index 62d2d4b9d9..0a5f93d196 100644 --- a/bindings/nodejs/lib/types/models/api/mana-rewards-response.ts +++ b/bindings/nodejs/lib/types/models/api/mana-rewards-response.ts @@ -5,7 +5,7 @@ import { EpochIndex } from '../../block/slot'; import { u64 } from '../../utils'; /** - * Returns the mana rewards of an account or delegation output. + * The mana rewards of an account or delegation output. */ export class ManaRewardsResponse { /** diff --git a/bindings/nodejs/lib/types/models/api/utxo-changes-response.ts b/bindings/nodejs/lib/types/models/api/utxo-changes-response.ts index afc1d156dc..6db602b7d8 100644 --- a/bindings/nodejs/lib/types/models/api/utxo-changes-response.ts +++ b/bindings/nodejs/lib/types/models/api/utxo-changes-response.ts @@ -7,7 +7,7 @@ import { Output, OutputDiscriminator } from '../../block/output'; import { Type } from 'class-transformer'; /** - * Returns all UTXO changes that happened at a specific slot. + * All UTXO changes that happened at a specific slot. */ export class UtxoChangesResponse { /** @@ -42,7 +42,7 @@ export class OutputWithId { } /** - * Returns all full UTXO changes that happened at a specific slot. + * All full UTXO changes that happened at a specific slot. */ export class UtxoChangesFullResponse { /** diff --git a/bindings/nodejs/lib/types/models/api/validators-response.ts b/bindings/nodejs/lib/types/models/api/validators-response.ts index 8d9115549b..ccb518fc9d 100644 --- a/bindings/nodejs/lib/types/models/api/validators-response.ts +++ b/bindings/nodejs/lib/types/models/api/validators-response.ts @@ -49,7 +49,7 @@ export interface ValidatorResponse { */ export interface ValidatorsResponse { /** - * ist of registered validators ready for the next epoch. + * List of registered validators ready for the next epoch. */ validators: ValidatorResponse[]; /** diff --git a/sdk/src/types/api/core.rs b/sdk/src/types/api/core.rs index bd2cb8ea6b..0b193ddc35 100644 --- a/sdk/src/types/api/core.rs +++ b/sdk/src/types/api/core.rs @@ -25,7 +25,7 @@ use crate::{ }; /// Response of GET /api/core/v3/info. -/// Returns general information about the node. +/// General information about the node. #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(rename_all = "camelCase")] pub struct InfoResponse { @@ -216,7 +216,7 @@ pub struct ValidatorsResponse { } /// Response of GET /api/core/v3/rewards/{outputId}. -/// Returns the mana rewards of an account or delegation output. +/// The mana rewards of an account or delegation output. #[derive(Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] #[serde(rename_all = "camelCase")] pub struct ManaRewardsResponse { @@ -254,7 +254,7 @@ pub struct CommitteeResponse { pub epoch: EpochIndex, } -/// Returns information of a committee member. +/// Information of a committee member. #[derive(Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] #[serde(rename_all = "camelCase")] pub struct CommitteeMember { @@ -413,7 +413,7 @@ pub struct TransactionMetadataResponse { } /// Response of GET /api/core/v3/blocks/{blockId}/metadata. -/// Returns the metadata of a block. +/// The metadata of a block. #[derive(Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] #[serde(rename_all = "camelCase")] pub struct BlockMetadataResponse { @@ -426,7 +426,7 @@ pub struct BlockMetadataResponse { } /// Response of GET /api/core/v3/blocks/{blockId}/full. -/// Returns a block and its metadata. +/// A block and its metadata. #[derive(Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] pub struct BlockWithMetadataResponse { pub block: BlockDto, @@ -434,7 +434,7 @@ pub struct BlockWithMetadataResponse { } /// Response of GET /api/core/v3/outputs/{output_id}. -/// Returns an output and its metadata. +/// An output and its metadata. #[derive(Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] #[serde(rename_all = "camelCase")] pub struct OutputWithMetadataResponse { @@ -458,7 +458,7 @@ impl From for OutputWithMetadataResponse { } /// Response of GET /api/routes. -/// Returns the available API route groups of the node. +/// The available API route groups of the node. #[derive(Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] #[serde(rename_all = "camelCase")] pub struct RoutesResponse { @@ -468,7 +468,7 @@ pub struct RoutesResponse { /// Response of /// - GET /api/core/v3/commitments/{commitmentId}/utxo-changes /// - GET /api/core/v3/commitments/by-slot/{slot}/utxo-changes -/// Returns all UTXO changes that happened at a specific slot. +/// All UTXO changes that happened at a specific slot. #[derive(Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] #[serde(rename_all = "camelCase")] pub struct UtxoChangesResponse { @@ -480,7 +480,7 @@ pub struct UtxoChangesResponse { /// Response of /// - GET /api/core/v3/commitments/{commitmentId}/utxo-changes/full /// - GET /api/core/v3/commitments/by-slot/{slot}/utxo-changes/full -/// Returns all full UTXO changes that happened at a specific slot. +/// All full UTXO changes that happened at a specific slot. #[derive(Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] #[serde(rename_all = "camelCase")] pub struct UtxoChangesFullResponse {