Skip to main content
Gets the Layer 1 Bitcoin address derived from the wallet’s identity key for token operations.

Method Signature

async getTokenL1Address(): Promise<string>

Returns

address
string
required
A P2WPKH Bitcoin address derived from the wallet’s identity public key

Example

const l1Address = await wallet.getTokenL1Address();
console.log("Token L1 address:", l1Address);