Skip to main content

ArweaveDocument

arweaveIdstring

Arweave transaction ID of the uploaded file

Example: AZ5Y5By5oBPFuYrqRdWsB4yWrc4cYZJNyUbFUuxiNut9
arweaveUrlstring<uri>

Permanent URL of the file on Arweave

Example: https://arweave.net/AZ5Y5By5oBPFuYrqRdWsB4yWrc4cYZJNyUbFUuxiNut9
fileNamestring

Original file name

Example: document.pdf
mimeTypestring

MIME type of the uploaded file

Example: application/pdf
fileSizeinteger<int64>

File size in bytes

Example: 67111
fileHashstring

SHA-256 hash of the file prefixed with sha256:

Example: sha256:5f1090db9db9d72a1e066ad9c13159cd1ef5d86cfe4df31ec24376d651b1abec
categorystring

Document category

Possible values: [image, certificate, invoice, metadata]

Example: image
ArweaveDocument
{
"arweaveId": "AZ5Y5By5oBPFuYrqRdWsB4yWrc4cYZJNyUbFUuxiNut9",
"arweaveUrl": "https://arweave.net/AZ5Y5By5oBPFuYrqRdWsB4yWrc4cYZJNyUbFUuxiNut9",
"fileName": "document.pdf",
"mimeType": "application/pdf",
"fileSize": 67111,
"fileHash": "sha256:5f1090db9db9d72a1e066ad9c13159cd1ef5d86cfe4df31ec24376d651b1abec",
"category": "image"
}