Function: removeFile()
4 min
xandeum web3 library v1 12 0 docid\ wxgxpnpidcz6 2b6gh786 xandeum web3 library docid\ l2rwyc57gjg6s93mcecr9 / removefile removefile ( fsid , path , wallet ) promise < transaction > defined in removefile ts 17 https //github com/xandeum/xandeum web3 js/blob/master/src/removefile ts#l17 constructs a solana transaction to remove a file from a file system, identified by a file system id ( fsid ) and a utf 8 encoded file path parameters fsid string a stringified integer representing the file system id in which the file resides path string the full path to the file to be deleted wallet publickey the public key of the wallet that signs and authorizes the transaction returns promise < transaction > a promise that resolves to a solana transaction object containing the remove file instruction throws may throw an error if path is invalid per sanitizepath