Skip to content

Commit a99eb82

Browse files
committed
feat(staking): add kycHash to StakeOptions for XDC masternode
Add optional kycHash field to StakeOptions interface to support XDC masternode staking. The field carries the IPFS CID of the KYC document uploaded via the staking-service KYC upload endpoint before staking. stakingWallet.stake() spreads all StakeOptions fields into the POST body automatically, so no further changes are needed. Ticket: SC-6159
1 parent f47b962 commit a99eb82

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

modules/sdk-core/src/bitgo/staking/iStakingWallet.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,11 @@ export interface StakeOptions {
162162
* region for eth staking
163163
*/
164164
region?: string;
165+
166+
/**
167+
* XDC masternode KYC document hash — IPFS CIDv0 (Qm...) or CIDv1 (bafy...)
168+
*/
169+
kycHash?: string;
165170
}
166171

167172
export interface TronStakeOptions extends StakeOptions {

0 commit comments

Comments
 (0)