mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 19:55:54 +00:00
Merge pull request #2484 from XRPLF/update_nft_uri
Update nft_info URI field (en, ja)
This commit is contained in:
@@ -127,17 +127,17 @@ labels:
|
||||
レスポンスは[標準フォーマット][] に従い、成功すると以下のフィールドをいくつか並べた`nft_info`レスポンスオブジェクトが返されます。
|
||||
|
||||
| `Field` | 型 | 説明 |
|
||||
|:----------------------------------|:-------------------|:---------------------|
|
||||
| `nft_id` | 文字列 | 非代替性トークン(NFT)の一意の識別子。 |
|
||||
| `ledger_index` | 整数 | NFT がミント(作成)された、所有者が変わった(取引された)、バーンされた(破棄された)など、このNFTの状態が変更された最新のレジャーバージョンの[レジャーインデックス][]。返される情報には、リクエストされたレジャーと比較して直近に起こったことが含まれます。 |
|
||||
| `owner` | 文字列 | このレジャーインデックスにおけるこのNFTの所有者のアカウントID。 |
|
||||
| `is_burned` | 真偽値 | NFTがこのレジャーでバーンされていれば`true`を、そうでなければ`false`を返します。 |
|
||||
| `flags ` | 整数 | このNFTのフラグ |
|
||||
| `transfer_fee` | 整数 | このNFTの送金手数料。送金手数料の詳細については、[NFTokenMintのフィールド](../../../protocol/transactions/types/nftokenmint.md#nftokenmint-フィールド)をご覧ください。 |
|
||||
| `issuer` | 文字列 | このNFTの発行者を示すアカウントID。|
|
||||
| `nft_taxon` | 整数 | このNFTのTaxon。 |
|
||||
| `nft_sequence` | 整数 | このNFTのシーケンス番号. |
|
||||
| `uri` | 文字列 または `null` | _(NFTがこのレジャーでバーンされている場合は省略)_ NFTがこのレジャーでバーンされておらず、URIを持っていない場合、このフィールドは`null`です。NFTがこのレジャーでバーンされておらず、URIを持っている場合、このフィールドはNFTのデコードされたURIを含む文字列です。注意: バーンされたトークンのURIを取得する必要がある場合、トークンの`nft_info`をリクエストし直してください。その際、`ledger_index`にはトークンがバーンされたインデックスの一つ前({_トークンがバーンされたレジャーインデックス_} - 1)を指定してください。 |
|
||||
|:----------------------------------|:------|:---------------------|
|
||||
| `nft_id` | 文字列 | 非代替性トークン(NFT)の一意の識別子。 |
|
||||
| `ledger_index` | 整数 | NFT がミント(作成)された、所有者が変わった(取引された)、バーンされた(破棄された)など、このNFTの状態が変更された最新のレジャーバージョンの[レジャーインデックス][]。返される情報には、リクエストされたレジャーと比較して直近に起こったことが含まれます。 |
|
||||
| `owner` | 文字列 | このレジャーインデックスにおけるこのNFTの所有者のアカウントID。 |
|
||||
| `is_burned` | 真偽値 | NFTがこのレジャーでバーンされていれば`true`を、そうでなければ`false`を返します。 |
|
||||
| `flags ` | 整数 | このNFTのフラグ |
|
||||
| `transfer_fee` | 整数 | このNFTの送金手数料。送金手数料の詳細については、[NFTokenMintのフィールド](../../../protocol/transactions/types/nftokenmint.md#nftokenmint-フィールド)をご覧ください。 |
|
||||
| `issuer` | 文字列 | このNFTの発行者を示すアカウントID。|
|
||||
| `nft_taxon` | 整数 | このNFTのTaxon。 |
|
||||
| `nft_sequence` | 整数 | このNFTのシーケンス番号. |
|
||||
| `uri` | 文字列 | このNFTのURI。NFTがURIを持っていない場合、空の文字列を返します。 {% badge href="https://github.com/XRPLF/clio/releases/tag/2.0.0" %}更新: Clio v2.0.0{% /badge %} |
|
||||
|
||||
|
||||
## 考えられるエラー
|
||||
|
||||
@@ -100,7 +100,9 @@ export function Badge(props: {
|
||||
"廃止": "red", // ja: obsolete
|
||||
"撤回": "red", // ja: withdrawn/removed/vetoed
|
||||
"new in": "blue",
|
||||
"新規": "blue", // ja: new in"
|
||||
"新規": "blue", // ja: new in
|
||||
"updated in": "blue",
|
||||
"更新": "blue", // ja: updated in
|
||||
"in development": "lightgrey",
|
||||
"開発中": "lightgrey", // ja: in development
|
||||
}
|
||||
|
||||
@@ -137,7 +137,7 @@ The response follows the [standard format][], with a successful result containin
|
||||
| `issuer` | String | The account ID which denotes the issuer of this NFT. |
|
||||
| `nft_taxon` | Integer | The NFT’s taxon. |
|
||||
| `nft_serial` | Integer | The NFT’s sequence number. |
|
||||
| `uri` | String | _(Omitted if the NFT is burned at this ledger.)_. This field is an empty string if the NFT is not burned at this ledger but does not have a URI. If the NFT is not burned at this ledger and it does have a URI, this field is a string containing the URI of the NFT. NOTE: If you need to retrieve the URI of a burnt token, re-request `nft_info` for this token, specifying the `ledger_index` as the one previous to the index where this token was burned ({_ledger-index-where-token-was-burned_} - 1). |
|
||||
| `uri` | String | The NFT's URI, or an empty string if the NFT does not have a URI. {% badge href="https://github.com/XRPLF/clio/releases/tag/2.0.0" %}Updated in: Clio v2.0.0{% /badge %} |
|
||||
|
||||
|
||||
## Possible Errors
|
||||
|
||||
Reference in New Issue
Block a user