You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
message NftMetadataUpdateTransactionBody {
/**
* The Token to be updated
*/
TokenID token = 1;
/**
* The metadata key of the Token. If Token is immutable, transaction will resolve to
* TOKEN_IS_IMMUTABlE.
*/
Key metadataKey = 2;
/**
* Represents the unique metadata of the NFT
*/
bytes metadata = 3;
}
Update Existing Transaction:
message TokenCreateTransactionBody {
...
/**
* The key which can change the supply of a token. The key is used to sign Token NFT Metadata Update
* operations
*/
Key metadataKey = 11;
}
message TokenUpdateTransactionBody {
...
/**
* The key which can change the metadata of an NFT. The key is used to sign Token NFT Metadata Update
* operations
*/
Key metadataKey = 11;
}
Solution
Document the API design for each SDK to add this feature.
Java + JavaScript
new NftMetadataUpdateTransaction()
.setTokenId(tokenId)
.setMetadataKey(key)
.setMetadata(bytes)
Problem
HIP-657 introduces new HAPI APis. The new APIs need to be supported in the SDKs.
HIP:https://hips.hedera.com/hip/hip-657
Protobufs
New Transaction:
Update Existing Transaction:
Solution
Document the API design for each SDK to add this feature.
Java + JavaScript
Go
C++
Rust
Swift
Alternatives
No response
SDKs
The text was updated successfully, but these errors were encountered: