Usage
Return the user's list of addresses for all chains.
note
Currently, Marble only supports ethereum.
import { Marble } from "marble-sdk";
const marble = new Marble();
const response = await marble.api.getAddressList();
Return value
{
totalCount: number,
results: {
id: string,
keySharePairId: string,
address: string,
chain: 'ethereum' | 'cosmos' | 'solana' | 'bitcoin',
}[],
} | null
Configuration
filterByChainList (optional)
Filters the addresses by the chain.
import { Marble } from "marble-sdk";
const marble = new Marble();
const response = await marble.api.getAddressList({
filterByChainList: ["ethereum", "bitcoin"],
});