NEAR Sub-Account
In NEAR, users can register named accounts (e.g. bob.near) which are simpler to use and remember.
Create a Near Sub-Account for NFT smart contract
Last updated
Was this helpful?
In NEAR, users can register named accounts (e.g. bob.near) which are simpler to use and remember.
Last updated
Was this helpful?
Was this helpful?
curl -X POST "http://0.0.0.0:7000/v2/nftkit/nft/near/chain/testnet/account/create"
-H "Content-Type: application/json"
-d "{"account_id": "waltid.testnet","newAccountId": "nft.waltid.testnet","amount": "4"}"val accountId = "test.near"
val newAccountId = "test-sub.near"
val amount = "4"
val chain = "testnet"
val result = NearNftService.createSubAccount(accountId, newAccountId , amount , chain )
println("operation result: $result")