查询道具拥有者
<h3>应用场景</h3>
<p>> 查询道具拥有者的链账户地址</p>
<hr />
<h3>接口定义</h3>
<h4>接口URL</h4>
<p>请求方法:<code>GET</code></p>
<p>URI: <code>/chain/query/getOwner/{nftId}</code></p>
<hr />
<h3>请求参数</h3>
<table>
<thead>
<tr>
<th>参数</th>
<th>是否必填</th>
<th>类型</th>
<th>说明</th>
<th>示例值</th>
</tr>
</thead>
<tbody>
<tr>
<td>nftId</td>
<td>是</td>
<td>String</td>
<td>道具的唯一标识,保证已被铸造,为"123"数字字符串 或者 "0x"开头的16进制字符串)</td>
<td>"123", "0x1A"</td>
</tr>
</tbody>
</table>
<h3>请求参数示例</h3>
<pre><code class="language-text">http://localhost:8888/chain/query/getOwner/123</code></pre>
<hr />
<h3>响应参数</h3>
<table>
<thead>
<tr>
<th>参数</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>响应码</td>
</tr>
<tr>
<td>message</td>
<td>成功</td>
</tr>
<tr>
<td>data</td>
<td></td>
</tr>
<tr>
<td>&ensp;&ensp;owner</td>
<td>NFT拥有者的链账户地址</td>
</tr>
</tbody>
</table>
<h3>响应参数示例</h3>
<pre><code class="language-json">{
&quot;code&quot;: &quot;EC000000&quot;,
&quot;message&quot;: &quot;成功&quot;,
&quot;data&quot;: {
&quot;owner&quot;: &quot;0x21dbb10c42c5caed715edf976396e1cdf7973a63&quot;
}
}</code></pre>