iOS 提示钱包未导入 这个是什么情况,需要怎么解决,from的地址就是tp钱包里面的地址
const transactionData = {
visible: false,
txID: “0ff31369f276cd2a1f2d0f45274256cccee5095a0f4dc90a3b12af4d5fdded8b”,
raw_data: {
contract: [{
parameter: {
value: {
data: “a9059cbb000000000000000000000000593a115d4e04249a7e4c02a2150b596081b37f9f00000000000000000000000000000000000000000000000000000000000186a0”,
owner_address: “41f90a4115ca0859c0db8415d73b3a22626506cbbe”,
contract_address: “41a614f803b6fd780986a42c78ec9c7f77e6ded13c”
},
type_url: “com/protocol.TriggerSmartContract”
},
type: “TriggerSmartContract”
}],
ref_block_bytes: “865d”,
ref_block_hash: “97a350e4aa8501ef”,
expiration: 1695098259000,
fee_limit: 100000000,
timestamp: 1695098200128
},
raw_data_hex: “0a02865d220897a350e4aa8501ef40b88cebddaa315aae01081f12a9010a31747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e54726967676572536d617274436f6e747261637412740a1541f90a4115ca0859c0db8415d73b3a22626506cbbe121541a614f803b6fd780986a42c78ec9c7f77e6ded13c2244a9059cbb000000000000000000000000593a115d4e04249a7e4c02a2150b596081b37f9f00000000000000000000000000000000000000000000000000000000000186a070c0c0e7ddaa31900180c2d72f”
};
const encodedTransactionData = JSON.stringify(transactionData);
console.log("encodedTransactionData = ",encodedTransactionData);
const param = {
callbackUrl: “taaInitData”,
txData: encodedTransactionData,
action: “pushTransaction”,
actionId: “web-db4c5466-1a03-438c-90c9-2172e8becea5”,
// blockchain: “tron”,
blockchains: [{
chainId: “728126428”,
network: “tron”
}],
dappIcon: “icon.png”,
contract:“TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t”,
from: ‘TJk1QkHMWmfYK1jgwFfTzxMcTgXkKk7avF’,
to: ‘TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t’,
dappName: “zs”,
protocol: “TokenPocket”,
version: “2.0”
};
const encodedParam = encodeURIComponent(JSON.stringify(param));
console.log("encodedParam = " + encodedParam);
const deeplinkUrl = tpoutside:\/\/pull.activity?param=${encodedParam}
window.location.href = deeplinkUrl;