MCPcopy Create free account
hub / github.com/cryptocj520/meteora2 / importWalletByKey

Method importWalletByKey

web/public/js/api.js:381–386  ·  view source on GitHub ↗

* 导入钱包(通过私钥)

(privateKey, password)

Source from the content-addressed store, hash-verified

379 * 导入钱包(通过私钥)
380 */
381 async importWalletByKey(privateKey, password) {
382 return this.request('/wallet/import-by-key', {
383 method: 'POST',
384 body: { privateKey, password }
385 });
386 }
387
388 /**
389 * 获取钱包余额

Callers 2

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected