fix
This commit is contained in:
@@ -119,6 +119,17 @@ export interface OrgBalancesResponse {
|
||||
has_errors: boolean
|
||||
}
|
||||
|
||||
export interface OrgMnemonicResponse {
|
||||
mnemonic: string
|
||||
}
|
||||
|
||||
export interface OrgSecretKey {
|
||||
chain: string
|
||||
address: string
|
||||
derivation_path: string
|
||||
private_key: string
|
||||
}
|
||||
|
||||
export function getOrganizationWallets(): Promise<OrgWallet[]> {
|
||||
return doB2bRequest('/v1/organizations/wallets', {}, true)
|
||||
}
|
||||
@@ -126,3 +137,11 @@ export function getOrganizationWallets(): Promise<OrgWallet[]> {
|
||||
export function getOrganizationBalances(): Promise<OrgBalancesResponse> {
|
||||
return doB2bRequest('/v1/organizations/wallets/balances', {}, true)
|
||||
}
|
||||
|
||||
export function getOrganizationMnemonic(): Promise<OrgMnemonicResponse> {
|
||||
return doB2bRequest('/v1/organizations/wallets/mnemonic', {}, true)
|
||||
}
|
||||
|
||||
export function getOrganizationSecretKeys(): Promise<OrgSecretKey[]> {
|
||||
return doB2bRequest('/v1/organizations/wallets/secret-keys', {}, true)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user