# Non-custodial Wallet interoperability

**URL:** <https://community.fireblocks.com/t/non-custodial-wallet-interoperability/340>\
**Category:** Developer Discussion\
**Created:** [September 10, 2023, 5:03am UTC](https://community.fireblocks.com/t/non-custodial-wallet-interoperability/340 "2023-09-10T05:03:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbreite](https://avatars.discourse-cdn.com/v4/letter/j/ed655f/32.png) [@jbreite](https://community.fireblocks.com/u/jbreite)\
**Post date:** [September 10, 2023, 5:03am UTC](https://community.fireblocks.com/t/non-custodial-wallet-interoperability/340/1 "2023-09-10T05:03:08Z")

</div>

Hey Fireblocks team,

Playing around with the non custodial wallet SDK and have two questions:

1. Will you be able to provide a code snippet to get the address of the wallet account generated? (front end, and backend if needed [routes etc.])
2. Will you be able to provide a code snippet to sign a typed data transaction? (EIP712) I want to be able to pass in the domain, types, and data and receive back a signed string. Exactly like the `_signTypedData` method in ethers.

 ![image (45)](https://us1.discourse-cdn.com/flex015/uploads/fireblocks/original/1X/1710dd2ae926bb3abd7c99ccda3d82d6046fe414.png)

Looking forward to hearing back.

---

<div class="post-metadata">

**Author:** ![SlavaSereb](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@SlavaSereb](https://community.fireblocks.com/u/SlavaSereb)\
**Post date:** [September 10, 2023, 12:04pm UTC](https://community.fireblocks.com/t/non-custodial-wallet-interoperability/340/2 "2023-09-10T12:04:36Z")

</div>

Hey @jbreite!

1. For getting the wallet address you can use the example listed here:  
[Retrieve asset addresses](https://ncw-developers.fireblocks.com/reference/getaddresses)

```auto
const addresses = await fireblocks.NCW.getWalletAssetAddresses("walletId", "accountId", "assetId")

```

1. For typed data signing, you can use our typed message API:  
[Typed Message Signing](https://developers.fireblocks.com/docs/typed-message-signing)  
You can use the example listed in the docs with a small change in the source param:

```auto
const { status, id } = await fireblocks.createTransaction({
        operation: TransactionOperation.TYPED_MESSAGE,
        assetId: "ETH",
        source: { 
            type: PeerType.END_USER_WALLET,
            id: <end_user_wallet_id>
        },
        amount: "0",
        note: "Test EIP-712 Message",
        extraParameters: {
            rawMessageData: {
                messages: [exampleSignRequest],
            },
        },
    });

```

And you can get the wallet ID by calling:

> **[List wallets](https://ncw-developers.fireblocks.com/reference/findallwallets)**
>
> Get all Non Custodial Wallets

```auto
const wallets = await fireblocks.NCW.getWallets({})

```
