Jump to content

XRP API 'Secret' Validation Error


cryptoblock2019

Recommended Posts

I've generated several new accounts and they all start with an 's' and are 29-characters long, so I assume this is the format.  

I'm using a wallet, but the private key for XRP is 66-characters long and does not start with an 's', but I've sent XRP using the wallet so I know it works.  I'm guessing their code must do an internal conversion to get the right 'format'.  

The error I'm getting is: ValidationError: instance.secret does not conform to the "secret" format

Is there a way I can use my mnemonic (word list) to generate the secret for the account?

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

8 hours ago, cryptoblock2019 said:

Is there a way I can use my mnemonic (word list) to generate the secret for the account?

Very unlikely, it sounds like you are generating a raw private key, not an account secret from that mnemonic.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...