Update peerplays types bundle (#11550)

This commit is contained in:
Vladislav 2025-05-13 14:14:06 +03:00 committed by GitHub
parent 04416b1f76
commit fd1702ef5b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -194,7 +194,7 @@ const definitions: OverrideBundleDefinition = {
},
referral: {
activeReferralsCount: {
description: 'Get the count of active referrals for an account',
description: 'Get count of active referrals for an account',
params: [
{
name: 'account',
@ -204,7 +204,7 @@ const definitions: OverrideBundleDefinition = {
type: 'u32'
},
referrer: {
description: 'Get the referrer of an account',
description: 'Get referrer of an account',
params: [
{
name: 'account',
@ -214,7 +214,7 @@ const definitions: OverrideBundleDefinition = {
type: 'Option<AccountId>'
},
activeReferrals: {
description: 'Get the active referrals of an account',
description: 'Get active referrals of an account',
params: [
{
name: 'account',
@ -222,6 +222,21 @@ const definitions: OverrideBundleDefinition = {
}
],
type: 'Option<TreeNode<AccountId>>'
},
blockProducers: {
description: 'Get block producers',
params: [],
type: 'Vec<AccountId>'
},
pendingReferrals: {
description: 'Get pending referrals of an account',
params: [
{
name: 'account',
type: 'AccountId'
}
],
type: 'Vec<AccountId>'
}
}
},