How to get destination address from wallet Id and account Id

So doing a transaction call like this

{
    "amount": "0.2",
    "assetId": "ETH_TEST5",
    "destination": {
        "id": "0",
        "walletId": "4c76f328-b6e1-4d79-9db6-1d46bfb188b8",
        "type": "END_USER_WALLET"
    },
    "externalTxId": "645416b0-ff7a-4555-bdbb-ade2802a5829",
    "note": "Giving User Some Eth",
    "operation": "TRANSFER",
    "source": {
        "id": "1",
        "type": "VAULT_ACCOUNT"
    }
}

How do i get the destination address from walletId and account id , cause i need to do another function call but it requires a ONE_TIME_ADDRESS i.e the destination address

image

So i need this DestinationAddress from the user’s generated ncw WalletId and AccountId cause i need to do custom contract calls for which i am passing the contractCallData to execute different functions and to generate the parameters for those ufnctino calls i need the users address which i currently dont have cause only have wallet id and account id

So i need a way to get that ONE_TIME_ADDRESS from user’s walletId and accountId

Also using alchemy rpc to get the owners owned nft , that also require the users wallet address

Hey @SlavaSereb @Mohammed can you plz look into this

You have the following API endpoint to get the address of an asset within account and wallet: